ClanLib  2.3.7
List of all members
CL_DBCommandProvider Class Referenceabstract

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. More...
 
virtual int get_output_last_insert_rowid () const =0
 Returns the output parameter containing the row id of the last inserted row. More...
 
Operations
virtual void set_input_parameter_string (int index, const CL_StringRef &value)=0
 Sets the specified input parameter index from a string value. More...
 
virtual void set_input_parameter_bool (int index, bool value)=0
 Sets the specified input parameter index from a boolean value. More...
 
virtual void set_input_parameter_int (int index, int value)=0
 Sets the specified input parameter index from an integer value. More...
 
virtual void set_input_parameter_double (int index, double value)=0
 Sets the specified input parameter index from a double value. More...
 
virtual void set_input_parameter_datetime (int index, const CL_DateTime &value)=0
 Sets the specified input parameter index from a CL_DateTime value. More...
 
virtual void set_input_parameter_binary (int index, const CL_DataBuffer &value)=0
 Sets the specified input parameter index from a CL_DataBuffer value. More...
 

Detailed Description

Database command provider.

Constructor & Destructor Documentation

virtual CL_DBCommandProvider::~CL_DBCommandProvider ( )
inlinevirtual

Member Function Documentation

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.


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