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