![]() |
VR-Forces 5.0.2 Developer's Guide
|
Key of the terrain content item, represented by the TerrainContentItemType and id(Different meaning depends on the context of different content item type) or TerrainContentItemType and unique name(When there is no meaningful id associated with the item).
Public Member Functions | |
| DtTerrainContentItemKey () | |
| DtTerrainContentItemKey (int type, int id, const DtTerrainContentItemKey &parentKey) | |
| DtTerrainContentItemKey (int type, const std::string &name, const DtTerrainContentItemKey &parentKey) | |
| DtTerrainContentItemKey (int type, const std::string &name, int parentType, int parentId) | |
| DtTerrainContentItemKey (int type, int id, int parentType, int parentId) | |
| void | invalid () |
| void | setType (int type) |
| void | setId (int id) |
| void | setParentType (int type) |
| void | setParentId (int id) |
| void | setParentKey (const DtTerrainContentItemKey &parentKey) |
The unique name of the key. | |
| int | myType |
| int | myId |
| int | myParentType |
| int | myParentId |
| bool | myUseName |
| std::string | myName |
| void | setName (const std::string &name) |
| const int | type () const |
| const int | id () const |
| const int | parentType () const |
| const int | parentId () const |
| std::string | name () const |
| const bool | useName () const |
| bool | operator< (const DtTerrainContentItemKey &) const |
| bool | operator== (const DtTerrainContentItemKey &) const |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | ) |
Default CTOR.
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| int | id, | ||
| const DtTerrainContentItemKey & | parentKey | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| id | The id of the terrain content item key. |
| parentKey | The key of the parent item. |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| const std::string & | name, | ||
| const DtTerrainContentItemKey & | parentKey | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| name | The unique name of the terrain content item key. |
| parentKey | The key of the parent item. |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| const std::string & | name, | ||
| int | parentType, | ||
| int | parentId | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| name | The unique name of the terrain content item key. |
| parentType | The type of the parent item. |
| parentId | The id of the parent item. |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| int | id, | ||
| int | parentType, | ||
| int | parentId | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| id | The id of the terrain content item key. |
| parentType | The type of the parent item. |
| parentId | The id of the parent item. |
| void makVrv::DtTerrainContentItemKey::invalid | ( | ) |
Invalid the key.
| void makVrv::DtTerrainContentItemKey::setType | ( | int | type | ) |
Sets the type of the key.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| void makVrv::DtTerrainContentItemKey::setId | ( | int | id | ) |
Sets the id of the key.
| id | The unique index of the key, different meaning depends on the context of different content item type. |
| void makVrv::DtTerrainContentItemKey::setParentType | ( | int | type | ) |
Sets the type of the parent key.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| void makVrv::DtTerrainContentItemKey::setParentId | ( | int | id | ) |
Sets the id of the parent key.
| id | The unique index of the key, different meaning depends on the context of different content item type. |
| void makVrv::DtTerrainContentItemKey::setParentKey | ( | const DtTerrainContentItemKey & | parentKey | ) |
Sets the key of the parent.
| parentKey | The key of the parent. |
| void makVrv::DtTerrainContentItemKey::setName | ( | const std::string & | name | ) |
Gets the type of the key.
| const int makVrv::DtTerrainContentItemKey::type | ( | ) | const |
Gets the type of the key.
| const int makVrv::DtTerrainContentItemKey::id | ( | ) | const |
Gets the id of the key.
| const int makVrv::DtTerrainContentItemKey::parentType | ( | ) | const |
Gets the type of the parent key.
| const int makVrv::DtTerrainContentItemKey::parentId | ( | ) | const |
Gets the id of the parent key.
| std::string makVrv::DtTerrainContentItemKey::name | ( | ) | const |
Gets the type of the key.
| const bool makVrv::DtTerrainContentItemKey::useName | ( | ) | const |
Whether this key uses name as comparison instead of id.
| bool makVrv::DtTerrainContentItemKey::operator< | ( | const DtTerrainContentItemKey & | ) | const |
The less operator override.
| bool makVrv::DtTerrainContentItemKey::operator== | ( | const DtTerrainContentItemKey & | ) | const |
The eaqul operator override.
|
protected |
Gets the type of the key.
|
protected |
Gets the type of the key.
|
protected |
Gets the type of the key.
|
protected |
Gets the type of the key.
|
protected |
Gets the type of the key.
|
protected |
Gets the type of the key.