25 #ifndef LSST_MWI_PERSISTENCE_LOGICALLOCATION_H 26 #define LSST_MWI_PERSISTENCE_LOGICALLOCATION_H 50 #include "lsst/base.h" 51 #include "lsst/daf/base/Citizen.h" 52 #include "lsst/daf/base/PropertySet.h" 56 namespace persistence {
62 typedef std::shared_ptr<LogicalLocation>
Ptr;
65 CONST_PTR(dafBase::PropertySet) additionalData = CONST_PTR(dafBase::PropertySet)());
71 std::string _locString;
72 static PTR(dafBase::PropertySet) _map;
Class for logical location of a persisted Persistable instance.
std::string const & locString(void) const
Accessor.
std::shared_ptr< LogicalLocation > Ptr
LogicalLocation(std::string const &locString, boost::shared_ptr< dafBase::PropertySet const > additionalData=boost::shared_ptr< dafBase::PropertySet const >())
Constructor from string and additional data.
static void setLocationMap(boost::shared_ptr< dafBase::PropertySet > map)
Set the logical-to-less-logical map.