Formatter for persistence of PropertySet instances.
More...
#include <PropertySetFormatter.h>
|
virtual | ~PropertySetFormatter (void) |
| Minimal destructor. More...
|
|
virtual void | write (dafBase::Persistable const *persistable, dafPersist::FormatterStorage::Ptr storage, dafBase::PropertySet::Ptr additionalData) |
|
virtual dafBase::Persistable * | read (dafPersist::FormatterStorage::Ptr storage, dafBase::PropertySet::Ptr additionalData) |
|
virtual void | update (dafBase::Persistable *persistable, dafPersist::FormatterStorage::Ptr storage, dafBase::PropertySet::Ptr additionalData) |
|
virtual | ~Formatter (void) |
| Minimal destructor. More...
|
|
virtual void | write (lsst::daf::base::Persistable const *persistable, FormatterStorage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)=0 |
| Write a Persistable instance to a FormatterStorage instance. More...
|
|
virtual lsst::daf::base::Persistable * | read (FormatterStorage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)=0 |
| Read a Persistable instance from a FormatterStorage instance. More...
|
|
virtual void | update (lsst::daf::base::Persistable *persistable, FormatterStorage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)=0 |
| Update an existing Persistable instance with information from an additional FormatterStorage instance. More...
|
|
Formatter for persistence of PropertySet instances.
Definition at line 58 of file PropertySetFormatter.h.
◆ ~PropertySetFormatter()
lsst::daf::persistence::PropertySetFormatter::~PropertySetFormatter |
( |
void |
| ) |
|
|
virtual |
◆ delegateSerialize()
template<class Archive >
void lsst::daf::persistence::PropertySetFormatter::delegateSerialize |
( |
Archive & |
ar, |
|
|
unsigned int const |
version, |
|
|
dafBase::Persistable * |
persistable |
|
) |
| |
|
static |
Serialize a PropertySet to a Boost archive.
Handles text or XML archives, input or output.
- Parameters
-
[in,out] | ar | Boost archive |
[in] | version | Version of the PropertySet class |
[in,out] | persistable | Pointer to the PropertySet as a Persistable |
Definition at line 114 of file PropertySetFormatter.cc.
◆ read()
◆ update()
void lsst::daf::persistence::PropertySetFormatter::update |
( |
dafBase::Persistable * |
persistable, |
|
|
dafPersist::FormatterStorage::Ptr |
storage, |
|
|
dafBase::PropertySet::Ptr |
additionalData |
|
) |
| |
|
virtual |
◆ write()
void lsst::daf::persistence::PropertySetFormatter::write |
( |
dafBase::Persistable const * |
persistable, |
|
|
dafPersist::FormatterStorage::Ptr |
storage, |
|
|
dafBase::PropertySet::Ptr |
additionalData |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: