VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
DtC4bMetafileRecord Class Reference

file .h More...

Inheritance diagram for DtC4bMetafileRecord:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtC4bMetafileRecord ()
 default constructor.
virtual ~DtC4bMetafileRecord ()
 destructor
 DtC4bMetafileRecord (const DtC4bMetafileRecord &orig)
 copy constructor
DtC4bMetafileRecordoperator= (const DtC4bMetafileRecord &orig)
 assignment operator
virtual DtString recordTypeName () const
 Returns "c4b".
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 theParameterFile

Detailed Description

file .h

Contains the DtC4bMetafileRecord class declaration. The ctdb metafile record specifies one c4b (ctdb version 4) file in the metafile.


Constructor & Destructor Documentation

default constructor.

destructor

copy constructor


Member Function Documentation

DtC4bMetafileRecord& DtC4bMetafileRecord::operator= ( const DtC4bMetafileRecord orig)

assignment operator

virtual DtString DtC4bMetafileRecord::recordTypeName ( ) const [virtual]

Returns "c4b".

Implements DtMetafileRecord.

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

Read self from stream.

Reimplemented from DtTerrainMetafileRecord.

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

identifies a token or passes it to the parent class.

Reimplemented from DtTerrainMetafileRecord.

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

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

Reimplemented from DtTerrainMetafileRecord.

virtual bool DtC4bMetafileRecord::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 DtC4bMetafileRecord::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


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)