LSSTApplications  11.0-24-g0a022a1,14.0+65,15.0,15.0+1,15.0+2,15.0+4,15.0-1-g14e9bfd,15.0-1-g1eca518+3,15.0-1-g499c38d+3,15.0-1-g60afb23+1,15.0-1-g6668b0b,15.0-1-g788a293+1,15.0-1-g82223af+3,15.0-1-ga91101e+1,15.0-1-gae1598d,15.0-1-gc45031d+3,15.0-1-gd076f1f+1,15.0-1-gf4f1c34,15.0-1-gfe1617d+1,15.0-17-g0b88e3da8,15.0-2-g2010ef9+1,15.0-2-g5218728+3,15.0-2-g947dc0d+3,15.0-3-g150fc43+2,15.0-3-g9103c06,15.0-3-ga03b4ca+3,15.0-3-ga695220+4,15.0-3-gaec6799,15.0-3-gb7a597c+1,15.0-4-g0478fed+4,15.0-4-g45f767a,15.0-4-gdd339b63+1,15.0-4-gff20472+4,15.0-5-ge02c9e7e,15.0-6-ge2d9597+3
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.