carryingobjecttype_vector_int

package
v0.0.0-...-d7572e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTML_tableheader = `<tr>
		<th>Name</th>
		<th>Value</th>
		</tr>`
	HTML_row = `<tr>
		<td>{{CarryingObjectTypeIndex $i}}</td>
		<td>{{$v}}</td>
		</tr>
		`
)

Variables

View Source
var IndexFn = template.FuncMap{
	"CarryingObjectTypeIndex": Index,
}

Functions

func Index

func Index(i int) string

Types

type CarryingObjectTypeVector_int

type CarryingObjectTypeVector_int [carryingobjecttype.CarryingObjectType_Count]int

func (*CarryingObjectTypeVector_int) Add

func (*CarryingObjectTypeVector_int) Dec

func (CarryingObjectTypeVector_int) Get

func (*CarryingObjectTypeVector_int) Inc

func (CarryingObjectTypeVector_int) Iter

Iter return true if iter stop, return false if iter all fn return true to stop iter

func (*CarryingObjectTypeVector_int) SetIfGt

func (CarryingObjectTypeVector_int) String

func (*CarryingObjectTypeVector_int) ToWeb

func (CarryingObjectTypeVector_int) VectorAdd

VectorAdd add element to element

func (CarryingObjectTypeVector_int) VectorSub

VectorSub sub element to element

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL