![]() |
MAK Legion API Documentation
|
The Object type contains a 7-digit tuple representing the type of a simulation entity Recommend following the SISO Enumerations for Simulation Interoperability document. More...
Collaboration diagram for Legion::ObjectType:Public Member Functions | |
| ObjectType () | |
| constructors More... | |
| ObjectType (Int8 *values) | |
| ObjectType (Int8 knd, Int8 dom, Int16 ctr, Int8 cat, Int8 sub, Int8 spec, Int8 ext) | |
| bool | operator== (const ObjectType &rhs) const |
| equality More... | |
| bool | operator!= (const ObjectType &rhs) const |
| not-equals More... | |
| bool | matches (const ObjectType &rhs) const |
| Determines if two object types match, includes checking for wild card values (-1) More... | |
| bool | operator< (const ObjectType &type) const |
| Returns true if the entity type is smaller. More... | |
Public Attributes | |
| union { | |
| struct { | |
| Int8 kind | |
| Int8 domain | |
| Int16 country | |
| Int8 category | |
| Int8 subcategory | |
| Int8 specific | |
| Int8 extra | |
| } | |
| UInt64 val | |
| }; | |
The Object type contains a 7-digit tuple representing the type of a simulation entity Recommend following the SISO Enumerations for Simulation Interoperability document.
| Legion::ObjectType::ObjectType | ( | ) |
constructors
| Legion::ObjectType::ObjectType | ( | Int8 * | values | ) |
| Legion::ObjectType::ObjectType | ( | Int8 | knd, |
| Int8 | dom, | ||
| Int16 | ctr, | ||
| Int8 | cat, | ||
| Int8 | sub, | ||
| Int8 | spec, | ||
| Int8 | ext | ||
| ) |
|
inline |
|
inline |
not-equals
References val.
| bool Legion::ObjectType::operator< | ( | const ObjectType & | type | ) | const |
Returns true if the entity type is smaller.
If there are wildcards present then true is returned if the entity is smaller and less specific.
|
inline |
equality
References val.
| union { ... } |
| UInt64 Legion::ObjectType::val |
Referenced by operator!=(), and operator==().