VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
DtVrfExtendedRecordData Class Reference
Inheritance diagram for DtVrfExtendedRecordData:
Inheritance graph
[legend]

Public Types

typedef std::map< DtString,
DtString
ExtendedData
 

Public Member Functions

 DtVrfExtendedRecordData ()
 
 DtVrfExtendedRecordData (const DtVrfExtendedRecordData &)
 
virtual ~DtVrfExtendedRecordData ()
 
bool operator== (const DtVrfExtendedRecordData &rhs) const
 
bool operator!= (const DtVrfExtendedRecordData &rhs) const
 
bool isModified () const
 
void setIsModified (bool b)
 
virtual int netRepSize ()
 
virtual charnetRep ()
 
virtual int setFromNet (const char *)
 
virtual int size (const char *) const
 
virtual int keyLen (const char *) const
 
virtual int valueLen (const char *) const
 
virtual DtString key (const char *) const
 
virtual DtString value (const char *) const
 
virtual charcreateNetworkRepresentation (const DtString &key, const DtString &value) const
 
virtual void setExtendedData (const DtString &key, const DtString &value)
 
virtual void clearExtendedData ()
 
virtual void removeExtendedData (const DtString &key)
 
virtual DtString extendedData (const DtString &key) const
 
const ExtendedDataextendedDataMap () const
 
virtual void setExtendedDataMap (const ExtendedData &)
 

Protected Member Functions

virtual void createNetRep ()
 

Protected Attributes

ExtendedData myExtendedData
 
bool myIsModified
 
charmyNetRep
 
int myNetRepSize
 

Member Typedef Documentation

Constructor & Destructor Documentation

DtVrfExtendedRecordData::DtVrfExtendedRecordData ( )

CTOR.

DtVrfExtendedRecordData::DtVrfExtendedRecordData ( const DtVrfExtendedRecordData )
virtual DtVrfExtendedRecordData::~DtVrfExtendedRecordData ( )
virtual

DTOR.

Member Function Documentation

virtual void DtVrfExtendedRecordData::setExtendedData ( const DtString key,
const DtString value 
)
virtual

Routines to access data in map.

virtual void DtVrfExtendedRecordData::clearExtendedData ( )
virtual

Routines to access data in map.

virtual void DtVrfExtendedRecordData::removeExtendedData ( const DtString key)
virtual

Routines to access data in map.

virtual DtString DtVrfExtendedRecordData::extendedData ( const DtString key) const
virtual

Routines to access data in map.

const ExtendedData& DtVrfExtendedRecordData::extendedDataMap ( ) const
inline

Routines to access data in map.

virtual void DtVrfExtendedRecordData::setExtendedDataMap ( const ExtendedData )
virtual

Routines to access data in map.

bool DtVrfExtendedRecordData::operator== ( const DtVrfExtendedRecordData rhs) const
inline

References myExtendedData.

bool DtVrfExtendedRecordData::operator!= ( const DtVrfExtendedRecordData rhs) const
inline
bool DtVrfExtendedRecordData::isModified ( ) const
inline

Returns true if this extension has been modified since the last update.

void DtVrfExtendedRecordData::setIsModified ( bool  b)
inline
virtual int DtVrfExtendedRecordData::netRepSize ( )
virtual

Returns a net rep size if this were to be put into an entire block rather than individual records.

virtual char* DtVrfExtendedRecordData::netRep ( )
virtual

Returns an entire blob of data for network transport. This class keeps this buffer so do not free.

virtual int DtVrfExtendedRecordData::setFromNet ( const char )
virtual

Restores from an entire blob of data. Returns the total size read.

virtual int DtVrfExtendedRecordData::size ( const char ) const
virtual

Returns the size of the network rep buffer.

virtual int DtVrfExtendedRecordData::keyLen ( const char ) const
virtual

Returns the length of the key of the network representation.

virtual int DtVrfExtendedRecordData::valueLen ( const char ) const
virtual

Returns the size of the data in the network representation.

virtual DtString DtVrfExtendedRecordData::key ( const char ) const
virtual

Returns the key in the network representation.

virtual DtString DtVrfExtendedRecordData::value ( const char ) const
virtual

Returns the value in the network representation.

virtual char* DtVrfExtendedRecordData::createNetworkRepresentation ( const DtString key,
const DtString value 
) const
virtual

Creates a buffer which is the network representation and returns it. Network buffer size is the size of the key plus the size of the value + two DtNetU32 for the length of the key and data.

virtual void DtVrfExtendedRecordData::createNetRep ( )
protectedvirtual

Creates network rep.

Member Data Documentation

ExtendedData DtVrfExtendedRecordData::myExtendedData
protected

Referenced by operator==().

bool DtVrfExtendedRecordData::myIsModified
protected
char* DtVrfExtendedRecordData::myNetRep
protected
int DtVrfExtendedRecordData::myNetRepSize
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)