deNetworkValueData Class Reference

Network Value Data Class. More...

#include <deNetworkValueData.h>

Inheritance diagram for deNetworkValueData:
deNetworkValue

List of all members.

Public Member Functions

Constructors and Destructors
 deNetworkValueData (int format, int length)
 Creates a new network value object.
virtual ~deNetworkValueData ()
 Cleans up the network value object.
Management
int GetFormat () const
 Retrieves the format.
char * GetData () const
 Retrieves the data pointer.
int GetLength () const
 Retrieves the length of the data.
void SetLength (int length)
 Sets the length of the data.
Visiting
virtual void Visit (deNetworkValueVisitor *visitor)
 Visits the collider.

Detailed Description

Network Value Data Class.

Defines a data network value. Stores in contrary to the string network value a data buffer of fixed length and is not zero padded. This kind of network value is useful for arbitrary data typically of files or other complex data.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deNetworkValueData::deNetworkValueData ( int  format,
int  length 
)

Creates a new network value object.

virtual deNetworkValueData::~deNetworkValueData (  ) [virtual]

Cleans up the network value object.


Member Function Documentation

char* deNetworkValueData::GetData (  ) const [inline]

Retrieves the data pointer.

int deNetworkValueData::GetFormat (  ) const [inline]

Retrieves the format.

int deNetworkValueData::GetLength (  ) const [inline]

Retrieves the length of the data.

void deNetworkValueData::SetLength ( int  length )

Sets the length of the data.

After changing the size the data is undefined. Only values greater than 0 are allowed.

virtual void deNetworkValueData::Visit ( deNetworkValueVisitor visitor ) [virtual]

Visits the collider.

Reimplemented from deNetworkValue.


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