lsst.afw  15.0-21-g91b8abf62
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT > Class Template Referenceabstract

Class implementing persistence and retrieval for DecoratedImages. More...

#include <DecoratedImageFormatter.h>

Inheritance diagram for lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >:
lsst::daf::persistence::Formatter lsst::daf::base::Citizen

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)
 

Public Member Functions

virtual ~DecoratedImageFormatter ()
 
 DecoratedImageFormatter (DecoratedImageFormatter const &)=default
 
 DecoratedImageFormatter (DecoratedImageFormatter &&)=default
 
DecoratedImageFormatter & operator= (DecoratedImageFormatter const &)=default
 
DecoratedImageFormatter & operator= (DecoratedImageFormatter &&)=default
 
virtual void write (lsst::daf::base::Persistable const *persistable, std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData)
 
virtual lsst::daf::base::Persistable * read (std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData)
 
virtual void update (lsst::daf::base::Persistable *persistable, std::shared_ptr< lsst::daf::persistence::FormatterStorage > storage, std::shared_ptr< lsst::daf::base::PropertySet > additionalData)
 
virtual void write (lsst::daf::base::Persistable const *persistable, FormatterStorage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)=0
 
virtual lsst::daf::base::Persistable * read (FormatterStorage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)=0
 
virtual void update (lsst::daf::base::Persistable *persistable, FormatterStorage::Ptr storage, lsst::daf::base::PropertySet::Ptr additionalData)=0
 
std::string repr () const
 
void markPersistent (void)
 
memId getId () const
 

Static Public Member Functions

static std::shared_ptr< lsst::daf::persistence::Formatter > createInstance (std::shared_ptr< lsst::pex::policy::Policy > policy)
 
template<class Archive >
static void delegateSerialize (Archive &ar, int const version, lsst::daf::base::Persistable *persistable)
 
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
 

Detailed Description

template<typename ImagePixelT>
class lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >

Class implementing persistence and retrieval for DecoratedImages.

Definition at line 44 of file DecoratedImageFormatter.h.

Constructor & Destructor Documentation

◆ ~DecoratedImageFormatter()

template<typename ImagePixelT >
lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::~DecoratedImageFormatter ( )
virtualdefault

◆ DecoratedImageFormatter() [1/2]

template<typename ImagePixelT >
lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::DecoratedImageFormatter ( DecoratedImageFormatter< ImagePixelT > const &  )
default

◆ DecoratedImageFormatter() [2/2]

template<typename ImagePixelT >
lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::DecoratedImageFormatter ( DecoratedImageFormatter< ImagePixelT > &&  )
default

Member Function Documentation

◆ createInstance()

template<typename ImagePixelT >
std::shared_ptr< lsst::daf::persistence::Formatter > lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::createInstance ( std::shared_ptr< lsst::pex::policy::Policy >  policy)
static

Definition at line 211 of file DecoratedImageFormatter.cc.

◆ delegateSerialize()

template<typename ImagePixelT >
template<class Archive >
template void lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::delegateSerialize ( Archive &  ar,
int const  version,
lsst::daf::base::Persistable *  persistable 
)
static

Definition at line 200 of file DecoratedImageFormatter.cc.

◆ operator=() [1/2]

template<typename ImagePixelT >
DecoratedImageFormatter& lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::operator= ( DecoratedImageFormatter< ImagePixelT > const &  )
default

◆ operator=() [2/2]

template<typename ImagePixelT >
DecoratedImageFormatter& lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::operator= ( DecoratedImageFormatter< ImagePixelT > &&  )
default

◆ read()

template<typename ImagePixelT >
Persistable * lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::read ( std::shared_ptr< lsst::daf::persistence::FormatterStorage >  storage,
std::shared_ptr< lsst::daf::base::PropertySet >  additionalData 
)
virtual

Definition at line 150 of file DecoratedImageFormatter.cc.

◆ update()

template<typename ImagePixelT >
void lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::update ( lsst::daf::base::Persistable *  persistable,
std::shared_ptr< lsst::daf::persistence::FormatterStorage >  storage,
std::shared_ptr< lsst::daf::base::PropertySet >  additionalData 
)
virtual

Definition at line 192 of file DecoratedImageFormatter.cc.

◆ write()

template<typename ImagePixelT >
void lsst::afw::formatters::DecoratedImageFormatter< ImagePixelT >::write ( lsst::daf::base::Persistable const *  persistable,
std::shared_ptr< lsst::daf::persistence::FormatterStorage >  storage,
std::shared_ptr< lsst::daf::base::PropertySet >  additionalData 
)
virtual

Definition at line 110 of file DecoratedImageFormatter.cc.


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