I_BaseCmd Class Reference
[Database Server Interfaces]

Search Toolkit Book for I_BaseCmd

#include <interfaces.hpp>

Inheritance diagram for I_BaseCmd:

Inheritance graph
[legend]
Collaboration diagram for I_BaseCmd:

Collaboration graph
[legend]
List of all members.

Detailed Description

I_BaseCmd::.

Abstract base class for most "command" interface classes.

Definition at line 412 of file interfaces.hpp.

Public Member Functions

 I_BaseCmd (void)
virtual ~I_BaseCmd (void)
virtual bool Send (void)=0
 Send command to the server.
virtual bool WasSent (void) const =0
 Implementation-specific.
virtual bool Cancel (void)=0
 Cancel the command execution.
virtual bool WasCanceled (void) const =0
 Implementation-specific.
virtual CDB_ResultResult (void)=0
 Get result set.
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).
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.


Constructor & Destructor Documentation

I_BaseCmd::I_BaseCmd void   ) 
 

Definition at line 176 of file interfaces.cpp.

I_BaseCmd::~I_BaseCmd void   )  [virtual]
 

Definition at line 180 of file interfaces.cpp.


Member Function Documentation

virtual bool I_BaseCmd::Cancel void   )  [pure virtual]
 

Cancel the command execution.

Implemented in CDB_LangCmd, and CDB_RPCCmd.

Referenced by CStatement::Cancel().

virtual void I_BaseCmd::DumpResults void   )  [pure virtual]
 

Dump the results of the command if result processor is installed for this connection, it will be called for each result set.

Implemented in CDB_LangCmd, and CDB_RPCCmd.

virtual bool I_BaseCmd::HasFailed void   )  const [pure virtual]
 

Implemented in CDB_LangCmd, and CDB_RPCCmd.

virtual bool I_BaseCmd::HasMoreResults void   )  const [pure virtual]
 

Implemented in CDB_LangCmd, and CDB_RPCCmd.

Referenced by CStatement::HasMoreResults().

virtual CDB_Result* I_BaseCmd::Result void   )  [pure virtual]
 

Get result set.

Implemented in CDB_LangCmd, and CDB_RPCCmd.

Referenced by CStatement::HasMoreResults().

virtual int I_BaseCmd::RowCount void   )  const [pure virtual]
 

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).

Implemented in CDB_LangCmd, and CDB_RPCCmd.

Referenced by CStatement::HasMoreResults().

virtual bool I_BaseCmd::Send void   )  [pure virtual]
 

Send command to the server.

Implemented in CDB_LangCmd, and CDB_RPCCmd.

virtual bool I_BaseCmd::WasCanceled void   )  const [pure virtual]
 

Implementation-specific.

Implemented in CDB_LangCmd, and CDB_RPCCmd.

virtual bool I_BaseCmd::WasSent void   )  const [pure virtual]
 

Implementation-specific.

Implemented in CDB_LangCmd, and CDB_RPCCmd.


The documentation for this class was generated from the following files:
Generated on Wed Dec 9 08:12:40 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:12 2009 by modify_doxy.py rev. 173732