www.mooseframework.org
MooseObjectAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef MOOSEOBJECTACTION_H
16 #define MOOSEOBJECTACTION_H
17 
18 #include "Action.h"
19 
20 #include <string>
21 
22 class MooseObjectAction;
23 
24 template <>
26 
27 class MooseObjectAction : public Action
28 {
29 public:
31 
36 
40  const std::string & getMooseObjectType() const { return _type; }
41 
42 protected:
44  std::string _type;
45 
48 };
49 
50 #endif // MOOSEOBJECTACTION_H
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for actions.
Definition: Action.h:39
const std::string & getMooseObjectType() const
Return the object type to be created.
InputParameters & getObjectParams()
Retreive the parameters of the object to be created by this action.
InputParameters validParams< MooseObjectAction >()
std::string _type
The Object type that is being created.
MooseObjectAction(InputParameters params)
InputParameters _moose_object_pars
The parameters for the object to be created.