10 #ifndef NUTOOLS_RANDOMUTILS_PROVIDERS_ENGINEID_H 11 #define NUTOOLS_RANDOMUTILS_PROVIDERS_ENGINEID_H 1 19 namespace SeedMasterHelper {
89 inline std::ostream&
operator<<
97 #endif // NUTOOLS_RANDOMUTILS_PROVIDERS_ENGINEID_H std::string artName() const
Converts the information in a module_name:instance_name string.
bool hasInstanceName() const
Returns whether the instance label is defined.
std::string moduleLabel
module label
structure to identify a "global" flavour constructor
Identifier for a engine, made of module name and optional instance name.
bool operator<(EngineId const &rhs) const
Lexicographic sort (module name first, then instance name)
EngineId(std::string const &inst, Global_t)
Constructor (module name is required)
EngineId(std::string const &mod, std::string const &inst=std::string())
Constructor (module name is required)
void setGlobal(std::string inst)
Sets this ID to the specified global instance.
std::string instanceName
instance name
static Global_t global
A constant to select a "global" flavour constructor.
bool isGlobal() const
Returns whether the label is "global" (no module context)
bool operator==(EngineId const &rhs) const
Returns true if both module and instance names match.