|
lsst.afw
14.0-27-gbdf48f848+1
|
Formatter for persistence of Kernel instances. More...
#include <KernelFormatter.h>
Public Types | |
| typedef std::shared_ptr< Formatter > | Ptr |
| typedef Ptr(* | FactoryPtr) (lsst::pex::policy::Policy::Ptr) |
| typedef unsigned long | memId |
| typedef memId(* | memNewCallback) (const memId cid) |
| typedef memId(* | memCallback) (const Citizen *ptr) |
Static Public Member Functions | |
| template<class Archive > | |
| static void | delegateSerialize (Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable) |
| Serialize a Kernel to a Boost archive. More... | |
| static Formatter::Ptr | lookupFormatter (std::string const &persistableType, lsst::pex::policy::Policy::Ptr policy) |
| static Formatter::Ptr | lookupFormatter (std::type_info const &persistableType, lsst::pex::policy::Policy::Ptr policy) |
| 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 | |
Formatter for persistence of Kernel instances.
Definition at line 45 of file KernelFormatter.h.
|
virtual |
Minimal destructor.
Definition at line 132 of file KernelFormatter.cc.
|
static |
Serialize a Kernel to a Boost archive.
Handles text or XML archives, input or output.
| [in,out] | ar | Boost archive |
| [in] | version | version of the KernelFormatter |
| [in,out] | persistable | Pointer to the Kernel as a Persistable |
Definition at line 188 of file KernelFormatter.cc.
|
virtual |
Definition at line 160 of file KernelFormatter.cc.
|
virtual |
Definition at line 182 of file KernelFormatter.cc.
|
virtual |
Definition at line 134 of file KernelFormatter.cc.
1.8.13