42 #ifndef SOURCECATALOG_PDFFROMROW_H
43 #define SOURCECATALOG_PDFFROMROW_H
55 namespace SourceCatalog {
72 for (
auto& pair :
m_keys) {
81 if (data.size() != pdf.size()) {
86 std::copy(data.begin(), data.end(), pdf.begin());
89 pdf_map.emplace(pair.first,
std::move(pdf));
92 return make_unique<Pdf<T>>(
std::move(pdf_map));
Representation of a multi-dimensional grid which contains axis information.
std::map< std::string, std::string > m_column_names
PdfFromRow(std::map< std::string, std::vector< T >> keys, std::map< std::string, std::string > column_names)
Provides information related with an axis of a GridContainer.
std::map< std::string, std::vector< T > > m_keys
Interface for building a source Attribute from a table Row.
Represents one row of a Table.
virtual ~PdfFromRow()=default
std::unique_ptr< Attribute > createAttribute(const Euclid::Table::Row &row) override
The createAttribute method for creating an Attribute from a Table row.