VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtExtentMetafileRecord Class Reference
Inheritance diagram for DtExtentMetafileRecord:
Inheritance graph
[legend]

Public Member Functions

 DtExtentMetafileRecord ()
virtual ~DtExtentMetafileRecord ()
 DtExtentMetafileRecord (const DtExtentMetafileRecord &orig)
DtExtentMetafileRecordoperator= (const DtExtentMetafileRecord &orig)
virtual DtConfigCategoryType recordCategory () const
 Each record should have a category of configuration they represent.
virtual bool get (std::istream &stream)
 Read self from stream.
virtual bool processToken (std::istream &stream, DtString &token)
 identifies a token or passes token the parent class.
virtual DtString recordTypeName () const
 Returns the type name for the particular record.
- Public Member Functions inherited from DtMetafileRecord
 DtMetafileRecord ()
 default constructor.
virtual ~DtMetafileRecord ()
 destructor
 DtMetafileRecord (const DtMetafileRecord &orig)
 copy constructor
DtMetafileRecordoperator= (const DtMetafileRecord &orig)
 assignment operator
virtual bool init ()
 Initialize the metafile.
virtual bool canImport ()
 Tells whether the record can be included in the import process or not.
virtual bool put (std::ostream &stream) const
 Write self to stream.
virtual bool getAttribute (const DtString attrName, DtString &value, DtString &type, unsigned index=0)
 Given the name of a record's attribute, returns True if the record has the attribute (the value is returned in value and the type in type).
virtual bool setAttribute (DtString attrName, DtString value)
 Sets the value of the attribute attrName to value.
virtual const
DtTerrainInitializer
initializer () const
 Get the initializer.
virtual DtTerrainInitializerinitializer ()
virtual void setInitializer (DtTerrainInitializer *init)
 Sets the initializer.
virtual const int recordKey ()
virtual void setRecordKey (const int key)
virtual const DtPropertyNamesMap properties () const
 Get the std::map with all the properties available for this record.
virtual const DtStringrecordString () const
 Get the record string.
virtual void resetFileLists ()
 Clears any file lists this record holds onto.
virtual void setPath (const DtFilename &)
 Parent path (if relevant)
virtual const DtFilename & path () const
bool isInt (const DtString &valueIn)
bool isDouble (const DtString &valueIn)
bool isColor (const DtString &valueIn)
bool isPoint (const DtString &valueIn)
bool isBool (const DtString &valueIn)
bool toInt (const DtString &valueIn, int &valueOut)
bool toDouble (const DtString &valueIn, double &valueOut)
bool toColor (const DtString &valueIn, DtColor &valueOut)
bool toPoint (const DtString &valueIn, DtPoint &valueOut)
bool toBool (const DtString &valueIn, bool &valueOut)

Static Public Member Functions

static DtMetafileRecordcreate ()

Protected Member Functions

virtual bool writeAttributes (std::ostream &stream) const
 Write attributes to stream. This is called by put(stream)
virtual bool getAttribute (const DtString attrName, DtString &value, unsigned index=0)
 Given the name of a record's attribute, returns its value in the 'value' parameter.
virtual bool setToken (const DtString &token, const DtString value)
 identifies a token and returns true if the value can be set to it, false otherwise
virtual CS_Type stringToCsTypeEnum (const DtString &string) const
virtual DtString csTypeEnumToString (CS_Type coordsys) const

Static Protected Attributes

static const DtString theParameterCoordinateSystem
static const DtString theParameterSwCorner
static const DtString theParameterNeCorner
static const DtString theParameterSurfaceColor
static const DtString theParameterRoughness
static const DtString theParameterOrigin
static const DtString theParameterLam0
static const DtString theParameterPhi0
static const DtString theParameterPhi1
static const DtString theParameterPhi2
static const DtString theZone
static const DtString theTesselateX
static const DtString theTesselateY
- Static Protected Attributes inherited from DtMetafileRecord
static const DtString theImport

Additional Inherited Members

- Protected Attributes inherited from DtMetafileRecord
DtTerrainInitializermypInitializer
DtString myRecordString
int myRecordKey
DtPropertyNamesMap myAttributeNames
bool myCanImport
DtFilename myPath

Constructor & Destructor Documentation

DtExtentMetafileRecord::DtExtentMetafileRecord ( )
virtual DtExtentMetafileRecord::~DtExtentMetafileRecord ( )
virtual
DtExtentMetafileRecord::DtExtentMetafileRecord ( const DtExtentMetafileRecord orig)

Member Function Documentation

DtExtentMetafileRecord& DtExtentMetafileRecord::operator= ( const DtExtentMetafileRecord orig)
virtual DtConfigCategoryType DtExtentMetafileRecord::recordCategory ( ) const
virtual

Each record should have a category of configuration they represent.

I.e does this record configure terrain source files, or vector source files, papermap files....

Implements DtMetafileRecord.

virtual bool DtExtentMetafileRecord::get ( std::istream &  stream)
virtual

Read self from stream.

Reimplemented from DtMetafileRecord.

virtual bool DtExtentMetafileRecord::processToken ( std::istream &  stream,
DtString token 
)
virtual

identifies a token or passes token the parent class.

Reimplemented from DtMetafileRecord.

virtual DtString DtExtentMetafileRecord::recordTypeName ( ) const
virtual

Returns the type name for the particular record.

Descendants should have this method return some string which uniquely identifies the kind of database it represents.

Implements DtMetafileRecord.

static DtMetafileRecord* DtExtentMetafileRecord::create ( )
static
virtual bool DtExtentMetafileRecord::writeAttributes ( std::ostream &  stream) const
protectedvirtual

Write attributes to stream. This is called by put(stream)

Reimplemented from DtMetafileRecord.

virtual bool DtExtentMetafileRecord::getAttribute ( const DtString  attrName,
DtString value,
unsigned  index = 0 
)
protectedvirtual

Given the name of a record's attribute, returns its value in the 'value' parameter.

Returns True if successful; false otherwise

Reimplemented from DtMetafileRecord.

virtual bool DtExtentMetafileRecord::setToken ( const DtString token,
const DtString  value 
)
protectedvirtual

identifies a token and returns true if the value can be set to it, false otherwise

Reimplemented from DtMetafileRecord.

virtual CS_Type DtExtentMetafileRecord::stringToCsTypeEnum ( const DtString string) const
protectedvirtual
virtual DtString DtExtentMetafileRecord::csTypeEnumToString ( CS_Type  coordsys) const
protectedvirtual

Member Data Documentation

const DtString DtExtentMetafileRecord::theParameterCoordinateSystem
staticprotected
const DtString DtExtentMetafileRecord::theParameterSwCorner
staticprotected
const DtString DtExtentMetafileRecord::theParameterNeCorner
staticprotected
const DtString DtExtentMetafileRecord::theParameterSurfaceColor
staticprotected
const DtString DtExtentMetafileRecord::theParameterRoughness
staticprotected
const DtString DtExtentMetafileRecord::theParameterOrigin
staticprotected
const DtString DtExtentMetafileRecord::theParameterLam0
staticprotected
const DtString DtExtentMetafileRecord::theParameterPhi0
staticprotected
const DtString DtExtentMetafileRecord::theParameterPhi1
staticprotected
const DtString DtExtentMetafileRecord::theParameterPhi2
staticprotected
const DtString DtExtentMetafileRecord::theZone
staticprotected
const DtString DtExtentMetafileRecord::theTesselateX
staticprotected
const DtString DtExtentMetafileRecord::theTesselateY
staticprotected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)