Network Value Data Class. More...
#include <deNetworkValueData.h>
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. | |
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.
| deNetworkValueData::deNetworkValueData | ( | int | format, |
| int | length | ||
| ) |
Creates a new network value object.
| virtual deNetworkValueData::~deNetworkValueData | ( | ) | [virtual] |
Cleans up the network value object.
| 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.
1.7.2