LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Functions
Persistable.h File Reference
#include "boost/noncopyable.hpp"
#include "lsst/base.h"
#include "lsst/pex/exceptions.h"

Go to the source code of this file.

Classes

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
 Estimate image backgrounds.
 
 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...
 

Functions

 lsst::afw::table::io::LSST_EXCEPTION_TYPE (PersistenceError, lsst::pex::exceptions::IoError, lsst::afw::table::io::PersistenceError) LSST_EXCEPTION_TYPE(MalformedArchiveError
 An exception thrown when problems occur during persistence. More...
 

Macro Definition Documentation

#define LSST_ARCHIVE_ASSERT (   EXPR)
Value:
if (!(EXPR)) throw LSST_EXCEPT( \
lsst::afw::table::io::MalformedArchiveError, \
"Archive assertion failed: " # EXPR)
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46

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