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

#include <SQLCore.h>

Inheritance diagram for SQL::Param:
SQL::Field Object IBParam IFXParam MyParam ODBCParam OciParam PeParam PqParam SqParam

Protected Member Functions

 Param (Query *_queryHandle)
virtual ~Param ()
virtual bool __setData (_CONST void *_val, size_t _size, DataType _valType, DataType _sqlType)=0
virtual bool __setOutputType (DataType _sqlType)
virtual bool __getDataSize (size_t *_size, bool _maxsize)
virtual bool __getData (void *_buf, size_t *_size, DataType _bufType)
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 193 of file SQLCore.h.

Constructor & Destructor Documentation

◆ Param()

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

◆ ~Param()

SQL::Param::~Param ( )
protectedvirtual

Definition at line 347 of file SQLCore.cpp.

348{
349}

Member Function Documentation

◆ __getData()

bool SQL::Param::__getData ( void * _buf,
size_t * _size,
DataType _bufType )
protectedvirtual

Implements SQL::Field.

Reimplemented in OciParam, and ODBCParam.

Definition at line 498 of file SQLCore.cpp.

503{
505 return false;
506}
#define __SET_ERROR(_errorCode)
Definition SQLCore.cpp:149
@ eNotSupportMethod
Definition SQLCore.h:25

◆ __getDataSize()

bool SQL::Param::__getDataSize ( size_t * _size,
bool _maxsize )
protectedvirtual

Implements SQL::Field.

Reimplemented in OciParam, and ODBCParam.

Definition at line 489 of file SQLCore.cpp.

493{
495 return false;
496}

◆ __setData()

virtual bool SQL::Param::__setData ( _CONST void * _val,
size_t _size,
DataType _valType,
DataType _sqlType )
protectedpure virtual

◆ __setOutputType()

bool SQL::Param::__setOutputType ( DataType _sqlType)
protectedvirtual

Reimplemented in OciParam, and ODBCParam.

Definition at line 481 of file SQLCore.cpp.

484{
486 return false;
487}

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