SqlTinyInt Class Reference

SQL tiny int (1-bit char) binary data -> C data type converter. More...

#include <BinaryDatum.h>

Inheritance diagram for SqlTinyInt:
Inheritance graph
[legend]
Collaboration diagram for SqlTinyInt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SqlTinyInt (unsigned aBufIndex=0)
 Constructor just sets the buffer read position for this datum.
virtual ~SqlTinyInt ()
 Empty virtual destructor to keep compiler happy.
virtual double extractDoubleFrom (char *aBufferAry) const
virtual unsigned long long extractBigIntFrom (char *aBufferAry) const
virtual unsigned getNumBits () const
 Returns the size of the binary datum in bits.

Detailed Description

SQL tiny int (1-bit char) binary data -> C data type converter.

Definition at line 223 of file BinaryDatum.h.


Constructor & Destructor Documentation

SqlTinyInt::SqlTinyInt ( unsigned  aBufIndex = 0  )  [inline]

Constructor just sets the buffer read position for this datum.

Parameters:
aBufIndex Offset in buffer array where this datum exists

Definition at line 229 of file BinaryDatum.h.

virtual SqlTinyInt::~SqlTinyInt (  )  [inline, virtual]

Empty virtual destructor to keep compiler happy.

Definition at line 232 of file BinaryDatum.h.


Member Function Documentation

virtual unsigned long long SqlTinyInt::extractBigIntFrom ( char *  aBufferAry  )  const [inline, virtual]

Read binary datum at current index and return a big int representation

Parameters:
aBufferAry The buffer array of binary data to be read
Returns:
The value of the binary data represented as a unsigned long long

Implements BinaryDatum.

Definition at line 247 of file BinaryDatum.h.

References BinaryDatum::mBufIndex.

virtual double SqlTinyInt::extractDoubleFrom ( char *  aBufferAry  )  const [inline, virtual]

Read binary datum at current index and return a double representation

Parameters:
aBufferAry The buffer array of binary data to be read
Returns:
The value of the binary data represented as a double

Implements BinaryDatum.

Definition at line 238 of file BinaryDatum.h.

References BinaryDatum::mBufIndex.

virtual unsigned SqlTinyInt::getNumBits (  )  const [inline, virtual]

Returns the size of the binary datum in bits.

Implements BinaryDatum.

Definition at line 253 of file BinaryDatum.h.


The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:40:36 2010 for Matching.kdevelop by  doxygen 1.6.3