Abstract base class for FormatterStorage implementations.
More...
#include <FormatterStorage.h>
Abstract base class for FormatterStorage implementations.
All subclasses of this base class must be added to StorageRegistry.
Definition at line 60 of file FormatterStorage.h.
◆ List
◆ Ptr
◆ ~FormatterStorage()
lsst::daf::persistence::FormatterStorage::~FormatterStorage |
( |
void |
| ) |
|
|
virtual |
◆ FormatterStorage()
lsst::daf::persistence::FormatterStorage::FormatterStorage |
( |
std::type_info const & |
type | ) |
|
|
explicitprotected |
◆ createInstance()
FormatterStorage::Ptr lsst::daf::persistence::FormatterStorage::createInstance |
( |
std::string const & |
name, |
|
|
LogicalLocation const & |
location, |
|
|
bool |
persist, |
|
|
lsst::pex::policy::Policy::Ptr |
policy |
|
) |
| |
|
static |
Create and configure a FormatterStorage subclass instance.
- Parameters
-
[in] | name | Name of subclass |
[in] | location | Location to persist to or retrieve from |
[in] | persist | True if persisting, false if retrieving |
[in] | policy | Policy used to configure the FormatterStorage |
- Returns
- Shared pointer to FormatterStorage subclass instance
Definition at line 75 of file FormatterStorage.cc.
◆ endTransaction()
virtual void lsst::daf::persistence::FormatterStorage::endTransaction |
( |
void |
| ) |
|
|
pure virtual |
◆ setPersistLocation()
virtual void lsst::daf::persistence::FormatterStorage::setPersistLocation |
( |
LogicalLocation const & |
location | ) |
|
|
pure virtual |
◆ setPolicy()
virtual void lsst::daf::persistence::FormatterStorage::setPolicy |
( |
lsst::pex::policy::Policy::Ptr |
policy | ) |
|
|
pure virtual |
◆ setRetrieveLocation()
virtual void lsst::daf::persistence::FormatterStorage::setRetrieveLocation |
( |
LogicalLocation const & |
location | ) |
|
|
pure virtual |
◆ startTransaction()
virtual void lsst::daf::persistence::FormatterStorage::startTransaction |
( |
void |
| ) |
|
|
pure virtual |
◆ verifyPathName()
void lsst::daf::persistence::FormatterStorage::verifyPathName |
( |
std::string const & |
name | ) |
|
|
protected |
Ensure that all directories along a path exist, creating them if necessary.
- Parameters
-
[in] | name | Pathname to file to be created |
Definition at line 93 of file FormatterStorage.cc.
The documentation for this class was generated from the following files: