VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtVpfData Class Referenceabstract

Abstract data type for all others to be based on.

Inheritance diagram for DtVpfData:
Inheritance graph
[legend]

Public Member Functions

 DtVpfData (DtVpfColumn *column)
 
virtual ~DtVpfData ()
 
virtual bool readData ()=0
 
virtual const DtVpfColumncolumn () const
 
virtual DtString valueDescription () const
 

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)
 
DtVpfDataoperator= (const DtVpfData &data)
 

Constructor & Destructor Documentation

DtVpfData::DtVpfData ( const DtVpfData data)
private

Copy constructor is private to prevent copying.

DtVpfData::DtVpfData ( DtVpfColumn column)

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
inlinevirtual

returns the column that owns this data

Returns
A DtVpfColumn reference
virtual DtString DtVpfData::valueDescription ( ) const
inlinevirtual

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

DtVpfColumn* DtVpfData::myColumn
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)