NCBI C++ ToolKit
Public Member Functions | List of all members
I_BaseCmd Class Referenceabstract

Search Toolkit Book for I_BaseCmd

I_BaseCmd:: More...

#include <dbapi/driver/interfaces.hpp>

+ Inheritance diagram for I_BaseCmd:
+ Collaboration diagram for I_BaseCmd:

Public Member Functions

 I_BaseCmd (void)
virtual ~I_BaseCmd (void)
virtual bool Send (void)=0
 Send command to the server. More...
virtual bool WasSent (void) const =0
 Implementation-specific. More...
virtual bool Cancel (void)=0
 Cancel the command execution. More...
virtual bool WasCanceled (void) const =0
 Implementation-specific. More...
virtual CDB_ResultResult (void)=0
 Get result set. More...
virtual bool HasMoreResults (void) const =0
virtual bool HasFailed (void) const =0
virtual int RowCount (void) const =0
 Get the number of rows affected by the command Special case: negative on error or if there is no way that this command could ever affect any rows (like PRINT). More...
virtual void DumpResults (void)=0
 Dump the results of the command if result processor is installed for this connection, it will be called for each result set. More...
- Public Member Functions inherited from CParamRecordset
 CParamRecordset (void)
virtual ~CParamRecordset (void)
virtual CDBParamsGetDefineParams (void)=0
 Get meta-information about defined parameters. More...
- Public Member Functions inherited from CParamStmt
 CParamStmt (void)
virtual ~CParamStmt (void)
virtual CDBParamsGetBindParams (void)=0
 Get meta-information about binded parameters. More...

Detailed Description


Abstract base class for most "command" interface classes.

Definition at line 435 of file interfaces.hpp.

The documentation for this class was generated from the following files:
Modified on Mon Jul 15 05:33:18 2024 by rev. 669887