Class name_spec
Defined in File name_spec.hpp
Class Documentation
-
class name_spec
Represents the specification of metrics to be collected. It is the interface between the input name of the metrics in an XML input file, and the (scoped) runtime name of the metrics when they are collected from objects.
Public Functions
-
name_spec(const std::string &xml, const std::string &scoped)
-
std::string scoped(const rtypes::type_uuid &id = rtypes::constants::kNoUUID) const
If
id
is passed, then the string''
will be replaced by the string representing the passed id in the return scoped name.
-
std::string xml(const rtypes::type_uuid &id = rtypes::constants::kNoUUID) const
If
id
is passed, then the string''
will be replaced by the string representing the passed id in the return XML name.
-
name_spec(const std::string &xml, const std::string &scoped)