#include <engine.h>
Public Member Functions | |
| Engine (Config::Document &doc_config) | |
| ~Engine () | |
| bool | open (std::string dir, db_flags_t oflags) |
| bool | close (void) |
Public Attributes | |
| bool | is_opened |
| db_flags_t | oflags_ |
| std::tr1::shared_ptr< EngineImpl > | pimpl_ |
| Lux::Engine::Engine | ( | Config::Document & | doc_config | ) |
constructor
| doc_config | Reference to Config::Document |
| Lux::Engine::~Engine | ( | ) |
destructor
| bool Lux::Engine::close | ( | void | ) |
close a database
| bool Lux::Engine::open | ( | std::string | dir, | |
| db_flags_t | oflags | |||
| ) |
open a database
| dir | directory which the database exists | |
| oflags | open flag |
flag if the database is open or not
| db_flags_t Lux::Engine::oflags_ |
open flag
1.4.7