![]() |
VR-Forces 5.0.1 Developer's Guide
|
DtOsgEarthPropertyItemKey Key of the osgEarth property item, represented by the type and index. Type is the config string used in the earth file, like "image" for ImageLayerOptions. Index is the index of the same type child under the parent. For example, "composite" image layer driver may contains multipe image layers, the index is the sequence as they appear in the earth file.
Public Member Functions | |
| DtOsgEarthPropertyItemKey () | |
| DtOsgEarthPropertyItemKey (const char *type, const char *ParentType) | |
| DtOsgEarthPropertyItemKey (const char *type, int index, const char *parentType, int parentIndex) | |
| DtOsgEarthPropertyItemKey (const std::string &type, const std::string &parentType) | |
| DtOsgEarthPropertyItemKey (const std::string &type, int index) | |
| DtOsgEarthPropertyItemKey (const std::string &type, int index, const std::string &parentType, int parentIndex) | |
| void | setParentType (const std::string &type) |
| void | setParentIndex (int index) |
| void | setType (const std::string &type) |
| void | setIndex (int index) |
| void | invalid () |
| std::string | parentType () const |
| int | parentIndex () const |
| std::string | type () const |
| int | index () const |
| bool | operator< (const DtOsgEarthPropertyItemKey &) const |
| bool | operator== (const DtOsgEarthPropertyItemKey &) const |
Protected Attributes | |
| std::string | myType |
| int | myIndex |
| std::string | myParentType |
| int | myParentIndex |
| makVrv::DtOsgEarthPropertyItemKey::DtOsgEarthPropertyItemKey | ( | ) |
The default constructor. The key will be invalid.
| makVrv::DtOsgEarthPropertyItemKey::DtOsgEarthPropertyItemKey | ( | const char * | type, |
| const char * | ParentType | ||
| ) |
Constructor.
| type | The config string used in th earth fie. |
| ParentType | The type of the parent item. The index will be set to 0 for the item and its parent. |
| makVrv::DtOsgEarthPropertyItemKey::DtOsgEarthPropertyItemKey | ( | const char * | type, |
| int | index, | ||
| const char * | parentType, | ||
| int | parentIndex | ||
| ) |
Constructor.
| type | The config string used in th earth fie. |
| index | The index of the same type child under its parent. |
| parentType | The type of the parent item. |
| parentIndex | The index of the parent. |
| makVrv::DtOsgEarthPropertyItemKey::DtOsgEarthPropertyItemKey | ( | const std::string & | type, |
| const std::string & | parentType | ||
| ) |
Constructor.
| type | The config string used in th earth fie. |
| ParentType | The type of the parent item. The index will be set to 0 for the item and its parent. |
| makVrv::DtOsgEarthPropertyItemKey::DtOsgEarthPropertyItemKey | ( | const std::string & | type, |
| int | index | ||
| ) |
Constructor.
| type | The config string used in th earth fie. |
| index | The index of the same type child under its parent. |
| makVrv::DtOsgEarthPropertyItemKey::DtOsgEarthPropertyItemKey | ( | const std::string & | type, |
| int | index, | ||
| const std::string & | parentType, | ||
| int | parentIndex | ||
| ) |
Constructor.
| type | The config string used in th earth fie. |
| index | The index of the same type child under the parent. |
| parentType | The type of the parent item. |
| parentIndex | The index of the parent. |
| void makVrv::DtOsgEarthPropertyItemKey::setParentType | ( | const std::string & | type | ) |
Sets the type of the parent.
| void makVrv::DtOsgEarthPropertyItemKey::setParentIndex | ( | int | index | ) |
Sets the index of the parent.
| index | The index of the same type child under its parent. |
| void makVrv::DtOsgEarthPropertyItemKey::setType | ( | const std::string & | type | ) |
Sets the type of the item.
| type | The config string used in th earth fie. |
| void makVrv::DtOsgEarthPropertyItemKey::setIndex | ( | int | index | ) |
Sets the index of the item.
| index | The index of the same type child under the parent. |
| void makVrv::DtOsgEarthPropertyItemKey::invalid | ( | ) |
Invalid the key, sets the type to null string and index to 0.
| std::string makVrv::DtOsgEarthPropertyItemKey::parentType | ( | ) | const |
Gest the type of the parent.
| int makVrv::DtOsgEarthPropertyItemKey::parentIndex | ( | ) | const |
Gest the index of the parent.
| std::string makVrv::DtOsgEarthPropertyItemKey::type | ( | ) | const |
Gest the type.
| int makVrv::DtOsgEarthPropertyItemKey::index | ( | ) | const |
Gest the index.
| bool makVrv::DtOsgEarthPropertyItemKey::operator< | ( | const DtOsgEarthPropertyItemKey & | ) | const |
less operator override.
| bool makVrv::DtOsgEarthPropertyItemKey::operator== | ( | const DtOsgEarthPropertyItemKey & | ) | const |
eaqul operator override.
|
protected |
|
protected |
|
protected |
|
protected |