TdkBlob Class Reference
[The Core Module]

#include <TdkBlob.h>

List of all members.

Public Member Functions

 TdkBlob ()
 Default constructor.
virtual ~TdkBlob ()
 Virtual destructor.
TdkBloboperator= (TdkBlob &other)
char * getData ()
int getSize ()
bool readChar (char &n)
bool writeChar (char n)
bool readUnsignedChar (unsigned char &n)
bool writeUnsignedChar (unsigned char n)
bool readInt (int &n)
bool writeInt (int n)
bool readLong (long &n)
bool writeLong (long n)
bool readBool (bool &n)
bool writeBool (bool n)
bool readDouble (double &n)
bool writeDouble (double n)
bool readDouble (std::vector< double > &vec)
bool writeDouble (const std::vector< double > &vec)
bool readString (char *&s)
bool writeString (char *s)
void clear ()
void reset ()
int pos ()
void pos (int position)
std::string getDBVersion ()
void setDBVersion (std::string dbVersion)

Protected Attributes

char * data
int buffer_size
int blob_size
int curr_pos
std::string db_version

Private Member Functions

bool doubleSize ()


Detailed Description

TdkBlob class. This class is an example on how to comment the code.


Constructor & Destructor Documentation

TdkBlob::TdkBlob (  ) 

Default constructor.

TdkBlob::~TdkBlob (  )  [virtual]

Virtual destructor.


Member Function Documentation

TdkBlob & TdkBlob::operator= ( TdkBlob other  ) 

char * TdkBlob::getData (  ) 

int TdkBlob::getSize (  ) 

bool TdkBlob::readChar ( char &  n  ) 

bool TdkBlob::writeChar ( char  n  ) 

bool TdkBlob::readUnsignedChar ( unsigned char &  n  ) 

bool TdkBlob::writeUnsignedChar ( unsigned char  n  ) 

bool TdkBlob::readInt ( int &  n  ) 

bool TdkBlob::writeInt ( int  n  ) 

bool TdkBlob::readLong ( long &  n  ) 

bool TdkBlob::writeLong ( long  n  ) 

bool TdkBlob::readBool ( bool &  n  ) 

bool TdkBlob::writeBool ( bool  n  ) 

bool TdkBlob::readDouble ( double &  n  ) 

bool TdkBlob::writeDouble ( double  n  ) 

bool TdkBlob::readDouble ( std::vector< double > &  vec  ) 

bool TdkBlob::writeDouble ( const std::vector< double > &  vec  ) 

bool TdkBlob::readString ( char *&  s  ) 

bool TdkBlob::writeString ( char *  s  ) 

void TdkBlob::clear (  ) 

void TdkBlob::reset (  ) 

int TdkBlob::pos (  ) 

void TdkBlob::pos ( int  position  ) 

std::string TdkBlob::getDBVersion (  ) 

void TdkBlob::setDBVersion ( std::string  dbVersion  ) 

bool TdkBlob::doubleSize (  )  [private]


Member Data Documentation

char* TdkBlob::data [protected]

int TdkBlob::buffer_size [protected]

int TdkBlob::blob_size [protected]

int TdkBlob::curr_pos [protected]

std::string TdkBlob::db_version [protected]


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:28 2007 for TDK by  doxygen 1.5.2