LSSTApplications  18.0.0+74,19.0.0+5,19.0.0+75,19.0.0+9,19.0.0-1-g20d9b18+30,19.0.0-1-g49a97f9+3,19.0.0-1-g8c57eb9+30,19.0.0-1-g9a028c0+10,19.0.0-1-ga72da6b+3,19.0.0-1-gb77924a+11,19.0.0-1-gbfe0924+62,19.0.0-1-ge272bc4+30,19.0.0-1-gefe1d0d+46,19.0.0-1-gf8cb8b4,19.0.0-14-g7511ce4+2,19.0.0-16-g3dc1a33c+2,19.0.0-17-g59f0e8a,19.0.0-17-g9c22e3c+6,19.0.0-18-g2c901ce+6,19.0.0-18-g35bb99870+1,19.0.0-19-g2772d4a+5,19.0.0-19-g85fbfd3+5,19.0.0-2-g0d9f9cd+70,19.0.0-2-g260436e+50,19.0.0-2-g9675b69+3,19.0.0-2-gbcc4de1,19.0.0-2-gd6f004e+2,19.0.0-2-gde8e5e3+4,19.0.0-2-gff6972b+14,19.0.0-3-ga642a0f,19.0.0-3-gf3b1435+2,19.0.0-4-gac56cce+13,19.0.0-47-g0e06596+2,19.0.0-49-g6858528b,19.0.0-5-g66946eb+2,19.0.0-5-gd8897ba+2,19.0.0-7-g3343160,19.0.0-7-g686a884+4,19.0.0-7-g886f805+2,w.2020.17
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Functions
Persistable.h File Reference

Interface for Persistable base class. More...

#include <memory>
#include <typeinfo>
#include "lsst/base.h"

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)
 

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); \
}
table::Key< int > version
Definition: PhotoCalib.cc:374

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 99 of file Persistable.h.