VR-Forces 4.7 Class Documentation
 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 Reference

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

Inheritance diagram for DtVpfData:
Inheritance graph
[legend]

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.

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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)