VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 charencode (const DtAdminContent *adminContentPtr, char *buffer)
 Encodes the specified admin content into the specified character array. More...
 
DT_DLL_vrftasks const chardecode (DtAdminContent *&adminContentPtr, const char *buffer)
 Decodes the buffer into the admin content using the admin content factory. More...
 

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)