Store parameter information used by the database instance to execute queries (select) or nonqueries (insert, update, delete) More...
#include <DataParameter.h>
Public Types | |
enum | PARAMETER_DIRECTION { PARAM_IN, PARAM_OUT, PARAM_INOUT } |
Public Member Functions | |
DataParameterBase (PARAMETER_DIRECTION paramDirection=DataParameterBase::PARAM_IN) | |
Constructor. More... | |
DataParameterBase (const string ¶mName, DataType::DATA_TYPE paramType, PARAMETER_DIRECTION paramDirection=DataParameterBase::PARAM_IN, const unsigned int dimension=0) | |
Constructor. More... | |
DataParameterBase (const DataParameterBase &source) | |
Constructor. More... | |
DataParameterBase & | operator= (const DataParameterBase &source) |
virtual | ~DataParameterBase () |
Destructor. More... | |
void | setName (const string &name) |
string | getName () const |
void | setDirection (const PARAMETER_DIRECTION paramDirection) |
PARAMETER_DIRECTION | getDirection () const |
void | setType (const DataType::DATA_TYPE dataType) |
DataType::DATA_TYPE | getType () const |
void * | getStoragePointer () |
const void * | getReadStoragePointer () const |
virtual void ** | getBindHandle () |
virtual void * | getIndicatorValue ()=0 |
virtual void | setDimension (const unsigned int dimension) |
virtual unsigned int | getDimension () const |
virtual bool | isNULLValue () const =0 |
virtual void | push_back (const string &value) |
virtual const string & | getElement (size_t position) const |
virtual void | setString (string value) |
void | setInt (int value) |
void | setLong (long value) |
void | setShort (short value) |
virtual void | setDate (string value) |
int | getInt () |
long | getLong () |
short | getShort () |
string | getString () |
Protected Attributes | |
string | m_Name |
PARAMETER_DIRECTION | m_Direction |
DataType::DATA_TYPE | m_Type |
unsigned int | m_Dimension |
unsigned char * | m_StoragePointer |
Store parameter information used by the database instance to execute queries (select) or nonqueries (insert, update, delete)
|
inlineexplicit |
Constructor.
paramDirection | type PARAMETER_DIRECTION The type of parameter |
|
inline |
Constructor.
paramName | type string The parameter name |
paramType | type DATA_TYPE The parameter datatype |
paramDirection | type PARAMETER_DIRECTION The parameter direction |
|
inline |
Constructor.
source | type DataParameterBase Source instance containing new paramter information |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Reimplemented in FinTP::OracleParameter< T >, and FinTP::OracleParameter< vector< string > >.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in FinTP::OracleParameter< T >, FinTP::OracleParameter< vector< string > >, and FinTP::ODBCParameter< T >.
int DataParameterBase::getInt | ( | ) |
long DataParameterBase::getLong | ( | ) |
|
inline |
|
inline |
short DataParameterBase::getShort | ( | ) |
|
inline |
string DataParameterBase::getString | ( | ) |
|
inline |
|
pure virtual |
Implemented in FinTP::OracleParameter< T >, FinTP::OracleParameter< vector< string > >, and FinTP::ODBCParameter< T >.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
void DataParameterBase::setInt | ( | int | value | ) |
void DataParameterBase::setLong | ( | long | value | ) |
|
inline |
void DataParameterBase::setShort | ( | short | value | ) |
|
virtual |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |