ffead.server.doc
AMEFObject Class Reference

Public Member Functions

bool isNull ()
 
void clear ()
 
void addNullPacket (char type)
 
void addNullPacket (char type, string name)
 
void addPacket (const string &stringa, const string &name)
 
AMEFObjectaddPacket (const string &stringa)
 
void addPacket (char stringa[], string name)
 
AMEFObjectaddPacket (char stringa[])
 
void addPacket (bool boole, string name)
 
AMEFObjectaddPacket (bool boole)
 
void addPacket (char chr, string name)
 
AMEFObjectaddPacket (char chr)
 
AMEFObjectaddPacket (char value, char type)
 
void addPacket (long lon, string name)
 
AMEFObjectaddPacket (unsigned long long lon)
 
AMEFObjectaddPacket (long lon)
 
void addPacket (float doub, string name)
 
AMEFObjectaddPacket (float doub)
 
void addPacket (double doub, string name)
 
AMEFObjectaddPacket (double doub)
 
void addPacket (int integer, string name)
 
AMEFObjectaddPacket (int integer)
 
void addPacket (AMEFObject *packet)
 
void addPacket (char packet[], char type)
 
int getlength ()
 
int getLength ()
 
bool isStringOrNullString ()
 
bool isString ()
 
bool isFloatingPoint ()
 
bool isNumber ()
 
bool isNumberOrNullNumber ()
 
bool isChar ()
 
bool isDate ()
 
int getNamedLength (bool ignoreName)
 
void setLength (int length)
 
char * getName ()
 
string getNameStr ()
 
void setName (const string &name)
 
vector< AMEFObject * > getPackets ()
 
void setPackets (vector< AMEFObject * > packets)
 
char getType ()
 
void setType (char type)
 
string getValue ()
 
string getValueStr ()
 
void pushChar (char v)
 
void setValue (char value[])
 
void setValue (char *value, int len)
 
void setValue (const string &value)
 
bool getBoolValue ()
 
int getIntValue ()
 
short getShortValue ()
 
double getDoubleValue ()
 
float getFloatValue ()
 
long getLongValue ()
 
long getNumericValue ()
 
string tostring ()
 
string displayObject (string tab)
 
void addStaticPacket (AMEFObject *obj)
 

Static Public Member Functions

static char getEqvNullType (char type)
 
static bool isstring (char type)
 
static bool isFloatingPoint (char type)
 
static bool isNumber (char type)
 
static bool isInteger (char type)
 
static bool isLong (char type)
 
static bool isChar (char type)
 
static bool isBoolean (char type)
 
static bool isDate (char type)
 

Static Public Attributes

static const char NULL_STRING = 'a'
 
static const char NULL_NUMBER = 'g'
 
static const char NULL_DATE = 'j'
 
static const char NULL_FPN = 'k'
 
static const char NULL_BOOL = 'v'
 
static const char NULL_CHAR = 'z'
 
static const char DATE_TYPE = 'd'
 
static const char STRING_TYPE = 's'
 
static const char STRING_256_TYPE = 't'
 
static const char STRING_65536_TYPE = 'h'
 
static const char STRING_16777216_TYPE = 'y'
 
static const char BOOLEAN_TYPE = 'b'
 
static const char CHAR_TYPE = 'c'
 
static const char VERY_SMALL_INT_TYPE = 'n'
 
static const char SMALL_INT_TYPE = 'w'
 
static const char BIG_INT_TYPE = 'r'
 
static const char INT_TYPE = 'i'
 
static const char VS_LONG_INT_TYPE = 'f'
 
static const char S_LONG_INT_TYPE = 'x'
 
static const char B_LONG_INT_TYPE = 'e'
 
static const char LONG_INT_TYPE = 'l'
 
static const char DOUBLE_FLOAT_TYPE = 'u'
 
static const char VS_OBJECT_TYPE = 'm'
 
static const char S_OBJECT_TYPE = 'q'
 
static const char B_OBJECT_TYPE = 'p'
 
static const char OBJECT_TYPE = 'o'
 

Detailed Description

Definition at line 27 of file AMEFObject.h.

Member Function Documentation

void AMEFObject::addPacket ( const string &  stringa,
const string &  name 
)
inline
Parameters
string
nameAdd a string property to an Object

Definition at line 294 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( const string &  stringa)
inline
Parameters
stringAdd a string property to an Object

Definition at line 306 of file AMEFObject.h.

void AMEFObject::addPacket ( char  stringa[],
string  name 
)
inline
Parameters
string
nameAdd a string property to an Object

Definition at line 350 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( char  stringa[])
inline
Parameters
stringAdd a string property to an Object

Definition at line 362 of file AMEFObject.h.

void AMEFObject::addPacket ( bool  boole,
string  name 
)
inline
Parameters
bool
nameAdd a bool property to an Object

Definition at line 406 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( bool  boole)
inline
Parameters
boolAdd a bool property to an Object

Definition at line 418 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( char  chr)
inline
Parameters
boolAdd a bool property to an Object

Definition at line 451 of file AMEFObject.h.

void AMEFObject::addPacket ( long  lon,
string  name 
)
inline
Parameters
lon
nameAdd a long property to an Object

Definition at line 484 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( unsigned long long  lon)
inline
Parameters
lonAdd a long property to an Object

Definition at line 656 of file AMEFObject.h.

void AMEFObject::addPacket ( float  doub,
string  name 
)
inline
Parameters
doub
nameAdd a double property to an Object

Definition at line 784 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( float  doub)
inline
Parameters
doubAdd a double property to an Object

Definition at line 796 of file AMEFObject.h.

void AMEFObject::addPacket ( double  doub,
string  name 
)
inline
Parameters
doub
nameAdd a double property to an Object

Definition at line 816 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( double  doub)
inline
Parameters
doubAdd a double property to an Object

Definition at line 828 of file AMEFObject.h.

void AMEFObject::addPacket ( int  integer,
string  name 
)
inline
Parameters
integer
nameAdd an integer property to an Object

Definition at line 847 of file AMEFObject.h.

AMEFObject* AMEFObject::addPacket ( int  integer)
inline
Parameters
integerAdd an integer property to an Object

Definition at line 859 of file AMEFObject.h.

void AMEFObject::addPacket ( AMEFObject packet)
inline
Parameters
date
nameAdd a Date property to an Object
dateAdd a Date property to an Object
packetAdd a JDBObjectNew property to an Object

Definition at line 940 of file AMEFObject.h.

void AMEFObject::addPacket ( char  packet[],
char  type 
)
inline
Parameters
packetAdd a JDBObjectNew property to an Object

Definition at line 967 of file AMEFObject.h.

bool AMEFObject::getBoolValue ( )
inline
Returns
bool value of this object if its type is boolean

Definition at line 1321 of file AMEFObject.h.

double AMEFObject::getDoubleValue ( )
inline
Returns
double value of this object if its type is double

Definition at line 1358 of file AMEFObject.h.

static char AMEFObject::getEqvNullType ( char  type)
inlinestatic
Returns
Array of JDBObjectNew

Definition at line 233 of file AMEFObject.h.

float AMEFObject::getFloatValue ( )
inline
Returns
double value of this object if its type is double

Definition at line 1369 of file AMEFObject.h.

int AMEFObject::getIntValue ( )
inline
Returns
integer value of this object if its type is integer

Definition at line 1332 of file AMEFObject.h.

long AMEFObject::getLongValue ( )
inline
Returns
long value of this object if its type is long

Definition at line 1380 of file AMEFObject.h.

short AMEFObject::getShortValue ( )
inline
Returns
integer value of this object if its type is integer

Definition at line 1345 of file AMEFObject.h.

string AMEFObject::tostring ( )
inline
Returns
Date value of this object if its type is Date

Definition at line 1421 of file AMEFObject.h.


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