VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makArchives::DtModelDefinitionRecord Class Reference

A DtModelDefinitionRecord will serialize a terrain patch model definition. More...

Public Member Functions

 DtModelDefinitionRecord ()
 CTOR.
 DtModelDefinitionRecord (const DtModelDefinitionRecord &orig)
 Copy CTOR.
DtModelDefinitionRecordoperator= (const DtModelDefinitionRecord &orig)
 Assignment OP.
 ~DtModelDefinitionRecord ()
 DTOR.
const std::string & name () const
 Return the name of this model definition.
const std::string & schema () const
 Return the schema of this model definition.
const std::string & filename () const
 Return the filename of this model definition.
const std::string & coordinateSystem () const
 The coordinate system type of this model definition.
const std::string & coordinateSystemParameters () const
 The coordinate system parameters.
bool flipDds () const
 Whether or not DDS textures are flipped for this terrain.
void setName (const std::string &name)
 Set the name.
void setSchema (const std::string &schema)
 Set the schema.
void setFilename (const std::string &name)
 Set the filename.
void setCoordinateSystem (const std::string &cs)
 Set the current coordinate system.
void setCoordinateSystemParameters (const std::string &csp)
 Set the current coordinate system parameters.
void setFlipDds (bool flip_dds)
 Set whether or not DDS textures are flipped for this terrain.

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

std::string myName
std::string myFilename
std::string mySchema
std::string myCoordinateSystem
std::string myCoordinateSystemParameters
bool myFlipDds

Friends

class boost::serialization::access

Detailed Description

A DtModelDefinitionRecord will serialize a terrain patch model definition.

Constructor & Destructor Documentation

makArchives::DtModelDefinitionRecord::DtModelDefinitionRecord ( )

CTOR.

makArchives::DtModelDefinitionRecord::DtModelDefinitionRecord ( const DtModelDefinitionRecord orig)

Copy CTOR.

makArchives::DtModelDefinitionRecord::~DtModelDefinitionRecord ( )

DTOR.

Member Function Documentation

DtModelDefinitionRecord& makArchives::DtModelDefinitionRecord::operator= ( const DtModelDefinitionRecord orig)

Assignment OP.

const std::string& makArchives::DtModelDefinitionRecord::name ( ) const

Return the name of this model definition.

const std::string& makArchives::DtModelDefinitionRecord::schema ( ) const

Return the schema of this model definition.

const std::string& makArchives::DtModelDefinitionRecord::filename ( ) const

Return the filename of this model definition.

const std::string& makArchives::DtModelDefinitionRecord::coordinateSystem ( ) const

The coordinate system type of this model definition.

const std::string& makArchives::DtModelDefinitionRecord::coordinateSystemParameters ( ) const

The coordinate system parameters.

bool makArchives::DtModelDefinitionRecord::flipDds ( ) const

Whether or not DDS textures are flipped for this terrain.

void makArchives::DtModelDefinitionRecord::setName ( const std::string &  name)

Set the name.

void makArchives::DtModelDefinitionRecord::setSchema ( const std::string &  schema)

Set the schema.

void makArchives::DtModelDefinitionRecord::setFilename ( const std::string &  name)

Set the filename.

void makArchives::DtModelDefinitionRecord::setCoordinateSystem ( const std::string &  cs)

Set the current coordinate system.

void makArchives::DtModelDefinitionRecord::setCoordinateSystemParameters ( const std::string &  csp)

Set the current coordinate system parameters.

The format of the parameters varies for each coordinate system type

void makArchives::DtModelDefinitionRecord::setFlipDds ( bool  flip_dds)

Set whether or not DDS textures are flipped for this terrain.

template<class Archive >
void makArchives::DtModelDefinitionRecord::serialize ( Archive &  ar,
const unsigned int  version 
)
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 >>.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

std::string makArchives::DtModelDefinitionRecord::myName
protected
std::string makArchives::DtModelDefinitionRecord::myFilename
protected
std::string makArchives::DtModelDefinitionRecord::mySchema
protected
std::string makArchives::DtModelDefinitionRecord::myCoordinateSystem
protected
std::string makArchives::DtModelDefinitionRecord::myCoordinateSystemParameters
protected
bool makArchives::DtModelDefinitionRecord::myFlipDds
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)