VR-Forces 4.1.1 Class Documentation
Classes | Functions
adminContent.h File Reference

Go to the source code of this file.

Classes

class  DtAdminContent
 DtAdminContent. More...

Functions

DT_DLL_vrftasks int getSize (const DtAdminContent *contentPtr)
DT_DLL_vrftasks char * encode (const DtAdminContent *adminContentPtr, char *buffer)
 Encodes the specified admin content into the specified character array.
DT_DLL_vrftasks const char * decode (DtAdminContent *&adminContentPtr, const char *buffer)
 Decodes the buffer into the admin content using the admin content factory.

Detailed Description

Function Documentation

DT_DLL_vrftasks int getSize ( const DtAdminContent contentPtr)
Returns
The number of bytes required to encode the specified admin content.
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrftasks char* encode ( const DtAdminContent adminContentPtr,
char *  buffer 
)

Encodes the specified admin content into the specified character array.

Returns
The pointer for buffer following the serialization. This value may be passed into the next call to encode().
Note
Passing in a null set data request pointer is valid.
DT_DLL_vrftasks const char* decode ( DtAdminContent *&  adminContentPtr,
const char *  buffer 
)

Decodes the buffer into the admin content using the admin content factory.

adminContentPtr will be deleted and reallocated by this method. The type of the task created will be determined by the task type specified in the buffer. If no task could be created from the buffer, taskPtr will be null after the function call.

Returns
The pointer to buffer after the decode. This is appropriate to pass into the next call of decode().
Note
Passing in a null set data request pointer is valid.

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)