Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
Interface for building a source Attribute from a table Row. More...
#include <AttributeFromRow.h>
Public Member Functions | |
virtual | ~AttributeFromRow ()=default |
virtual std::unique_ptr< Attribute > | createAttribute (const Euclid::Table::Row &row)=0 |
The createAttribute method for creating an Attribute from a Table row. | |
Interface for building a source Attribute from a table Row.
This interface is defined to build source Attributes from table rows. The rules for formatting the specific Attribute from the general Table columns must be provided in the implementation constructors. They are then defined during object creation only once for the complete Table. The createAttribute method can then be called for each source, i.e., for each row of the Table.
Definition at line 45 of file AttributeFromRow.h.
|
virtualdefault |
|
pure virtual |
The createAttribute method for creating an Attribute from a Table row.
row | A reference to a Row of a Table |
Implemented in Euclid::SourceCatalog::PdfFromRow< T >, Euclid::SourceCatalog::PhotometryAttributeFromRow, Euclid::SourceCatalog::SpectroscopicRedshiftAttributeFromRow, and Euclid::SourceCatalog::TableRowAttributeFromRow.