![]() |
VR-Forces 4.6 Class Documentation
|
A record for describing a scene. More...
Public Member Functions | |
| DtSceneRecord () | |
| CTOR. | |
| DtSceneRecord (const DtSceneRecord &) | |
| CCTOR. | |
| DtSceneRecord & | operator= (const DtSceneRecord &) |
| Assignment Op. | |
| virtual | ~DtSceneRecord () |
| DTOR. | |
| const DtTerrainRecord & | terrainRecord () const |
| Attempt to get the embedded terrain record. | |
| const std::string & | terrainFilename () const |
| Get the terrain filename (this will be "" if the scene record is not version 2 or higher). | |
| void | setTerrainFilename (const std::string &filename) |
| Sets the embedded terrain record. | |
| const DtEnvironmentRecord & | environmentRecord () const |
| Attempt to get the embedded terrain record. | |
| void | setEnvironmentRecord (const DtEnvironmentRecord &record) |
| Sets the embedded terrain record. | |
| const DtDateTimeRecord & | dateTimeRecord () const |
| Attempt to get the embedded date and time record. | |
| void | setDateTimeRecord (const DtDateTimeRecord &record) |
| Sets the embedded date and time record. | |
| virtual void | setDescription (const std::string &description) |
| Set the scene description. | |
| virtual const std::string & | description () const |
| Get the scene description. | |
Protected Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
| When the class Archive corresponds to an output archive, the & operator is defined similar to <<. | |
Protected Attributes | |
| DtTerrainRecord | myEmbeddedTerrainRecord |
| DtEnvironmentRecord | myEmbeddedEnvironmentRecord |
| DtDateTimeRecord | myEmbeddedDateTimeRecord |
| std::string | myTerrainFilename |
| std::string | myDescription |
Friends | |
| class | boost::serialization::access |
A record for describing a scene.
| makArchives::DtSceneRecord::DtSceneRecord | ( | ) |
CTOR.
| makArchives::DtSceneRecord::DtSceneRecord | ( | const DtSceneRecord & | ) |
CCTOR.
|
virtual |
DTOR.
| DtSceneRecord& makArchives::DtSceneRecord::operator= | ( | const DtSceneRecord & | ) |
Assignment Op.
| const DtTerrainRecord& makArchives::DtSceneRecord::terrainRecord | ( | ) | const |
Attempt to get the embedded terrain record.
Will be empty for version 2 and higher
| const std::string& makArchives::DtSceneRecord::terrainFilename | ( | ) | const |
Get the terrain filename (this will be "" if the scene record is not version 2 or higher).
In that case, use terrainRecord()
| void makArchives::DtSceneRecord::setTerrainFilename | ( | const std::string & | filename | ) |
Sets the embedded terrain record.
| const DtEnvironmentRecord& makArchives::DtSceneRecord::environmentRecord | ( | ) | const |
Attempt to get the embedded terrain record.
| void makArchives::DtSceneRecord::setEnvironmentRecord | ( | const DtEnvironmentRecord & | record | ) |
Sets the embedded terrain record.
| const DtDateTimeRecord& makArchives::DtSceneRecord::dateTimeRecord | ( | ) | const |
Attempt to get the embedded date and time record.
| void makArchives::DtSceneRecord::setDateTimeRecord | ( | const DtDateTimeRecord & | record | ) |
Sets the embedded date and time record.
|
virtual |
Set the scene description.
|
virtual |
Get the scene description.
|
inlineprotected |
When the class Archive corresponds to an output archive, the & operator is defined similar to <<.
Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.
|
friend |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |