DCL 4.0
Loading...
Searching...
No Matches
SQL::Field Class Referenceabstract

#include <SQLCore.h>

Inheritance diagram for SQL::Field:
Object IBField IFXField MyField OciField PgField SQL::Param IBParam IFXParam MyParam OciParam PgParam

Public Member Functions

virtual bool isNull () const =0
virtual const wchar_t * serverDataTypeName () const =0
Public Member Functions inherited from Object
virtual String toString () const
virtual void destroy ()
String className () const
bool isInstanceOf (const std::type_info &typeinfo) const
virtual const std::type_info & typeInfo () const

Protected Member Functions

 Field (Query *_queryHandle)
virtual ~Field ()
virtual bool __getDataSize (size_t *_pn, bool _maxSize)=0
virtual bool __getData (void *_pv, size_t *_pn, DataType _dataType)=0
Protected Member Functions inherited from Object
virtual ~Object ()
 Object ()

Protected Attributes

Query__queryHandle
String __name
DataType __dataType
short __precision
short __scale

Detailed Description

Definition at line 140 of file SQLCore.h.

Constructor & Destructor Documentation

◆ Field()

SQL::Field::Field ( Query * _queryHandle)
protected

◆ ~Field()

SQL::Field::~Field ( )
protectedvirtual

Definition at line 163 of file SQLCore.cpp.

164{
165}

Member Function Documentation

◆ __getData()

virtual bool SQL::Field::__getData ( void * _pv,
size_t * _pn,
DataType _dataType )
protectedpure virtual

◆ __getDataSize()

virtual bool SQL::Field::__getDataSize ( size_t * _pn,
bool _maxSize )
protectedpure virtual

◆ isNull()

virtual bool SQL::Field::isNull ( ) const
pure virtual

◆ serverDataTypeName()

virtual const wchar_t * SQL::Field::serverDataTypeName ( ) const
pure virtual

Member Data Documentation

◆ __dataType

DataType SQL::Field::__dataType
protected

Definition at line 184 of file SQLCore.h.

◆ __name

String SQL::Field::__name
protected

Definition at line 183 of file SQLCore.h.

◆ __precision

short SQL::Field::__precision
protected

Definition at line 185 of file SQLCore.h.

◆ __queryHandle

Query* SQL::Field::__queryHandle
protected

Definition at line 182 of file SQLCore.h.

◆ __scale

short SQL::Field::__scale
protected

Definition at line 186 of file SQLCore.h.


The documentation for this class was generated from the following files: