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

#include <SQLCore.h>

Inheritance diagram for SQL::Param:
SQL::Field Object IBParam IFXParam MyParam OciParam PgParam

Protected Member Functions

 Param (Query *_queryHandle)
virtual ~Param ()
virtual bool __setData (_CONST void *_pv, size_t _n, DataType _dataType, DataType _assignType)=0
virtual bool isNull () const
virtual bool __setDataType (DataType _dataType)
virtual bool __getDataSize (size_t *_pn, bool _maxSize)
virtual bool __getData (void *_pv, size_t *_pn, DataType _dataType)
Protected Member Functions inherited from SQL::Field
 Field (Query *_queryHandle)
virtual ~Field ()
Protected Member Functions inherited from Object
virtual ~Object ()
 Object ()

Additional Inherited Members

Public Member Functions inherited from SQL::Field
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 Attributes inherited from SQL::Field
Query__queryHandle
String __name
DataType __dataType
short __precision
short __scale

Detailed Description

Definition at line 189 of file SQLCore.h.

Constructor & Destructor Documentation

◆ Param()

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

◆ ~Param()

SQL::Param::~Param ( )
protectedvirtual

Definition at line 296 of file SQLCore.cpp.

297{
298}

Member Function Documentation

◆ __getData()

bool SQL::Param::__getData ( void * _pv,
size_t * _pn,
DataType _dataType )
protectedvirtual

Implements SQL::Field.

Reimplemented in OciParam.

Definition at line 500 of file SQLCore.cpp.

505{
507 return false;
508}
#define __SET_ERROR(_errorCode)
Definition SQLCore.cpp:150
@ eNotSupportMethod
Definition SQLCore.h:25

◆ __getDataSize()

bool SQL::Param::__getDataSize ( size_t * _pn,
bool _maxSize )
protectedvirtual

Implements SQL::Field.

Reimplemented in OciParam.

Definition at line 491 of file SQLCore.cpp.

495{
497 return false;
498}

◆ __setData()

virtual bool SQL::Param::__setData ( _CONST void * _pv,
size_t _n,
DataType _dataType,
DataType _assignType )
protectedpure virtual

Implemented in IBParam, IFXParam, MyParam, OciParam, and PgParam.

◆ __setDataType()

bool SQL::Param::__setDataType ( DataType _dataType)
protectedvirtual

Reimplemented in OciParam.

Definition at line 483 of file SQLCore.cpp.

486{
488 return false;
489}

◆ isNull()

bool SQL::Param::isNull ( ) const
protectedvirtual

Implements SQL::Field.

Reimplemented in OciParam.

Definition at line 478 of file SQLCore.cpp.

479{
480 return true;
481}

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