ffead.server.doc
AMEFEncoder Class Reference

Public Member Functions

 AMEFEncoder ()
 
string encodeB (AMEFObject *packet, bool ignoreName)
 
string encodeWL (AMEFObject *packet, bool ignoreName)
 
void getValue (string value, char type, string buffer)
 
string getFinalVal (char type, string buffer, int length, string delim, string name)
 
string getPacketValue (string value)
 
string getPacketValue (int integer)
 
string getPacketValue (unsigned long long lon)
 
string getPacketValue (long lon)
 
string getPacketValue (double lon)
 
string getPacketValue (float lon)
 
string getPacketValue (bool lon)
 
string getPacketValue (char lon)
 
string encodeSinglePacketB (AMEFObject *packet, bool ignoreName)
 

Static Public Member Functions

static char * longTocharArray (long l, int ind)
 
static string longTocharArrayS (long l, int ind)
 
static string intTocharArray (int l, int ind)
 
static string intTocharArrayWI (int l)
 
static int charArrayToInt (char l[])
 
static int charArrayToInt (char *l, int off, int ind)
 
static long charArrayToLong (char l[])
 
static long charArrayToLong (char *l, int off, int ind)
 
static long charArrayToLong (char *l, int ind)
 
static string intTocharArrayS (int l, int ind)
 

Detailed Description

Definition at line 23 of file AMEFEncoder.h.

Constructor & Destructor Documentation

AMEFEncoder::AMEFEncoder ( )
Parameters
packet
Returns
char*
Exceptions
AMEFEncodeExceptionencode the AMEFObject to the charstream for wire transmission

Definition at line 19 of file AMEFEncoder.cpp.

Member Function Documentation

string AMEFEncoder::getPacketValue ( string  value)
inline
Parameters
packet
Returns
string
Exceptions
AMEFEncodeExceptionencode a given AMEF Object to its transmission form

Definition at line 464 of file AMEFEncoder.h.

void AMEFEncoder::getValue ( string  value,
char  type,
string  buffer 
)
inline
Parameters
packet
Returns
char*
Exceptions
AMEFEncodeExceptionencode the AMEFObject to the charstream for wire transmission

Definition at line 227 of file AMEFEncoder.h.


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