LSSTApplications  19.0.0-12-gef62271,20.0.0+1,20.0.0+10,20.0.0+11,20.0.0+13,20.0.0+2,20.0.0+3,20.0.0+4,20.0.0+6,20.0.0-1-g10df615+10,20.0.0-1-g253301a+5,20.0.0-1-g596936a+11,20.0.0-1-g8a53f90+1,20.0.0-1-gc96f8cb+12,20.0.0-1-gd1c87d7+1,20.0.0-17-g41c5faf,20.0.0-2-g04cfba9+4,20.0.0-2-gd11eeda,20.0.0-2-gec03fae+3,20.0.0-3-g082faa5+1,20.0.0-3-gbdbfa727+3,20.0.0-3-gc53c7b6,20.0.0-4-gde602ef96+4,20.0.0-4-ge48a6ca+7,20.0.0-4-ge987224+1,20.0.0-8-g7eef53f7+7,20.0.0-9-g8e1b333,w.2020.28
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); \
}

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

version
Definition: version.py:1