LSST Applications  21.0.0+75b29a8a7f,21.0.0+e70536a077,21.0.0-1-ga51b5d4+62c747d40b,21.0.0-10-gbfb87ad6+1472003707,21.0.0-12-g51f5968d7+47cba9fc36,21.0.0-2-g103fe59+b7c383bd9a,21.0.0-2-g1367e85+48b67f5d39,21.0.0-2-g45278ab+e70536a077,21.0.0-2-g4bc9b9f+3fe6d1dcab,21.0.0-2-g5242d73+48b67f5d39,21.0.0-2-g54e2caa+df6b29423d,21.0.0-2-g7f82c8f+6775bdeedd,21.0.0-2-g8dde007+9e83774735,21.0.0-2-g8f08a60+9402881886,21.0.0-2-ga326454+6775bdeedd,21.0.0-2-ga63a54e+1ed2fee5f8,21.0.0-2-gde069b7+26c92b3210,21.0.0-2-gecfae73+adba745f5b,21.0.0-2-gfc62afb+48b67f5d39,21.0.0-23-ga70773b+149afabbf4,21.0.0-25-g85b8e57b+773e41f820,21.0.0-3-g357aad2+5f60c9c50d,21.0.0-3-g4be5c26+48b67f5d39,21.0.0-3-g65f322c+73694798db,21.0.0-3-g6d51c4a+ed84a54361,21.0.0-3-g7d9da8d+75b29a8a7f,21.0.0-3-gaa929c8+6a9f1b9ca4,21.0.0-3-ge02ed75+ed84a54361,21.0.0-4-g3300ddd+e70536a077,21.0.0-4-gc004bbf+542906830e,21.0.0-4-gccdca77+f94adcd104,21.0.0-4-gd1c1571+0451688df7,21.0.0-5-g7b47fff+ed84a54361,21.0.0-5-gb155db7+58d9d10622,21.0.0-5-gdf36809+637e4641ee,21.0.0-6-g722ad07+d350a29088,21.0.0-7-gfd72ab2+fa9972ccfc,21.0.0-8-gfbe0b4b+6a9f1b9ca4,w.2021.05
LSST Data Management Base Package
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)
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
Definition: Exception.h:48
An exception thrown when an InputArchive's contents do not make sense.
Definition: Persistable.h:39

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