Go to the documentation of this file. 1 #ifndef DETECTOR_DESCRIPTION_CORE_DDNAME_H
2 #define DETECTOR_DESCRIPTION_CORE_DDNAME_H
19 using IdToName = std::vector<Registry::const_iterator>;
50 static Registry::iterator
registerName(
const std::pair<std::string, std::string>&
s);
DDName is used to identify DDD entities uniquely.
std::ostream & operator<<(std::ostream &os, const DDName &n)
bool operator<(const DDName &rhs) const
bool operator==(const DDName &rhs) const
const std::string & name() const
Returns the name.
std::vector< Registry::const_iterator > IdToName
const std::string & ns() const
Returns the namespace.
const std::string fullname() const
std::map< std::pair< std::string, std::string >, id_type > Registry
static Registry::iterator registerName(const std::pair< std::string, std::string > &s)