Alexandria  2.16
Please provide a description of the project.
Public Member Functions | List of all members
Euclid::SourceCatalog::AttributeFromRow Class Referenceabstract

Interface for building a source Attribute from a table Row. More...

#include <AttributeFromRow.h>

Inheritance diagram for Euclid::SourceCatalog::AttributeFromRow:
[legend]

Public Member Functions

virtual ~AttributeFromRow ()
 
virtual std::unique_ptr< AttributecreateAttribute (const Euclid::Table::Row &row)=0
 The createAttribute method for creating an Attribute from a Table row. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~AttributeFromRow()

virtual Euclid::SourceCatalog::AttributeFromRow::~AttributeFromRow ( )
inlinevirtual

Definition at line 48 of file AttributeFromRow.h.

Member Function Documentation

◆ createAttribute()

virtual std::unique_ptr<Attribute> Euclid::SourceCatalog::AttributeFromRow::createAttribute ( const Euclid::Table::Row row)
pure virtual

The createAttribute method for creating an Attribute from a Table row.

Parameters
rowA reference to a Row of a Table
Returns
A unique pointer to the newly created Attribute

Implemented in Euclid::SourceCatalog::TableRowAttributeFromRow, Euclid::SourceCatalog::SpectroscopicRedshiftAttributeFromRow, Euclid::SourceCatalog::PhotometryAttributeFromRow, and Euclid::SourceCatalog::PdfFromRow< T >.


The documentation for this class was generated from the following file: