34 namespace SourceCatalog {
41 if (source_id_index_ptr ==
nullptr) {
42 throw Elements::Exception() <<
"Column info does not have the column " << source_id_column_name;
59 for (
const auto& row : input_table) {
66 attribute_ptr_vector.begin(),
69 throw Elements::Exception() <<
"Parsing error while parsing the source with Id = " << source_id <<
" : "
70 << parsing_exception.
what();
virtual ~CatalogFromTable()
This type can be used together with boost::apply_visitor to cast boost::variant with an unknown under...
CatalogFromTable(std::shared_ptr< Euclid::Table::ColumnInfo > column_info_ptr, const std::string &source_id_column_name, std::vector< std::shared_ptr< AttributeFromRow >> attribute_from_row_ptr_vector)
Catalog contains a container of sources.
std::vector< std::shared_ptr< AttributeFromRow > > m_attribute_from_row_ptr_vector
const char * what() const noexceptoverride
Euclid::SourceCatalog::Catalog createCatalog(const Euclid::Table::Table &input_table)