LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
2 #ifndef AFW_TABLE_IO_OutputArchive_h_INCLUDED
3 #define AFW_TABLE_IO_OutputArchive_h_INCLUDED
14 template <
typename RecordT>
21 class OutputArchiveHandle;
176 #endif // !AFW_TABLE_IO_OutputArchive_h_INCLUDED
int put(Persistable const &obj, bool permissive=false)
Save an object to the archive and return a unique ID that can be used to retrieve it from an InputArc...
OutputArchive & operator=(OutputArchive const &other)
Assign from another OutputArchive. Saved objects are not deep-copied.
OutputArchiveHandle(OutputArchiveHandle &&)=delete
BaseCatalog const & getCatalog(int n) const
Return the nth catalog. Catalog 0 is always the index catalog.
int put(std::shared_ptr< Persistable const > obj, bool permissive=false)
Save an object to the archive and return a unique ID that can be used to retrieve it from an InputArc...
An object passed to Persistable::write to allow it to persist itself.
A simple struct that combines the two arguments that must be passed to most cfitsio routines and cont...
void saveCatalog(BaseCatalog const &catalog)
Save a catalog in the archive.
Defines the fields and offsets for a table.
OutputArchiveHandle & operator=(const OutputArchiveHandle &)=delete
int put(Persistable const &obj, bool permissive=false)
Save an object to the archive and return a unique ID that can be used to retrieve it from an InputArc...
BaseCatalog makeCatalog(Schema const &schema)
Return a new, empty catalog with the given schema.
void writeFits(fits::Fits &fitsfile) const
Write the archive to an already-open FITS object.
ItemVariant const * other
void saveEmpty()
Indicate that the object being persisted has no state, and hence will never call makeCatalog() or sav...
A multi-catalog archive object used to save table::io::Persistable objects.
A base class for image defects.
A base class for objects that can be persisted via afw::table::io Archive classes.
CatalogT< BaseRecord > BaseCatalog
int put(Persistable const *obj, bool permissive=false)
Save an object to the archive and return a unique ID that can be used to retrieve it from an InputArc...
OutputArchiveHandle(const OutputArchiveHandle &)=delete
OutputArchive()
Construct an empty OutputArchive containing no objects.
OutputArchiveHandle & operator=(OutputArchiveHandle &&)=delete
int countCatalogs() const
Return the total number of catalogs, including the index.
BaseCatalog const & getIndexCatalog() const
Return the index catalog that specifies where objects are stored in the data catalogs.