Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCodec ¶
Types ¶
type List ¶
type List interface {
// TODO add search and apply methods
Get() []traits.Listable
// Size
// * returns the number of elements in the list
Size() int
// Search
// * returns true and index of element if element is found
// * return false and index of insertion if element is not found
Search(traits.Listable) (index int, found bool) // TODO prevent compare panic
Add(...traits.Listable) List // TODO prevent compare panic
Remove(...traits.Listable) List // TODO prevent compare panic
Mutate(...traits.Listable) List // TODO prevent compare panic
}
List * all elements are sorted * all methods are search and insertion complexity optimized
type PropertyList ¶
type PropertyList interface {
GetProperty(ids.PropertyID) properties.Property
GetList() []properties.Property
GetPropertyIDList() IDList
Add(...properties.Property) PropertyList
Remove(...properties.Property) PropertyList
Mutate(...properties.Property) PropertyList
ScrubData() PropertyList
}
type SignatureList ¶
type SignatureList interface {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.