DataElement Class Reference

#include <DataTree.h>

List of all members.

Public Member Functions

 DataElement ()
 ~DataElement ()
int getDataType ()
long getDataSize ()
void set (const int &int_in)
void set (const long &long_in)
void set (const float &float_in)
void set (const double &double_in)
void set (const char *data_in, long size_in)
void set (const char *data_in)
void set (const string &str_in)
void set (vector< string > &strvect_in)
void set (vector< int > &intvect_in)
void set (vector< long > &longvect_in)
void set (vector< float > &floatvect_in)
void set (vector< double > &doublevect_in)
void set (const XYZ &xyz_in)
void set (vector< XYZ > &xyzvect_in)
void get (int &int_in) throw (DataTypeMismatchException)
void get (long &long_in) throw (DataTypeMismatchException)
void get (float &float_in) throw (DataTypeMismatchException)
void get (double &double_in) throw (DataTypeMismatchException)
void get (XYZ &xyz_in) throw (DataTypeMismatchException)
void get (char **data_in) throw (DataTypeMismatchException)
void get (string &str_in) throw (DataTypeMismatchException)
void get (vector< string > &strvect_in) throw (DataTypeMismatchException)
void get (vector< int > &intvect_in) throw (DataTypeMismatchException)
void get (vector< long > &longvect_in) throw (DataTypeMismatchException)
void get (vector< float > &floatvect_in) throw (DataTypeMismatchException)
void get (vector< double > &doublevect_in) throw (DataTypeMismatchException)
void get (vector< XYZ > &xyzvect_in) throw (DataTypeMismatchException)
int getInt () throw (DataTypeMismatchException)
long getLong () throw (DataTypeMismatchException)
float getFloat () throw (DataTypeMismatchException)
double getDouble () throw (DataTypeMismatchException)
long getSerializedSize ()
long getSerialized (char **ser_str)
void setSerialized (char *ser_str)

Private Member Functions

void data_init (long data_size_in)

Private Attributes

short int data_type
long data_size
char * data_val


Constructor & Destructor Documentation

DataElement::DataElement (  ) 

DataElement::~DataElement (  ) 


Member Function Documentation

void DataElement::data_init ( long  data_size_in  )  [private]

int DataElement::getDataType (  ) 

long DataElement::getDataSize (  ) 

void DataElement::set ( const int &  int_in  ) 

Here is the call graph for this function:

void DataElement::set ( const long &  long_in  ) 

Here is the call graph for this function:

void DataElement::set ( const float &  float_in  ) 

Here is the call graph for this function:

void DataElement::set ( const double &  double_in  ) 

Here is the call graph for this function:

void DataElement::set ( const char *  data_in,
long  size_in 
)

Here is the call graph for this function:

void DataElement::set ( const char *  data_in  ) 

Here is the call graph for this function:

void DataElement::set ( const string &  str_in  ) 

Here is the call graph for this function:

void DataElement::set ( vector< string > &  strvect_in  ) 

Here is the call graph for this function:

void DataElement::set ( vector< int > &  intvect_in  ) 

Here is the call graph for this function:

void DataElement::set ( vector< long > &  longvect_in  ) 

Here is the call graph for this function:

void DataElement::set ( vector< float > &  floatvect_in  ) 

Here is the call graph for this function:

void DataElement::set ( vector< double > &  doublevect_in  ) 

Here is the call graph for this function:

void DataElement::set ( const XYZ xyz_in  ) 

Here is the call graph for this function:

void DataElement::set ( vector< XYZ > &  xyzvect_in  ) 

Here is the call graph for this function:

void DataElement::get ( int &  int_in  )  throw (DataTypeMismatchException)

void DataElement::get ( long &  long_in  )  throw (DataTypeMismatchException)

void DataElement::get ( float &  float_in  )  throw (DataTypeMismatchException)

void DataElement::get ( double &  double_in  )  throw (DataTypeMismatchException)

void DataElement::get ( XYZ xyz_in  )  throw (DataTypeMismatchException)

void DataElement::get ( char **  data_in  )  throw (DataTypeMismatchException)

void DataElement::get ( string &  str_in  )  throw (DataTypeMismatchException)

void DataElement::get ( vector< string > &  strvect_in  )  throw (DataTypeMismatchException)

void DataElement::get ( vector< int > &  intvect_in  )  throw (DataTypeMismatchException)

void DataElement::get ( vector< long > &  longvect_in  )  throw (DataTypeMismatchException)

void DataElement::get ( vector< float > &  floatvect_in  )  throw (DataTypeMismatchException)

void DataElement::get ( vector< double > &  doublevect_in  )  throw (DataTypeMismatchException)

void DataElement::get ( vector< XYZ > &  xyzvect_in  )  throw (DataTypeMismatchException)

int DataElement::getInt (  )  throw (DataTypeMismatchException) [inline]

long DataElement::getLong (  )  throw (DataTypeMismatchException) [inline]

float DataElement::getFloat (  )  throw (DataTypeMismatchException) [inline]

double DataElement::getDouble (  )  throw (DataTypeMismatchException) [inline]

long DataElement::getSerializedSize (  ) 

long DataElement::getSerialized ( char **  ser_str  ) 

Here is the call graph for this function:

void DataElement::setSerialized ( char *  ser_str  ) 

Here is the call graph for this function:


Member Data Documentation

short int DataElement::data_type [private]

long DataElement::data_size [private]

char* DataElement::data_val [private]


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

Generated on Thu Mar 19 19:35:16 2009 for CubicVR by  doxygen 1.5.6