#include <ODBCField.h>
|
| static const wchar_t * | __TYPE_NAME (SQLSMALLINT _type) |
| static SQLULEN | __TYPE_SIZE (SQLSMALLINT _type, SQLULEN _size) |
| static size_t | __TYPE_ALIGN (size_t _offset, SQLSMALLINT _type) |
| static SQLSMALLINT | __VALUE_TYPE (SQLSMALLINT _type) |
| | Field (Query *_queryHandle) |
| virtual | ~Field () |
| virtual | ~Object () |
| | Object () |
| virtual ODBCQuery * | query () const =0 |
| ODBCConnection * | conn () const |
| | ODBCData () |
| SQL::DataType | init (BIND *_bind) |
| const wchar_t * | serverDataTypeName () const |
| bool | __getDataSize (size_t *_size, bool _maxsize) |
| bool | __getData (void *_buf, size_t *_size, SQL::DataType _bufType) |
| bool | getInteger (void *_buf, size_t *_size) |
| bool | getUInteger (void *_buf, size_t *_size) |
| bool | getFloat (void *_buf, size_t *_size) |
| bool | getDate (SQL::Date *_buf, size_t *_size) |
| bool | getTime (SQL::Time *_buf, size_t *_size) |
| bool | getTimeStamp (SQL::TimeStamp *_buf, size_t *_size) |
| bool | getInterval (SQL::Interval *_buf, size_t *_size) |
| bool | getBytes (byte_t *_buf, size_t *_size) |
| bool | writeTo (OutputStream *_output, size_t *_size) |
| Query * | __queryHandle |
| String | __name |
| DataType | __dataType |
| short | __precision |
| short | __scale |
| BIND * | __bind |
| size_t | __maxsize |
Definition at line 6 of file ODBCField.h.
◆ ODBCField()
◆ ~ODBCField()
| ODBCField::~ODBCField |
( |
| ) |
|
|
virtual |
◆ __getData()
| bool ODBCField::__getData |
( |
void * | _buf, |
|
|
size_t * | _size, |
|
|
SQL::DataType | _bufType ) |
|
virtual |
Implements SQL::Field.
Definition at line 98 of file ODBCField.cpp.
103{
105}
bool __getData(void *_buf, size_t *_size, SQL::DataType _bufType)
◆ __getDataSize()
| bool ODBCField::__getDataSize |
( |
size_t * | _size, |
|
|
bool | _maxsize ) |
|
virtual |
◆ init()
| bool ODBCField::init |
( |
SQL::Query * | _query, |
|
|
BIND * | _bind, |
|
|
const String & | _name ) |
Definition at line 70 of file ODBCField.cpp.
71{
73 Field::__queryHandle = _queryHandle;
74 Field::__name = _name;
76 Field::__scale = _bind->
scale;
78
81 return false;
82 }
83 return true;
84}
#define __DCL_ASSERT(expr)
#define __SET_ERROR(_errorCode)
SQL::DataType init(BIND *_bind)
◆ serverDataTypeName()
| const wchar_t * ODBCField::serverDataTypeName |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: