IBR-DTNSuite
0.12
|
#include <SQLiteBundleSet.h>
Public Member Functions | |
Factory (SQLiteDatabase &db) | |
~Factory () | |
dtn::data::BundleSetImpl * | create (dtn::data::BundleSet::Listener *listener, dtn::data::Size bf_size) |
dtn::data::BundleSetImpl * | create (const std::string &name, dtn::data::BundleSet::Listener *listener, dtn::data::Size bf_size) |
Static Public Member Functions | |
static size_t | create (SQLiteDatabase &db) throw (SQLiteDatabase::SQLiteQueryException) |
static size_t | create (SQLiteDatabase &db, const std::string &name) throw (SQLiteDatabase::SQLiteQueryException) |
static size_t | __create (SQLiteDatabase &db, const std::string &name, bool persistent) throw (SQLiteDatabase::SQLiteQueryException) |
static bool | __exists (SQLiteDatabase &db, const std::string &name, bool persistent) throw (SQLiteDatabase::SQLiteQueryException) |
Definition at line 41 of file SQLiteBundleSet.h.
dtn::storage::SQLiteBundleSet::Factory::Factory | ( | SQLiteDatabase & | db) |
Definition at line 34 of file SQLiteBundleSet.cpp.
|
virtual |
Implements dtn::data::BundleSet::Factory.
Definition at line 39 of file SQLiteBundleSet.cpp.
|
static |
Definition at line 80 of file SQLiteBundleSet.cpp.
References dtn::storage::SQLiteDatabase::Statement::step().
|
static |
Definition at line 100 of file SQLiteBundleSet.cpp.
References dtn::storage::SQLiteDatabase::Statement::step().
|
virtual |
Implements dtn::data::BundleSet::Factory.
Definition at line 43 of file SQLiteBundleSet.cpp.
References create(), and dtn::storage::SQLiteBundleSet::SQLiteBundleSet().
Referenced by dtn::storage::SQLiteBundleSet::copy(), and create().
|
virtual |
Implements dtn::data::BundleSet::Factory.
Definition at line 52 of file SQLiteBundleSet.cpp.
References dtn::storage::SQLiteBundleSet::SQLiteBundleSet().
|
static |
creates an anonymous bundle-set and returns its ID
Definition at line 61 of file SQLiteBundleSet.cpp.
References dtn::utils::Random::gen_chars().
|
static |
creates a named bundle-set or returns the ID of an existing bundle-set
Definition at line 74 of file SQLiteBundleSet.cpp.