lsst.daf.persistence  16.0-1-gbdaa631+1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lsst::daf::persistence::LogicalLocation Class Reference

Class for logical location of a persisted Persistable instance. More...

#include <LogicalLocation.h>

Inheritance diagram for lsst::daf::persistence::LogicalLocation:
lsst::daf::base::Citizen

Public Types

typedef std::shared_ptr< LogicalLocationPtr
 
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
 

Detailed Description

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.

Member Typedef Documentation

◆ Ptr

Definition at line 62 of file LogicalLocation.h.

Constructor & Destructor Documentation

◆ LogicalLocation()

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.

Member Function Documentation

◆ locString()

std::string const & lsst::daf::persistence::LogicalLocation::locString ( void  ) const

Accessor.

Definition at line 128 of file LogicalLocation.cc.

◆ setLocationMap()

void lsst::daf::persistence::LogicalLocation::setLocationMap ( boost::shared_ptr< dafBase::PropertySet map)
static

Set the logical-to-less-logical map.

Definition at line 134 of file LogicalLocation.cc.


The documentation for this class was generated from the following files: