1#ifndef PODIO_UTILITIES_DATAMODELREGISTRYIOHELPERS_H
2#define PODIO_UTILITIES_DATAMODELREGISTRYIOHELPERS_H
33 std::set<size_t> m_edmDefRegistryIdcs{};
43 using MapType = std::vector<std::tuple<std::string, std::string>>;
std::vector< std::tuple< std::string, std::string > > getDatamodelDefinitionsToWrite() const
Get all the names and JSON definitions that need to be written.
void registerDatamodelDefinition(const podio::CollectionBase *coll, const std::string &name)
DatamodelDefinitionHolder & operator=(const DatamodelDefinitionHolder &)=delete
std::vector< std::string > getAvailableDatamodels() const
std::vector< std::tuple< std::string, std::string > > MapType
The "map" type that is used internally.
~DatamodelDefinitionHolder()=default
const std::string_view getDatamodelDefinition(const std::string &name) const
DatamodelDefinitionHolder(const DatamodelDefinitionHolder &)=delete
DatamodelDefinitionHolder()=default
DatamodelDefinitionHolder & operator=(DatamodelDefinitionHolder &&)=default
DatamodelDefinitionHolder(MapType &&definitions)
Constructor from an existing collection of names and datamodel definitions.
DatamodelDefinitionHolder(DatamodelDefinitionHolder &&)=default