![]() |
VR-Link API Documentation for DIS
|
A representation of a single attached part, which contains an entity type. More...
Collaboration diagram for DtAttachedPart:Public Member Functions | |
| DtAttachedPart () | |
| Constructor. | |
| virtual | ~DtAttachedPart () |
| Destructor. | |
| DtAttachedPart (const DtAttachedPart &orig) | |
| Copy constructor. | |
| DtAttachedPart & | operator= (const DtAttachedPart &orig) |
| Assignment operator. | |
| bool | operator== (const DtAttachedPart &other) const |
| Equality/inequality operators. | |
| bool | operator!= (const DtAttachedPart &other) const |
| Equality/inequality operators. | |
| virtual const DtEntityType & | entityType () const |
| Get/Set the entity type. | |
| virtual void | setEntityType (const DtEntityType &entType) |
| Get/Set the entity type. | |
Protected Attributes | |
| DtEntityType | myEntityType |
A representation of a single attached part, which contains an entity type.
The station number of the attached part is held in the DtAttachedPartCollection to which each DtAttachedPart belongs. The creation/destruction of a DtAttachedPart should be done through the DtAttachedPartColleciton.
Constructor.
Creates a new attached part with a null entity type.
| virtual DtAttachedPart::~DtAttachedPart | ( | ) | [virtual] |
Destructor.
| DtAttachedPart::DtAttachedPart | ( | const DtAttachedPart & | orig | ) |
Copy constructor.
| virtual const DtEntityType& DtAttachedPart::entityType | ( | ) | const [virtual] |
Get/Set the entity type.
| bool DtAttachedPart::operator!= | ( | const DtAttachedPart & | other | ) | const |
Equality/inequality operators.
A DtAttachedPart is considered equal to another if the entity type is the same. The station number is not taken into consideration in this class, as that information is stored in the DtAttachedPartCollection. These operators are meant to be primarily used by DtAttachedPartCollection's equality/inequality operators.
| DtAttachedPart& DtAttachedPart::operator= | ( | const DtAttachedPart & | orig | ) |
Assignment operator.
| bool DtAttachedPart::operator== | ( | const DtAttachedPart & | other | ) | const |
Equality/inequality operators.
A DtAttachedPart is considered equal to another if the entity type is the same. The station number is not taken into consideration in this class, as that information is stored in the DtAttachedPartCollection. These operators are meant to be primarily used by DtAttachedPartCollection's equality/inequality operators.
| virtual void DtAttachedPart::setEntityType | ( | const DtEntityType & | entType | ) | [virtual] |
Get/Set the entity type.
DtEntityType DtAttachedPart::myEntityType [protected] |