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

List of all members.

Public Member Functions

 DtVectorDataRecord ()
virtual ~DtVectorDataRecord ()
 DtVectorDataRecord (const DtVectorDataRecord &orig)
DtVectorDataRecordoperator= (const DtVectorDataRecord &rhs)
virtual DtString recordTypeName () const
 Returns the type name for the particular record.
virtual DtConfigCategoryType recordCategory () const
 Each record should have a category of configuration they represent.
virtual const unsigned int vecDataType () const
virtual DtVectorDataInitializervectorDataInitializer ()
virtual void resetFileLists ()
 Clears any file lists this record holds onto.
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.

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

Protected Attributes

DtVectorDataInitializermyVectorDataInitializer
unsigned int myVectorDataType

Static Protected Attributes

static const DtString thePlanarizeVectorNetwork
static const DtString theClipVectorNetworkToExtent
static const DtString theTolerance
static const DtString theExcessiveEdgeCount

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented in DtDfadMetafileRecord, DtShapeVectorMetafileRecord, DtDfdDfadMetafileRecord, and DtVmapMetafileRecord.

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 const unsigned int DtVectorDataRecord::vecDataType ( ) const [virtual]
virtual void DtVectorDataRecord::resetFileLists ( ) [virtual]

Clears any file lists this record holds onto.

Reimplemented from DtMetafileRecord.

Reimplemented in DtShapeVectorMetafileRecord.

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

Read self from stream.

Reimplemented from DtMetafileRecord.

Reimplemented in DtShapeVectorMetafileRecord, DtDfadMetafileRecord, DtDfdDfadMetafileRecord, and DtVmapMetafileRecord.

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

identifies a token or passes token the parent class.

Reimplemented from DtMetafileRecord.

Reimplemented in DtShapeVectorMetafileRecord, DtDfadMetafileRecord, DtDfdDfadMetafileRecord, and DtVmapMetafileRecord.

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

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

Reimplemented from DtMetafileRecord.

Reimplemented in DtShapeVectorMetafileRecord, DtVmapMetafileRecord, DtDfadMetafileRecord, and DtDfdDfadMetafileRecord.

virtual bool DtVectorDataRecord::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 DtMetafileRecord.

Reimplemented in DtShapeVectorMetafileRecord, DtVmapMetafileRecord, DtDfadMetafileRecord, and DtDfdDfadMetafileRecord.

virtual bool DtVectorDataRecord::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 DtMetafileRecord.

Reimplemented in DtShapeVectorMetafileRecord, DtVmapMetafileRecord, DtDfadMetafileRecord, and DtDfdDfadMetafileRecord.


Member Data Documentation

const DtString DtVectorDataRecord::theTolerance [static, protected]
unsigned int DtVectorDataRecord::myVectorDataType [protected]

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)