LSSTApplications  11.0-24-g0a022a1,14.0+60,14.0-1-g13ef843+9,14.0-1-g4b114ac+14,14.0-1-g6829aa7+2,14.0-1-g7257b6a+12,14.0-1-g8b7e855+54,14.0-1-ga19a712+1,14.0-1-gfce6a49+2,14.0-10-g81837af+2,14.0-14-g87d16e8+10,14.0-15-g77b58a8,14.0-18-gf7dca964,14.0-2-g319577b+11,14.0-2-g519ff97+2,14.0-2-ga5af9b6+10,14.0-20-g83dc6f3,14.0-24-g714dd46,14.0-4-g3609236+1,14.0-49-g535656444+1,14.0-5-g744ff5f+2,14.0-50-g5874b18d,14.0-6-ge2c9487+45,14.0-7-g0d69b06+2,14.0-7-ge5b0628,14.0-8-g7f6dd6b+6,14.0-9-g11010eb,14.0-9-gdb3c3f2+2
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Functions
Persistable.h File Reference

Interface for Persistable base class. More...

#include <memory>
#include <typeinfo>

Go to the source code of this file.

Classes

class  lsst::daf::base::Persistable
 Base class for all persistable classes. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::daf
 
 lsst::daf::base
 
 lsst::daf::persistence
 
 boost
 
 boost::serialization
 

Macros

#define LSST_PERSIST_FORMATTER(formatter...)
 Macro used to connect the persistable class with the Formatter and boost::serialization. More...
 

Functions

template<class Form , class Archive >
void lsst::daf::persistence::delegateSerialize (Archive &ar, unsigned int const version, lsst::daf::base::Persistable *persistable)
 Template function that serializes a Persistable using boost::serialization. More...
 

Detailed Description

Interface for Persistable base class.

Author
Kian-Tat Lim (ktl@s.nosp@m.lac..nosp@m.stanf.nosp@m.ord..nosp@m.edu)
Version
$Revision$
Date
$Date$

Definition in file Persistable.h.

Macro Definition Documentation

◆ LSST_PERSIST_FORMATTER

#define LSST_PERSIST_FORMATTER (   formatter...)
Value:
friend class boost::serialization::access; \
friend class formatter; \
template <class Archive> \
void serialize(Archive& ar, unsigned int const version) { \
lsst::daf::persistence::delegateSerialize<formatter, Archive>(ar, version, this); \
}

Macro used to connect the persistable class with the Formatter and boost::serialization.

Provides friend access to boost::serialization and the Formatter subclass. Also provides a template serialization function (inline, so templates can be expanded by g++ in the "Borland" style).

Parameters
formatterName of formatter class with template parameters, if any.

Definition at line 98 of file Persistable.h.