LSSTApplications  19.0.0-14-gb0260a2+16456dd421,20.0.0+44dbdb3492,20.0.0+5d43f57eb7,20.0.0+8a208d85ec,20.0.0+a295394073,20.0.0+f15d39cacd,20.0.0-1-g253301a+8a208d85ec,20.0.0-1-g5b95a8c+fc0c0df92e,20.0.0-16-g760a3dc6+b31208f437,20.0.0-18-gcabc0c9fd+54cb7ade16,20.0.0-2-g4dae9ad+71e3c9ad45,20.0.0-2-g61b8584+b4ab3064f8,20.0.0-2-ga51b5d4+1f4ba438e8,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+c85f3a4c63,20.0.0-2-gf072044+8a208d85ec,20.0.0-2-gf1f7952+71e3c9ad45,20.0.0-22-g54e2caa+3351092962,20.0.0-25-g5eafb0f+71e3c9ad45,20.0.0-28-g73474ed+3c7e226ea7,20.0.0-29-g1235a2f+d30e658c1c,20.0.0-3-g8f21e14+558cb18951,20.0.0-3-gbd60e8c+ffb20d0b0d,20.0.0-3-gbecbe05+7f0063ada4,20.0.0-4-g4bc9b9f+57161cfff5,20.0.0-4-gb4befbc+0e003188f4,20.0.0-4-gf910f65+b4ab3064f8,20.0.0-43-gfec247c5+985768289e,20.0.0-5-gcbc8587+3c7e226ea7,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g4aa86cc+b6dcff6f8d,20.0.0-6-g9a5b7a1+4bc2181c53,20.0.0-6-gd222c45+7040a8a6f6,20.0.0-74-g0218c7a+7d276c6844,20.0.0-9-g4aef684+90bf294a58,20.0.0-9-g5051ac2+d529cf1a41,w.2020.47
LSSTDataManagementBasePackage
Classes | Namespaces | Macros
Persistable.h File Reference
#include <climits>
#include "lsst/base.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/fitsDefaults.h"

Go to the source code of this file.

Classes

class  lsst::afw::table::io::PersistenceError
 An exception thrown when problems occur during persistence. More...
 
class  lsst::afw::table::io::MalformedArchiveError
 An exception thrown when an InputArchive's contents do not make sense. More...
 
class  lsst::afw::table::io::Persistable
 A base class for objects that can be persisted via afw::table::io Archive classes. More...
 
class  lsst::afw::table::io::PersistableFacade< T >
 A CRTP facade class for subclasses of Persistable. More...
 
class  lsst::afw::table::io::PersistableFactory
 A base class for factory classes used to reconstruct objects from records. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::fits
 
 lsst::afw::table
 
 lsst::afw::table::io
 

Macros

#define LSST_ARCHIVE_ASSERT(EXPR)
 An assertion macro used to validate the structure of an InputArchive. More...
 

Macro Definition Documentation

◆ LSST_ARCHIVE_ASSERT

#define LSST_ARCHIVE_ASSERT (   EXPR)
Value:
if (!(EXPR)) \
throw LSST_EXCEPT(lsst::afw::table::io::MalformedArchiveError, "Archive assertion failed: " #EXPR)

An assertion macro used to validate the structure of an InputArchive.

This assertion is not enabled/disabled by NDEBUG, and throws an exception rather than aborting, and should be reserved for errors that should only occur when an InputArchive is found to be in a state that could not have been produced by an OutputArchive.

Definition at line 49 of file Persistable.h.

LSST_EXCEPT
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
Definition: Exception.h:48
lsst::afw::table::io::MalformedArchiveError
An exception thrown when an InputArchive's contents do not make sense.
Definition: Persistable.h:39