38 namespace SourceCatalog {
65 explicit Catalog(std::vector<Source> source_vector);
111 size_t size()
const {
return m_source_vector.size();}
115 std::vector<Source> m_source_vector { };
118 std::map<Source::id_type, size_t> m_source_index_map { };
boost::variant< int64_t, std::string > id_type
const_iterator end() const
Get an const_iterator pointing to the last element in the m_source_vector vector. ...
const_iterator begin() const
Get a const_iterator pointing to the first element in the m_source_vector vector. ...
std::vector< Source >::const_iterator const_iterator
size_t size() const
Get the size of the vector container.
Catalog contains a container of sources.