DataChannel_SQL_real< DataType > Class Template Reference

Concrete data channel class for SQL type "real" (4 byte words). More...

#include <DataChannel.hxx>

Inheritance diagram for DataChannel_SQL_real< DataType >:
Inheritance graph
[legend]
Collaboration diagram for DataChannel_SQL_real< DataType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void input (TableData< DataType > &data, int colNo, ByteArray &bytes)
 Channel "real" data from byte array to data table.
void output (TableData< DataType > &data, int colNo, ByteArray &bytes)
 Channel data from the table into "real" words in the byte array.
void output (DataType &data, ByteArray &bytes)
int getWordSize ()
 Return "real" word size.
virtual ~DataChannel_SQL_real ()

Private Attributes

union {
   char   bytes [wordSize]
   float   x
word

Static Private Attributes

static const int wordSize = 4

Detailed Description

template<typename DataType>
class DataChannel_SQL_real< DataType >

Concrete data channel class for SQL type "real" (4 byte words).


Constructor & Destructor Documentation

template<typename DataType >
virtual DataChannel_SQL_real< DataType >::~DataChannel_SQL_real (  )  [inline, virtual]

Member Function Documentation

template<typename DataType >
int DataChannel_SQL_real< DataType >::getWordSize (  )  [inline, virtual]

Return "real" word size.

Implements DataChannel< DataType >.

References DataChannel_SQL_real< DataType >::wordSize.

template<typename DataType >
void DataChannel_SQL_real< DataType >::input ( TableData< DataType > &  data,
int  colNo,
ByteArray bytes 
) [inline, virtual]
template<typename DataType >
void DataChannel_SQL_real< DataType >::output ( DataType &  data,
ByteArray bytes 
) [inline, virtual]
template<typename DataType >
void DataChannel_SQL_real< DataType >::output ( TableData< DataType > &  data,
int  colNo,
ByteArray bytes 
) [inline, virtual]

Member Data Documentation

template<typename DataType >
char DataChannel_SQL_real< DataType >::bytes[wordSize]
union { ... } DataChannel_SQL_real< DataType >::word [private]
template<typename DataType >
const int DataChannel_SQL_real< DataType >::wordSize = 4 [static, private]
template<typename DataType >
float DataChannel_SQL_real< DataType >::x

The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:25 2010 for WfcamSrc by  doxygen 1.6.3