Parameter class provides database query parameters as objects. More...
#include <DataParameter.h>
Public Member Functions | |
DataParameter (PARAMETER_DIRECTION paramDirection=DataParameterBase::PARAM_IN) | |
Constructor parameterDirection type PARAMETER_DIRECTION The type of the parameter (in, out , inout) More... | |
DataParameter (const string ¶mName, PARAMETER_DIRECTION paramDirection=DataParameterBase::PARAM_IN) | |
Constructor. More... | |
DataParameter (const DataParameter< T > &source) | |
Constructor with parameter. More... | |
DataParameter< T > & | operator= (const DataParameter< T > &source) |
Stores the parameter type, value and dimension. More... | |
virtual void | setValue (T newValue)=0 |
virtual T | getValue () const =0 |
virtual void | setDimension (const unsigned int dimension) |
template<> | |
DataType::DATA_TYPE | getParamType () |
template<> | |
DataType::DATA_TYPE | getParamType () |
template<> | |
DataType::DATA_TYPE | getParamType () |
template<> | |
DataType::DATA_TYPE | getParamType () |
template<> | |
DataParameter (PARAMETER_DIRECTION paramDirection) | |
template<> | |
DataParameter (const string ¶mName, PARAMETER_DIRECTION paramDirection) | |
template<> | |
DataParameter (const DataParameter< string > &source) | |
template<> | |
DataParameter< string > & | operator= (const DataParameter< string > &source) |
template<> | |
DataType::DATA_TYPE | getParamType () |
template<> | |
DataType::DATA_TYPE | getParamType () |
Public Member Functions inherited from FinTP::DataParameterBase | |
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 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 () |
Static Public Member Functions | |
static DataType::DATA_TYPE | getParamType () |
Protected Attributes | |
T | m_Value |
Protected Attributes inherited from FinTP::DataParameterBase | |
string | m_Name |
PARAMETER_DIRECTION | m_Direction |
DataType::DATA_TYPE | m_Type |
unsigned int | m_Dimension |
unsigned char * | m_StoragePointer |
Additional Inherited Members | |
Public Types inherited from FinTP::DataParameterBase | |
enum | PARAMETER_DIRECTION { PARAM_IN, PARAM_OUT, PARAM_INOUT } |
Parameter class provides database query parameters as objects.
|
inlineexplicit |
Constructor parameterDirection type PARAMETER_DIRECTION The type of the parameter (in, out , inout)
|
inlineexplicit |
Constructor.
paramName | type String The parameter name |
paramDirection | type PARAMETER_DIRECTION The parameter direction |
|
inline |
Constructor with parameter.
source | type DataParameter |
|
inline |
parameterDirection | type PARAMETER_DIRECTION. The direction of the parameter |
|
inline |
paramName | type string The parameter name |
paramDirection | type PARAMETER_DIRECTION The parameter direction |
|
inline |
source | type DataParameter |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
|
inline |
Stores the parameter type, value and dimension.
source | type DataParameter The source instance |
|
inline |
source | type DataParameter |
|
inlinevirtual |
Reimplemented from FinTP::DataParameterBase.
Reimplemented in FinTP::OracleParameter< T >, FinTP::ODBCParameter< T >, FinTP::OracleParameter< T >, FinTP::OracleParameter< vector< string > >, and FinTP::ODBCParameter< T >.
|
pure virtual |
Implemented in FinTP::OracleParameter< T >, FinTP::OracleParameter< vector< string > >, and FinTP::ODBCParameter< T >.
|
protected |