lsst.daf.persistence
14.0-14-g87d16e8+11
|
Class for logical location of a persisted Persistable instance. More...
#include <LogicalLocation.h>
Public Types | |
typedef std::shared_ptr< LogicalLocation > | Ptr |
typedef unsigned long | memId |
typedef memId(* | memNewCallback) (const memId cid) |
typedef memId(* | memCallback) (const Citizen *ptr) |
Public Member Functions | |
LogicalLocation (std::string const &locString, boost::shared_ptr< dafBase::PropertySet const > additionalData=boost::shared_ptr< dafBase::PropertySet const >()) | |
Constructor from string and additional data. More... | |
std::string const & | locString (void) const |
Accessor. More... | |
std::string | repr () const |
void | markPersistent (void) |
memId | getId () const |
Static Public Member Functions | |
static void | setLocationMap (boost::shared_ptr< dafBase::PropertySet > map) |
Set the logical-to-less-logical map. More... | |
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 | |
Class for logical location of a persisted Persistable instance.
Implemented as a minimal string representing a pathname or a database connection string. Interpreted by FormatterStorage subclasses.
Definition at line 60 of file LogicalLocation.h.
Definition at line 62 of file LogicalLocation.h.
lsst::daf::persistence::LogicalLocation::LogicalLocation | ( | std::string const & | locString, |
boost::shared_ptr< dafBase::PropertySet const > | additionalData = boost::shared_ptr< dafBase::PropertySet const>() |
||
) |
Constructor from string and additional data.
Definition at line 61 of file LogicalLocation.cc.
std::string const & lsst::daf::persistence::LogicalLocation::locString | ( | void | ) | const |
Accessor.
Definition at line 128 of file LogicalLocation.cc.
|
static |
Set the logical-to-less-logical map.
Definition at line 134 of file LogicalLocation.cc.