Classes | Enumerations

xdrbuf Namespace Reference

Classes

class  PackletHeader
 A PackletHeader describes a given packlet (what sort of data it is, and how much data is there). More...
class  Output
 class for writing data to the network More...
class  Input
 class for reading data from the network More...

Enumerations

enum  ePackletType {
  ePacklet_Reserved = 0,
  ePacklet_ParentBegin = 1,
  ePacklet_ParentEnd = 2,
  ePacklet_String = 3,
  ePacklet_Floats = 4,
  ePacklet_Int32s = 5,
  ePacklet_Invalid = 8
}
 

these are the types of data supported by packlets

More...



static const char s_nameLookup [] = "\0abcdefghijklmnopqrstuvwxyz$*?!="
static int getNameIndex (char a)
static word_t createPackletHeaderData (char name, ePackletType type, int size)
bool isValidPackletName (char a)
 A name is a single character.

Function Documentation

static int xdrbuf::getNameIndex ( char  a  )  [static]

Definition at line 57 of file xdrbuf.cpp.

static word_t xdrbuf::createPackletHeaderData ( char  name,
ePackletType  type,
int  size 
) [static]

Definition at line 89 of file xdrbuf.cpp.


Variable Documentation

const char xdrbuf::s_nameLookup[] = "\0abcdefghijklmnopqrstuvwxyz$*?!=" [static]

Definition at line 46 of file xdrbuf.cpp.