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

Base class that defines an API for error handling. More...

#include <LastError.hpp>

+ Inheritance diagram for LastError:

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
LastErroroperator= (const LastError &src)
 LastError (const LastError &src)
virtual ~LastError ()
 LastError ()
- Public Member Functions inherited from Object
void * get () const
Objectoperator= (const Object &src)
 Object (const Object &src)
virtual ~Object ()
 Object ()

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 for error handling.

Definition at line 15 of file LastError.hpp.

Constructor & Destructor Documentation

LastError ( const LastError src)
inline

Definition at line 56 of file LastError.hpp.

virtual ~LastError ( )
inlinevirtual

Definition at line 60 of file LastError.hpp.

LastError ( )
inline

Definition at line 61 of file LastError.hpp.

Member Function Documentation

virtual bool cast ( const Object from)
inlinevirtual

Performs safe typecast.

Reimplemented from Object.

Reimplemented in Database, Record, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 24 of file LastError.hpp.

virtual Type::Enum getClassType ( ) const
inlinevirtual

class type of the object.

Reimplemented from Object.

Reimplemented in Database, Record, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 36 of file LastError.hpp.

virtual const char* getLastError ( ) const
inlinevirtual

Retrieves the calling object last-error text message.

Reimplemented in Record, Database, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 51 of file LastError.hpp.

virtual Error::Enum getLastErrorId ( ) const
inlinevirtual

Retrieves the calling object last-error id value.

Reimplemented in Record, Database, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 47 of file LastError.hpp.

virtual Type::Enum getObjectType ( ) const
inlinevirtual

object type of the underlying derived object.

Reimplemented from Object.

Reimplemented in Database, Record, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 40 of file LastError.hpp.

virtual bool isConnected ( ) const
inlinevirtual

if underlying database is connected.

Reimplemented from Object.

Reimplemented in Database, Record, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 28 of file LastError.hpp.

virtual bool isDisconnected ( ) const
inlinevirtual

if underlying database is not connected.

Reimplemented from Object.

Reimplemented in Database, Record, Table, CreateTable, Config, FastStatement, and Statement.

Definition at line 32 of file LastError.hpp.

LastError& operator= ( const LastError src)
inline

Definition at line 55 of file LastError.hpp.


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