VR-Forces 4.10 Class Documentation
 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 ()
 CTOR. More...
 
 DtVrfExtendedRecordData (const DtVrfExtendedRecordData &)
 
virtual ~DtVrfExtendedRecordData ()
 DTOR. More...
 
bool operator== (const DtVrfExtendedRecordData &rhs) const
 
bool operator!= (const DtVrfExtendedRecordData &rhs) const
 
bool isModified () const
 Returns true if this extension has been modified since the last update. More...
 
void setIsModified (bool b)
 
virtual int netRepSize ()
 Returns a net rep size if this were to be put into an entire block rather than individual records. More...
 
virtual charnetRep ()
 Returns an entire blob of data for network transport. This class keeps this buffer so do not free. More...
 
virtual int setFromNet (const char *)
 Restores from an entire blob of data. Returns the total size read. More...
 
virtual int size (const char *) const
 Returns the size of the network rep buffer. More...
 
virtual int keyLen (const char *) const
 Returns the length of the key of the network representation. More...
 
virtual int valueLen (const char *) const
 Returns the size of the data in the network representation. More...
 
virtual DtString key (const char *) const
 Returns the key in the network representation. More...
 
virtual DtString value (const char *) const
 Returns the value in the network representation. More...
 
virtual charcreateNetworkRepresentation (const DtString &key, const DtString &value) const
 Creates a buffer which is the network representation and returns it. More...
 
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 ()
 Creates network rep. More...
 

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
virtual void DtVrfExtendedRecordData::removeExtendedData ( const DtString key)
virtual
virtual DtString DtVrfExtendedRecordData::extendedData ( const DtString key) const
virtual
const ExtendedData& DtVrfExtendedRecordData::extendedDataMap ( ) const
inline
virtual void DtVrfExtendedRecordData::setExtendedDataMap ( const ExtendedData )
virtual
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)