lsst.daf.persistence
14.0-14-g87d16e8+9
|
Class for implementation of database storage. More...
#include <DbStorageImpl.h>
Public Types | |
typedef unsigned long | memId |
typedef memId(* | memNewCallback) (const memId cid) |
typedef memId(* | memCallback) (const Citizen *ptr) |
Public Member Functions | |
virtual | ~DbStorageImpl (void) |
Destructor. More... | |
template<> | |
void | setColumn (std::string const &columnName, std::string const &value) |
template<> | |
void | setColumn (std::string const &columnName, dafBase::DateTime const &value) |
template<> | |
void | outParam (std::string const &columnName, std::string *location, bool isExpr) |
template<> | |
void | outParam (std::string const &columnName, dafBase::DateTime *location, bool isExpr) |
template<> | |
std::string const & | getColumnByPos (int pos) |
template<> | |
dafBase::DateTime const & | getColumnByPos (int pos) |
std::string | repr () const |
void | markPersistent (void) |
memId | getId () const |
Static Public Member Functions | |
static bool | hasBeenCorrupted () |
static memId | getNextMemId () |
static int | init () |
static int | census (int, memId startingMemId=0) |
static void | census (std::ostream &stream, memId startingMemId=0) |
static const std::vector< const Citizen *> * | census () |
static int | census (int, memId startingMemId=0) |
static void | census (std::ostream &stream, memId startingMemId=0) |
static const std::vector< const Citizen *> * | census () |
static memId | setNewCallbackId (memId id) |
static memId | setNewCallbackId (memId id) |
static memId | setDeleteCallbackId (memId id) |
static memId | setDeleteCallbackId (memId id) |
static memNewCallback | setNewCallback (memNewCallback func) |
static memCallback | setDeleteCallback (memCallback func) |
static memCallback | setCorruptionCallback (memCallback func) |
Public Attributes | |
magicSentinel | |
Friends | |
class | DbStorage |
Class for implementation of database storage.
Use via DbStorage class only.
Definition at line 79 of file DbStorageImpl.h.
|
virtual |
std::string const& lsst::daf::persistence::DbStorageImpl::getColumnByPos | ( | int | pos | ) |
Definition at line 920 of file DbStorageImpl.cc.
dafBase::DateTime const& lsst::daf::persistence::DbStorageImpl::getColumnByPos | ( | int | pos | ) |
Definition at line 949 of file DbStorageImpl.cc.
void lsst::daf::persistence::DbStorageImpl::outParam | ( | std::string const & | columnName, |
std::string * | location, | ||
bool | isExpr | ||
) |
Definition at line 587 of file DbStorageImpl.cc.
void lsst::daf::persistence::DbStorageImpl::outParam | ( | std::string const & | columnName, |
dafBase::DateTime * | location, | ||
bool | isExpr | ||
) |
Definition at line 607 of file DbStorageImpl.cc.
void lsst::daf::persistence::DbStorageImpl::setColumn | ( | std::string const & | columnName, |
std::string const & | value | ||
) |
Definition at line 375 of file DbStorageImpl.cc.
void lsst::daf::persistence::DbStorageImpl::setColumn | ( | std::string const & | columnName, |
dafBase::DateTime const & | value | ||
) |
Definition at line 395 of file DbStorageImpl.cc.
|
friend |
Definition at line 85 of file DbStorageImpl.h.