LSSTApplications  19.0.0-10-g4a5fae6+3,19.0.0-10-g920eed2,19.0.0-11-g48a0200+2,19.0.0-18-gfc4e62b+16,19.0.0-2-g3b2f90d+2,19.0.0-2-gd671419+6,19.0.0-20-g5a5a17ab+14,19.0.0-21-g2644856+17,19.0.0-24-g0913cb1,19.0.0-24-g878c510+4,19.0.0-25-g6c8df7140+1,19.0.0-25-gb330496+4,19.0.0-3-g2b32d65+6,19.0.0-3-g8227491+15,19.0.0-3-g9c54d0d+15,19.0.0-3-gca68e65+11,19.0.0-3-gcfc5f51+6,19.0.0-3-ge110943+14,19.0.0-3-ge74d124,19.0.0-30-g9c3fd16+5,19.0.0-4-g06f5963+6,19.0.0-4-g10df615,19.0.0-4-g3d16501+17,19.0.0-4-g4a9c019+6,19.0.0-4-g5a8b323,19.0.0-4-g66397f0+1,19.0.0-4-g8557e14,19.0.0-4-g8964aba+16,19.0.0-4-ge404a01+15,19.0.0-5-g40f3a5a,19.0.0-5-g4db63b3,19.0.0-5-gb9eeb60,19.0.0-5-gfb03ce7+16,19.0.0-6-gbaebbfb+15,19.0.0-61-gec4c6e08+5,19.0.0-7-g039c0b5+15,19.0.0-7-gbea9075+4,19.0.0-7-gc567de5+16,19.0.0-72-g37abf38+2,19.0.0-9-g463f923+15,v20.0.0.rc1
LSSTDataManagementBasePackage
Public Types | Public Member Functions | List of all members
lsst::daf::base::Persistable Class Reference

Base class for all persistable classes. More...

#include <Persistable.h>

Inheritance diagram for lsst::daf::base::Persistable:
lsst::pex::policy::Policy lsst::pex::policy::PolicyFile lsst::pex::policy::PolicyString lsst::pex::policy::DefaultPolicyFile lsst::pex::policy::UrnPolicyFile

Public Types

typedef std::shared_ptr< PersistablePtr
 

Public Member Functions

 Persistable (void)
 Default constructor. More...
 
virtual ~Persistable (void)
 Destructor. More...
 
template<class Archive >
void serialize (Archive &, unsigned int const)
 Template boost::serialization function for the base class. More...
 

Detailed Description

Base class for all persistable classes.

This class must be a public base class for all persistable classes. It provides the persist() method used to store an instance of the persistable class in a logical location. It also provides a macro used to connect the persistable class with its Formatter subclass and to delegate boost::serialization persistence to that subclass.

Definition at line 75 of file Persistable.h.

Member Typedef Documentation

◆ Ptr

Definition at line 77 of file Persistable.h.

Constructor & Destructor Documentation

◆ Persistable()

lsst::daf::base::Persistable::Persistable ( void  )

Default constructor.

Definition at line 45 of file Persistable.cc.

45 {}

◆ ~Persistable()

lsst::daf::base::Persistable::~Persistable ( void  )
virtual

Destructor.

Definition at line 49 of file Persistable.cc.

49 {}

Member Function Documentation

◆ serialize()

template<class Archive >
void lsst::daf::base::Persistable::serialize ( Archive &  ,
unsigned int const   
)
inline

Template boost::serialization function for the base class.

Doesn't actually do anything, since there is no data associated with the base. Inline to allow expansion wherever needed.

Definition at line 87 of file Persistable.h.

87 {}

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