An object passed to Persistable::write to allow it to persist itself.
More...
#include <OutputArchive.h>
|
| OutputArchiveHandle (int id, std::string const &name, std::string const &module, boost::shared_ptr< OutputArchive::Impl > impl) |
|
An object passed to Persistable::write to allow it to persist itself.
OutputArchiveHandle provides an interface to add additional catalogs and save nested Persistables to the same archive.
Definition at line 111 of file OutputArchive.h.
lsst::afw::table::io::OutputArchiveHandle::~OutputArchiveHandle |
( |
| ) |
|
lsst::afw::table::io::OutputArchiveHandle::OutputArchiveHandle |
( |
int |
id, |
|
|
std::string const & |
name, |
|
|
std::string const & |
module, |
|
|
boost::shared_ptr< OutputArchive::Impl > |
impl |
|
) |
| |
|
private |
BaseCatalog lsst::afw::table::io::OutputArchiveHandle::makeCatalog |
( |
Schema const & |
schema | ) |
|
Return a new, empty catalog with the given schema.
All catalogs passed to saveCatalog should be originally created by makeCatalog, or at least share the same table.
int lsst::afw::table::io::OutputArchiveHandle::put |
( |
Persistable const * |
obj, |
|
|
bool |
permissive = false |
|
) |
| |
Save a nested Persistable to the same archive.
int lsst::afw::table::io::OutputArchiveHandle::put |
( |
boost::shared_ptr< Persistable const > |
obj, |
|
|
bool |
permissive = false |
|
) |
| |
|
inline |
Save a nested Persistable to the same archive.
Definition at line 137 of file OutputArchive.h.
137 {
return put(obj.get(), permissive); }
int put(Persistable const *obj, bool permissive=false)
Save a nested Persistable to the same archive.
void lsst::afw::table::io::OutputArchiveHandle::saveCatalog |
( |
BaseCatalog const & |
catalog | ) |
|
Save a catalog in the archive.
The catalog must have been created using makeCatalog, or be a shallow copy or subset of such a catalog.
friend class OutputArchive::Impl |
|
friend |
int lsst::afw::table::io::OutputArchiveHandle::_catPersistable |
|
private |
int lsst::afw::table::io::OutputArchiveHandle::_id |
|
private |
boost::shared_ptr< OutputArchive::Impl > lsst::afw::table::io::OutputArchiveHandle::_impl |
|
private |
std::string lsst::afw::table::io::OutputArchiveHandle::_module |
|
private |
std::string lsst::afw::table::io::OutputArchiveHandle::_name |
|
private |
The documentation for this class was generated from the following file:
- /home/lsstsw/stack/Linux64/afw/11.0-2-g04d2804/include/lsst/afw/table/io/OutputArchive.h