Nebula
Loading...
Searching...
No Matches
sqlite3factory.h
Go to the documentation of this file.
1#pragma once
2#ifndef DB_SQLITE3FACTORY_H
3#define DB_SQLITE3FACTORY_H
4//------------------------------------------------------------------------------
14#include "db/dbfactory.h"
15
16//------------------------------------------------------------------------------
17namespace Db
18{
20{
23public:
27 virtual ~Sqlite3Factory();
29 virtual Ptr<Database> CreateDatabase() const;
31 virtual Ptr<Command> CreateCommand() const;
33 virtual Ptr<Table> CreateTable() const;
34
35protected:
36 friend class Sqlite3Database;
37 friend class Sqlite3Table;
38
40 virtual Ptr<Dataset> CreateDataset() const;
42 virtual Ptr<FilterSet> CreateFilterSet() const;
43};
44
45} // namespace Db
46//------------------------------------------------------------------------------
47#endif
DbFactory object for the Db subsystem.
Definition dbfactory.h:31
SQLite3 implementation of Db::Database.
Definition sqlite3database.h:38
Creates Db objects derived for the Sqlite3 Db wrapper.
Definition sqlite3factory.h:20
Sqlite3Factory()
constructor
Definition sqlite3factory.cc:22
virtual Ptr< Table > CreateTable() const
create a table object
Definition sqlite3factory.cc:57
virtual ~Sqlite3Factory()
destructor
Definition sqlite3factory.cc:30
__DeclareClass(Sqlite3Factory)
virtual Ptr< Command > CreateCommand() const
create a command object
Definition sqlite3factory.cc:48
virtual Ptr< Dataset > CreateDataset() const
create a dataset object
Definition sqlite3factory.cc:67
virtual Ptr< Database > CreateDatabase() const
create a database object
Definition sqlite3factory.cc:39
__DeclareSingleton(Sqlite3Factory)
virtual Ptr< FilterSet > CreateFilterSet() const
create a filter object
Definition sqlite3factory.cc:77
Definition sqlite3table.h:20
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition column.cc:10