![]() |
VR-Link API Documentation for HLA 1.3
|
Specifies a range of entity types, where each individual field can match a a range of values or a single value. More...
Inheritance diagram for DtEntityTypeRange:
Collaboration diagram for DtEntityTypeRange:Public Member Functions | |
| DtEntityTypeRange (const char *p) | |
| constructs an instance from a string in the form: "2:3:4:5:6:7:8" More... | |
| DtEntityTypeRange (int kind, int domain, int country, int category, int subCategory, int specific, int extra) | |
| constructs an instance from the specified values More... | |
| DtEntityTypeRange () | |
| constructs a default instance -1:-1:-1:-1:-1:-1:-1 More... | |
| DtEntityTypeRange (const DtEntityTypeRange &orig) | |
| Copy constructor. More... | |
| virtual | ~DtEntityTypeRange () |
| Destructor. More... | |
| const char * | string () const |
| returns a string representation of this instance in the form 1:2:3:4:5:6:7 More... | |
| int | lowerKind () const |
| int | lowerDomain () const |
| int | lowerCountry () const |
| int | lowerCategory () const |
| int | lowerSubCategory () const |
| int | lowerSpecific () const |
| int | lowerExtra () const |
| void | setLowerKind (int val) |
| void | setLowerDomain (int val) |
| void | setLowerCountry (int val) |
| void | setLowerCategory (int val) |
| void | setLowerSubCategory (int val) |
| void | setLowerSpecific (int val) |
| void | setLowerExtra (int val) |
| int | upperKind () const |
| int | upperDomain () const |
| int | upperCountry () const |
| int | upperCategory () const |
| int | upperSubCategory () const |
| int | upperSpecific () const |
| int | upperExtra () const |
| void | setUpperKind (int val) |
| void | setUpperDomain (int val) |
| void | setUpperCountry (int val) |
| void | setUpperCategory (int val) |
| void | setUpperSubCategory (int val) |
| void | setUpperSpecific (int val) |
| void | setUpperExtra (int val) |
| bool | matchPattern (const DtEntityType &pat) const |
| int | operator== (const DtEntityTypeRange &type) const |
| int | operator!= (const DtEntityTypeRange &type) const |
| bool | operator< (const DtEntityTypeRange &type) const |
| Returns true if the entity type is smaller. More... | |
Public Member Functions inherited from DtEntityType | |
| DtEntityType (const char *p) | |
| constructs an instance from a string in the form: "2:3:4:5:6:7:8" More... | |
| DtEntityType (int kind, int domain, int country, int category, int subCategory, int specific, int extra) | |
| constructs an instance from the specified values More... | |
| DtEntityType () | |
| constructs a default instance 0:0:0:0:0:0:0 More... | |
| DtEntityType (DtNetEntityType netType) | |
| constructs an instance from a network layout specified by IEEE 1278 More... | |
| DtEntityType (const DtEntityType &orig) | |
| Copy constructor. More... | |
| virtual | ~DtEntityType () |
| Destructor. More... | |
| void | setFromNet (const DtNetEntityType &netType) |
| Sets the instance equal to the value in netType prefer the DtNetEntityType constructor to this function. More... | |
| operator DtNetEntityType () const | |
| returns a network structure of this instance More... | |
| const char * | string () const |
| returns a string representation of this instance in the form 1:2:3:4:5:6:7 More... | |
| int | kind () const |
| int | domain () const |
| int | country () const |
| int | category () const |
| int | subCategory () const |
| int | specific () const |
| int | extra () const |
| void | setKind (int val) |
| void | setDomain (int val) |
| void | setCountry (int val) |
| void | setCategory (int val) |
| void | setSubCategory (int val) |
| void | setSpecific (int val) |
| void | setExtra (int val) |
| bool | matchPattern (const DtEntityType &pat) const |
| bool | DtTypeMatchPattern (const DtEntityType &pat) const |
| int | match (const DtEntityType &type) const |
| int | operator== (const DtEntityType &type) const |
| int | operator!= (const DtEntityType &type) const |
| bool | operator< (const DtEntityType &type) const |
| Returns true if the entity type is smaller. More... | |
Static Public Member Functions | |
| static const DtEntityTypeRange & | AllEntityTypes () |
Static Public Member Functions inherited from DtEntityType | |
| static const DtEntityType & | defaultType () |
| return an instance of -1:-1:-1:-1:-1:-1:-1 More... | |
| static const DtEntityType & | nullType () |
| returns an instance of 0:0:0:0:0:0:0 More... | |
Protected Member Functions | |
| int | isInRange (int val, int lwr, int upr) const |
Protected Attributes | |
| int | myUpperKind |
| int | myUpperDomain |
| int | myUpperCountry |
| int | myUpperCategory |
| int | myUpperSubCategory |
| int | myUpperSpecific |
| int | myUpperExtra |
Protected Attributes inherited from DtEntityType | |
| std::string | myMutableStringRep |
| This member is: 1) mutable because it is changed in const methods and used as a char buffer 2) protected because legacy subclasses use it 3) it SHOULD be private because it is not considered part of the API and should not be used by any subclass. More... | |
Static Protected Attributes | |
| static const DtEntityTypeRange | theAllEntityTypesRange |
Additional Inherited Members | |
Public Attributes inherited from DtEntityType | |
| int | DtEntityKind |
| Public for historical reasons, will be made protected in future versions. More... | |
| int | DtDomain |
| Public for historical reasons, will be made protected in future versions. More... | |
| int | DtCountry |
| Public for historical reasons, will be made protected in future versions. More... | |
| int | DtCategory |
| Public for historical reasons, will be made protected in future versions. More... | |
| int | DtSubCategory |
| Public for historical reasons, will be made protected in future versions. More... | |
| int | DtSpecific |
| Public for historical reasons, will be made protected in future versions. More... | |
| int | DtExtra |
| Public for historical reasons, will be made protected in future versions. More... | |
Specifies a range of entity types, where each individual field can match a a range of values or a single value.
| DtEntityTypeRange::DtEntityTypeRange | ( | const char * | p | ) |
constructs an instance from a string in the form: "2:3:4:5:6:7:8"
| DtEntityTypeRange::DtEntityTypeRange | ( | int | kind, |
| int | domain, | ||
| int | country, | ||
| int | category, | ||
| int | subCategory, | ||
| int | specific, | ||
| int | extra | ||
| ) |
constructs an instance from the specified values
| DtEntityTypeRange::DtEntityTypeRange | ( | ) |
constructs a default instance -1:-1:-1:-1:-1:-1:-1
| DtEntityTypeRange::DtEntityTypeRange | ( | const DtEntityTypeRange & | orig | ) |
Copy constructor.
|
virtual |
Destructor.
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool DtEntityTypeRange::matchPattern | ( | const DtEntityType & | pat | ) | const |
| int DtEntityTypeRange::operator!= | ( | const DtEntityTypeRange & | type | ) | const |
| bool DtEntityTypeRange::operator< | ( | const DtEntityTypeRange & | 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.
| int DtEntityTypeRange::operator== | ( | const DtEntityTypeRange & | type | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| const char* DtEntityTypeRange::string | ( | ) | const |
returns a string representation of this instance in the form 1:2:3:4:5:6:7
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |