CompleteDB Embedded: Direct C++ API  2.4.2
FastStatement Class Reference

Base class that defines an API to prepare a statement for fast execution. More...

#include <FastStatement.hpp>

+ Inheritance diagram for FastStatement:

Public Member Functions

virtual bool cast (const Object &from)
virtual bool isConnected () const
virtual bool isDisconnected () const
virtual Type::Enum getClassType () const
virtual Type::Enum getObjectType () const
virtual Error::Enum getLastErrorId () const
virtual const char * getLastError () const
virtual bool prepare ()
FastStatementoperator= (const FastStatement &src)
 FastStatement (const FastStatement &src)
virtual ~FastStatement ()
 FastStatement ()
- Public Member Functions inherited from Object
void * get () const
Objectoperator= (const Object &src)
 Object (const Object &src)
virtual ~Object ()
 Object ()
- Public Member Functions inherited from LastError
LastErroroperator= (const LastError &src)
 LastError (const LastError &src)
virtual ~LastError ()
 LastError ()

Additional Inherited Members

- Protected Member Functions inherited from Object
 Object (void *src)
- Protected Attributes inherited from Object
void * m

Detailed Description

Base class that defines an API to prepare a statement for fast execution.

Definition at line 16 of file FastStatement.hpp.

Constructor & Destructor Documentation

FastStatement ( const FastStatement src)
inline

Definition at line 65 of file FastStatement.hpp.

virtual ~FastStatement ( )
inlinevirtual

Definition at line 69 of file FastStatement.hpp.

FastStatement ( )
inline

Definition at line 70 of file FastStatement.hpp.

Member Function Documentation

virtual bool cast ( const Object from)
inlinevirtual

Performs safe typecast.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 26 of file FastStatement.hpp.

virtual Type::Enum getClassType ( ) const
inlinevirtual

class type of the object.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 38 of file FastStatement.hpp.

virtual const char* getLastError ( ) const
inlinevirtual

Retrieves the calling object last-error text message.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 53 of file FastStatement.hpp.

virtual Error::Enum getLastErrorId ( ) const
inlinevirtual

Retrieves the calling object last-error id value.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 49 of file FastStatement.hpp.

virtual Type::Enum getObjectType ( ) const
inlinevirtual

object type of the underlying derived object.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 42 of file FastStatement.hpp.

virtual bool isConnected ( ) const
inlinevirtual

if underlying database is connected.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 30 of file FastStatement.hpp.

virtual bool isDisconnected ( ) const
inlinevirtual

if underlying database is not connected.

Reimplemented from LastError.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 34 of file FastStatement.hpp.

FastStatement& operator= ( const FastStatement src)
inline

Definition at line 64 of file FastStatement.hpp.

virtual bool prepare ( )
inlinevirtual

Validates and prepares statement for execution.

Reimplemented in Record, CreateTable, and Statement.

Definition at line 60 of file FastStatement.hpp.


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