www.mooseframework.org
Functions
InputParameters.C File Reference

Go to the source code of this file.

Functions

InputParameters emptyInputParameters ()
 
template<>
void InputParameters::addRequiredParam< std::vector< MooseEnum > > (const std::string &name, const std::vector< MooseEnum > &moose_enums, const std::string &doc_string)
 
template<>
void InputParameters::addParam< std::vector< MooseEnum > > (const std::string &, const std::string &)
 
template<>
void InputParameters::addDeprecatedParam< std::vector< MooseEnum > > (const std::string &, const std::string &, const std::string &)
 

Function Documentation

InputParameters emptyInputParameters ( )
template<>
void InputParameters::addDeprecatedParam< std::vector< MooseEnum > > ( const std::string &  ,
const std::string &  ,
const std::string &   
)

Definition at line 870 of file InputParameters.C.

874 {
875  mooseError("You must supply a vector of MooseEnum object(s) and the deprecation string when "
876  "using addDeprecatedParam, even if the parameter is not required!");
877 }
void mooseError(Args &&...args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:182
template<>
void InputParameters::addParam< std::vector< MooseEnum > > ( const std::string &  ,
const std::string &   
)

Definition at line 841 of file InputParameters.C.

843 {
844  mooseError("You must supply a vector of MooseEnum object(s) when using addParam, even if the "
845  "parameter is not required!");
846 }
void mooseError(Args &&...args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:182
template<>
void InputParameters::addRequiredParam< std::vector< MooseEnum > > ( const std::string &  name,
const std::vector< MooseEnum > &  moose_enums,
const std::string &  doc_string 
)

Definition at line 810 of file InputParameters.C.

814 {
815  InputParameters::set<std::vector<MooseEnum>>(name) =
816  moose_enums; // valid parameter is set by set_attributes
817  _required_params.insert(name);
818  _doc_string[name] = doc_string;
819 }