2 #ifndef AFW_TABLE_BaseTable_h_INCLUDED 3 #define AFW_TABLE_BaseTable_h_INCLUDED 8 #include "ndarray/Manager.h" 165 template <
typename Derived>
171 template <
typename Derived>
189 : daf::base::Citizen(other), _schema(other._schema), _metadata(other._metadata) {
220 ndarray::Manager::Ptr _manager;
227 #endif // !AFW_TABLE_BaseTable_h_INCLUDED Defines the fields and offsets for a table.
BaseRecord Record
The associated record class.
std::shared_ptr< daf::base::PropertyList > getMetadata() const
Return the flexible metadata associated with the table. May be null.
Column-wise view into a sequence of records that have been allocated contiguously.
Writer object for FITS binary tables.
std::shared_ptr< BaseTable > clone() const
Return a polymorphic deep copy of the table.
std::shared_ptr< BaseRecord > makeRecord()
Default-construct an associated record.
BaseTable(BaseTable &&other)
A custom container class for records, based on std::vector.
afw::table::Schema schema
A mapping between the keys of two Schemas, used to copy data between them.
BaseColumnView ColumnView
The associated ColumnView class.
Schema getSchema() const
Return the table's schema.
std::shared_ptr< Derived const > getSelf() const
Convenience function for static-casting shared_from_this for use by derived classes.
Mapping class that holds aliases for a Schema.
BaseTable(BaseTable const &other)
Copy construct.
ItemVariant const * other
A simple struct that combines the two arguments that must be passed to most cfitsio routines and cont...
void setMetadata(std::shared_ptr< daf::base::PropertyList > const &metadata)
Set the flexible metadata associated with the table. May be null.
static int nRecordsPerBlock
Number of records in each memory block.
A base class for image defects.
CatalogT< Record const > ConstCatalog
Template of CatalogT used to hold const records of the associated type.
CatalogT< Record > Catalog
Template of CatalogT used to hold records of the associated type.
T static_pointer_cast(T... args)
std::shared_ptr< Derived > getSelf()
Convenience function for static-casting shared_from_this for use by derived classes.
Base class for all records.
std::shared_ptr< daf::base::PropertyList > popMetadata()
Return the metadata and set the internal metadata to a null pointer.
Base class for all tables.
virtual void handleAliasChange(std::string const &alias)