VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtVpfData Class Reference

Abstract data type for all others to be based on. More...

Inheritance diagram for DtVpfData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVpfData (DtVpfColumn *column)
 Constructor takes the column that this data belongs to.
virtual ~DtVpfData ()
 Destructor.
virtual bool readData ()=0
 Reads the data from the input stream from the owning column this class is not implemented and must be for all derived classes.
virtual const DtVpfColumncolumn () const
 returns the column that owns this data
virtual DtString valueDescription () const
 returns the description of the data value as described in the data description table (if available)

Protected Member Functions

void swap16 (char *input)
void swap32 (char *input)
void swap64 (char *input)

Protected Attributes

DtVpfColumnmyColumn

Private Member Functions

 DtVpfData (const DtVpfData &data)
 Copy constructor is private to prevent copying.
DtVpfDataoperator= (const DtVpfData &data)
 Assignment operator is private to prevent copying.

Detailed Description

Abstract data type for all others to be based on.


Constructor & Destructor Documentation

DtVpfData::DtVpfData ( const DtVpfData data) [private]

Copy constructor is private to prevent copying.

Constructor takes the column that this data belongs to.

virtual DtVpfData::~DtVpfData ( ) [virtual]

Destructor.


Member Function Documentation

DtVpfData& DtVpfData::operator= ( const DtVpfData data) [private]

Assignment operator is private to prevent copying.

virtual bool DtVpfData::readData ( ) [pure virtual]

Reads the data from the input stream from the owning column this class is not implemented and must be for all derived classes.

Returns:
A boolean indicating the success or failure of the read operation

Implemented in DtVpf3CoordData, DtVpfTripletData, DtVpfTextData, DtVpfFloatData, and DtVpfIntData.

virtual const DtVpfColumn& DtVpfData::column ( ) const [inline, virtual]

returns the column that owns this data

Returns:
A DtVpfColumn reference
virtual DtString DtVpfData::valueDescription ( ) const [inline, virtual]

returns the description of the data value as described in the data description table (if available)

Returns:
a DtString to describe the data if available. Returns an empty string if not available.

Reimplemented in DtVpfTextData, and DtVpfIntData.

void DtVpfData::swap16 ( char *  input) [protected]
void DtVpfData::swap32 ( char *  input) [protected]
void DtVpfData::swap64 ( char *  input) [protected]

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)