18 const std::string & param)
25 const std::string & name,
26 const std::string & param,
27 const std::string & separator)
34 :
MooseObjectName(rhs._tag, rhs._name, rhs._separator), _parameter(rhs._parameter)
42 std::size_t
idx =
name.find(
"::");
43 if (
idx != std::string::npos)
52 if (
idx != std::string::npos)
65 if (
idx != std::string::npos)
83 if (MooseObjectName::operator==(rhs) &&
98 return !(*
this == rhs);
116 if (obj.
_tag.empty() && obj.
_name.empty())
118 else if (obj.
_tag.empty())
131 mooseError(
"The supplied parameter name cannot be empty, to allow for any parameter name to be " 132 "supplied use the '*' character.");
std::string name(const ElemQuality q)
const std::string & name() const
Return the name.
std::ostream & operator<<(std::ostream &stream, const MooseObjectParameterName &obj)
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
MooseObjectParameterName(std::string name)
Build an object given a raw parameter name (e.g., from an input file parameter)
std::string _parameter
The name of the input parameter.
virtual void check() final
Adds the parameter name to error checking.
virtual void check()
Check that the name and tag are supplied correctly.
bool operator!=(const MooseObjectName &rhs) const
bool operator==(const MooseObjectName &rhs) const
Comparison operators.
if(!dmm->_nl) SETERRQ(PETSC_COMM_WORLD
bool operator==(const MooseObjectParameterName &rhs) const
Comparison operators.
A class for storing an input parameter name.
bool operator<(const MooseObjectParameterName &rhs) const
A class for storing the names of MooseObject by tag and object name.
bool operator!=(const MooseObjectParameterName &rhs) const