VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtDtedMetafileRecord Class Reference
Inheritance diagram for DtDtedMetafileRecord:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtDtedMetafileRecord ()
virtual ~DtDtedMetafileRecord ()
 DtDtedMetafileRecord (const DtDtedMetafileRecord &orig)
DtDtedMetafileRecordoperator= (const DtDtedMetafileRecord &orig)
virtual DtString recordTypeName () const
 Returns the type name for the particular record.
virtual bool get (std::istream &stream)
 Read self from stream.
virtual bool processToken (std::istream &stream, DtString &token)
 Identifies a token or passes it to the parent class.

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

Static Protected Attributes

static const DtString theParameterPostSpacing
static const DtString theIsProjected
static const DtString theProjection
static const DtString theIsTriangulated
static const DtString theParameterFile
static const DtString theLowColor
static const DtString theHighColor
static const DtString theLowColorHeight
static const DtString theHighColorHeight
static const DtString theIsReliefShaded
static const DtString theOrigin
 Note that latitude and longitude origin will be defined as latitude, longitude, 0.0 (the z value must be 0.0)
static const DtString theMinMaxLatitude
static const DtString theMinMaxLongitude
static const DtString theIsSeaRectangleAdded

Constructor & Destructor Documentation


Member Function Documentation

DtDtedMetafileRecord& DtDtedMetafileRecord::operator= ( const DtDtedMetafileRecord orig)
virtual DtString DtDtedMetafileRecord::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.

virtual bool DtDtedMetafileRecord::get ( std::istream &  stream) [virtual]

Read self from stream.

Reimplemented from DtTerrainMetafileRecord.

virtual bool DtDtedMetafileRecord::processToken ( std::istream &  stream,
DtString token 
) [virtual]

Identifies a token or passes it to the parent class.

Reimplemented from DtTerrainMetafileRecord.

virtual bool DtDtedMetafileRecord::writeAttributes ( std::ostream &  stream) const [protected, virtual]

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

Reimplemented from DtTerrainMetafileRecord.

virtual bool DtDtedMetafileRecord::getAttribute ( const DtString  attrName,
DtString value,
unsigned  index = 0 
) [protected, virtual]

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

Returns True if successful; false otherwise

Reimplemented from DtTerrainMetafileRecord.

virtual bool DtDtedMetafileRecord::setToken ( const DtString token,
const DtString  value 
) [protected, virtual]

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

Reimplemented from DtTerrainMetafileRecord.


Member Data Documentation

const DtString DtDtedMetafileRecord::theProjection [static, protected]
const DtString DtDtedMetafileRecord::theLowColor [static, protected]
const DtString DtDtedMetafileRecord::theHighColor [static, protected]
const DtString DtDtedMetafileRecord::theOrigin [static, protected]

Note that latitude and longitude origin will be defined as latitude, longitude, 0.0 (the z value must be 0.0)

Reimplemented from DtTerrainMetafileRecord.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)