Database command provider. More...
#include <db_command_provider.h>
Public Member Functions | |
Construction | |
| virtual | ~CL_DBCommandProvider () |
Attributes | |
| virtual int | get_input_parameter_column (const CL_StringRef &name) const =0 |
| Returns the index for a given input parameter name. | |
| virtual int | get_output_last_insert_rowid () const =0 |
| Returns the output parameter containing the row id of the last inserted row. | |
Operations | |
| virtual void | set_input_parameter_string (int index, const CL_StringRef &value)=0 |
| Sets the specified input parameter index from a string value. | |
| virtual void | set_input_parameter_bool (int index, bool value)=0 |
| Sets the specified input parameter index from a boolean value. | |
| virtual void | set_input_parameter_int (int index, int value)=0 |
| Sets the specified input parameter index from an integer value. | |
| virtual void | set_input_parameter_double (int index, double value)=0 |
| Sets the specified input parameter index from a double value. | |
| virtual void | set_input_parameter_datetime (int index, const CL_DateTime &value)=0 |
| Sets the specified input parameter index from a CL_DateTime value. | |
| virtual void | set_input_parameter_binary (int index, const CL_DataBuffer &value)=0 |
| Sets the specified input parameter index from a CL_DataBuffer value. | |
Database command provider.
| virtual CL_DBCommandProvider::~CL_DBCommandProvider | ( | ) | [inline, virtual] |
| virtual int CL_DBCommandProvider::get_input_parameter_column | ( | const CL_StringRef & | name | ) | const [pure virtual] |
Returns the index for a given input parameter name.
| virtual int CL_DBCommandProvider::get_output_last_insert_rowid | ( | ) | const [pure virtual] |
Returns the output parameter containing the row id of the last inserted row.
| virtual void CL_DBCommandProvider::set_input_parameter_binary | ( | int | index, | |
| const CL_DataBuffer & | value | |||
| ) | [pure virtual] |
Sets the specified input parameter index from a CL_DataBuffer value.
| virtual void CL_DBCommandProvider::set_input_parameter_bool | ( | int | index, | |
| bool | value | |||
| ) | [pure virtual] |
Sets the specified input parameter index from a boolean value.
| virtual void CL_DBCommandProvider::set_input_parameter_datetime | ( | int | index, | |
| const CL_DateTime & | value | |||
| ) | [pure virtual] |
Sets the specified input parameter index from a CL_DateTime value.
| virtual void CL_DBCommandProvider::set_input_parameter_double | ( | int | index, | |
| double | value | |||
| ) | [pure virtual] |
Sets the specified input parameter index from a double value.
| virtual void CL_DBCommandProvider::set_input_parameter_int | ( | int | index, | |
| int | value | |||
| ) | [pure virtual] |
Sets the specified input parameter index from an integer value.
| virtual void CL_DBCommandProvider::set_input_parameter_string | ( | int | index, | |
| const CL_StringRef & | value | |||
| ) | [pure virtual] |
Sets the specified input parameter index from a string value.
1.7.1