Concrete data channel class for SQL type "tinyint" (1 byte words). More...
#include <DataChannel.hxx>
Public Member Functions | |
void | input (TableData< DataType > &data, int colNo, ByteArray &bytes) |
Channel "tinyint" data from byte array to data table. | |
void | output (TableData< DataType > &data, int colNo, ByteArray &bytes) |
Channel data from the table into "tinyint" words in the byte array. | |
void | output (DataType &data, ByteArray &bytes) |
int | getWordSize () |
Return "tinyint" word size. | |
virtual | ~DataChannel_SQL_tinyint () |
Concrete data channel class for SQL type "tinyint" (1 byte words).
virtual DataChannel_SQL_tinyint< DataType >::~DataChannel_SQL_tinyint | ( | ) | [inline, virtual] |
int DataChannel_SQL_tinyint< DataType >::getWordSize | ( | ) | [inline, virtual] |
Return "tinyint" word size.
Implements DataChannel< DataType >.
void DataChannel_SQL_tinyint< DataType >::input | ( | TableData< DataType > & | data, | |
int | colNo, | |||
ByteArray & | bytes | |||
) | [inline, virtual] |
Channel "tinyint" data from byte array to data table.
Implements DataChannel< DataType >.
References TableData< DataType >::assign(), ByteArray::getNextWord(), and ByteArray::getNumRecords().
void DataChannel_SQL_tinyint< DataType >::output | ( | DataType & | data, | |
ByteArray & | bytes | |||
) | [inline, virtual] |
Implements DataChannel< DataType >.
References ByteArray::putNextWord().
void DataChannel_SQL_tinyint< DataType >::output | ( | TableData< DataType > & | data, | |
int | colNo, | |||
ByteArray & | bytes | |||
) | [inline, virtual] |
Channel data from the table into "tinyint" words in the byte array.
Implements DataChannel< DataType >.
References ByteArray::getNumRecords(), ByteArray::putNextWord(), and TableData< DataType >::value().