|
Nebula
|
#include <dbfactory.h>
DbFactory object for the Db subsystem.
Inherits Core::RefCounted.
Inherited by Db::Sqlite3Factory.
Public Member Functions | |
| DbFactory () | |
| constructor | |
| virtual | ~DbFactory () |
| destructor | |
| virtual Ptr< Table > | CreateTable () const |
| create a table object | |
| virtual Ptr< Database > | CreateDatabase () const |
| create a database object | |
| virtual Ptr< Command > | CreateCommand () const |
| create a command object | |
| virtual Ptr< Relation > | CreateRelation () const |
| create a relation object | |
| virtual Ptr< Reader > | CreateReader () const |
| create a database reader | |
| virtual Ptr< Writer > | CreateWriter () const |
| create a database writer | |
Public Member Functions inherited from Core::RefCounted | |
| RefCounted () | |
| constructor | |
| int | GetRefCount () const |
| get the current refcount | |
| void | AddRef () |
| increment refcount by one | |
| void | Release () |
| decrement refcount and destroy object if refcount is zero | |
| bool | IsInstanceOf (const Rtti &rtti) const |
| return true if this object is instance of given class | |
| bool | IsInstanceOf (const Util::String &className) const |
| return true if this object is instance of given class by string | |
| bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
| return true if this object is instance of given class by fourcc | |
| bool | IsA (const Rtti &rtti) const |
| return true if this object is instance of given class, or a derived class | |
| bool | IsA (const Util::String &rttiName) const |
| return true if this object is instance of given class, or a derived class, by string | |
| bool | IsA (const Util::FourCC &rttiFourCC) const |
| return true if this object is instance of given class, or a derived class, by fourcc | |
| const Util::String & | GetClassName () const |
| get the class name | |
| Util::FourCC | GetClassFourCC () const |
| get the class FourCC code | |
Protected Member Functions | |
| virtual Ptr< Dataset > | CreateDataset () const |
| create a dataset object | |
| virtual Ptr< ValueTable > | CreateValueTable () const |
| create a value table | |
| virtual Ptr< FilterSet > | CreateFilterSet () const |
| create a filter object | |
Protected Member Functions inherited from Core::RefCounted | |
| virtual | ~RefCounted () |
| destructor (called when refcount reaches zero) | |
Private Member Functions | |
| __DeclareClass (DbFactory) | |
| __DeclareSingleton (DbFactory) | |
Friends | |
| class | Database |
| class | Table |
| class | Dataset |
| class | Writer |
| class | Reader |
Additional Inherited Members | |
Static Public Member Functions inherited from Core::RefCounted | |
| static void | DumpRefCountingLeaks () |
| dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!) | |
| Db::DbFactory::DbFactory | ( | ) |
constructor
|
virtual |
destructor
|
private |
|
private |
create a command object
Reimplemented in Db::Sqlite3Factory.
create a database object
Reimplemented in Db::Sqlite3Factory.
create a dataset object
Reimplemented in Db::Sqlite3Factory.
create a filter object
Reimplemented in Db::Sqlite3Factory.
create a table object
Reimplemented in Db::Sqlite3Factory.
|
protectedvirtual |
create a value table
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |