www.mooseframework.org
Functions
MooseObjectParameterName.C File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const MooseObjectParameterName &obj)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const MooseObjectParameterName obj 
)

Definition at line 113 of file MooseObjectParameterName.C.

114 {
115  if (obj._tag.empty() && obj._name.empty())
116  return stream << obj._parameter;
117  else if (obj._tag.empty())
118  return stream << obj._name << "/" << obj._parameter;
119  else if (obj._name.empty())
120  return stream << obj._tag << obj._separator << obj._parameter;
121  else
122  return stream << obj._tag << obj._separator << obj._name << "/" << obj._parameter;
123 }
std::string _tag
if(nl->nonlinearSolver() ->matvec &&nl->nonlinearSolver() ->residual_and_jacobian_object)
std::string _parameter
The name of the input parameter.
std::string _name
std::string _separator