1#ifndef PODIO_DATAMODELREGISTRY_H
2#define PODIO_DATAMODELREGISTRY_H
95 std::vector<std::pair<std::string, std::string_view>> m_definitions{};
DatamodelRegistry & operator=(const DatamodelRegistry &&)=delete
static const DatamodelRegistry & instance()
Get the registry.
DatamodelRegistry(DatamodelRegistry &&)=delete
static constexpr size_t NoDefinitionAvailable
Dedicated index value for error checking, used to default init the generated RegistryIndex.
DatamodelRegistry(const DatamodelRegistry &)=delete
static DatamodelRegistry & mutInstance()
const std::string & getDatamodelName(size_t index) const
size_t registerDatamodel(std::string name, std::string_view definition)
static constexpr size_t NoDefinitionNecessary
DatamodelRegistry & operator=(const DatamodelRegistry &)=delete
~DatamodelRegistry()=default
const std::string_view getDatamodelDefinition(std::string_view name) const