VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
DtEntityTypeRange Class Reference

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 DtEntityTypeRangeAllEntityTypes ()
 
- Static Public Member Functions inherited from DtEntityType
static const DtEntityTypedefaultType ()
 return an instance of -1:-1:-1:-1:-1:-1:-1 More...
 
static const DtEntityTypenullType ()
 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...
 

Detailed Description

Specifies a range of entity types, where each individual field can match a a range of values or a single value.

Constructor & Destructor Documentation

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 DtEntityTypeRange::~DtEntityTypeRange ( )
virtual

Destructor.

Member Function Documentation

static const DtEntityTypeRange& DtEntityTypeRange::AllEntityTypes ( )
static
int DtEntityTypeRange::isInRange ( int  val,
int  lwr,
int  upr 
) const
protected
int DtEntityTypeRange::lowerCategory ( ) const
inline
int DtEntityTypeRange::lowerCountry ( ) const
inline
int DtEntityTypeRange::lowerDomain ( ) const
inline
int DtEntityTypeRange::lowerExtra ( ) const
inline
int DtEntityTypeRange::lowerKind ( ) const
inline
int DtEntityTypeRange::lowerSpecific ( ) const
inline
int DtEntityTypeRange::lowerSubCategory ( ) const
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
void DtEntityTypeRange::setLowerCategory ( int  val)
inline
void DtEntityTypeRange::setLowerCountry ( int  val)
inline
void DtEntityTypeRange::setLowerDomain ( int  val)
inline
void DtEntityTypeRange::setLowerExtra ( int  val)
inline
void DtEntityTypeRange::setLowerKind ( int  val)
inline
void DtEntityTypeRange::setLowerSpecific ( int  val)
inline
void DtEntityTypeRange::setLowerSubCategory ( int  val)
inline
void DtEntityTypeRange::setUpperCategory ( int  val)
inline
void DtEntityTypeRange::setUpperCountry ( int  val)
inline
void DtEntityTypeRange::setUpperDomain ( int  val)
inline
void DtEntityTypeRange::setUpperExtra ( int  val)
inline
void DtEntityTypeRange::setUpperKind ( int  val)
inline
void DtEntityTypeRange::setUpperSpecific ( int  val)
inline
void DtEntityTypeRange::setUpperSubCategory ( int  val)
inline
const char* DtEntityTypeRange::string ( ) const

returns a string representation of this instance in the form 1:2:3:4:5:6:7

int DtEntityTypeRange::upperCategory ( ) const
inline
int DtEntityTypeRange::upperCountry ( ) const
inline
int DtEntityTypeRange::upperDomain ( ) const
inline
int DtEntityTypeRange::upperExtra ( ) const
inline
int DtEntityTypeRange::upperKind ( ) const
inline
int DtEntityTypeRange::upperSpecific ( ) const
inline
int DtEntityTypeRange::upperSubCategory ( ) const
inline

Member Data Documentation

int DtEntityTypeRange::myUpperCategory
protected
int DtEntityTypeRange::myUpperCountry
protected
int DtEntityTypeRange::myUpperDomain
protected
int DtEntityTypeRange::myUpperExtra
protected
int DtEntityTypeRange::myUpperKind
protected
int DtEntityTypeRange::myUpperSpecific
protected
int DtEntityTypeRange::myUpperSubCategory
protected
const DtEntityTypeRange DtEntityTypeRange::theAllEntityTypesRange
staticprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)