https://mooseframework.inl.gov
Public Types | Public Member Functions | Private Attributes | List of all members
CompileParamWalker Class Reference

#include <Parser.h>

Inheritance diagram for CompileParamWalker:
[legend]

Public Types

typedef std::map< std::string, hit::Node * > ParamMap
 

Public Member Functions

 CompileParamWalker (ParamMap &map)
 
virtual void walk (const std::string &fullpath, const std::string &, hit::Node *n) override
 

Private Attributes

ParamMap_map
 

Detailed Description

Definition at line 70 of file Parser.h.

Member Typedef Documentation

◆ ParamMap

typedef std::map<std::string, hit::Node *> CompileParamWalker::ParamMap

Definition at line 73 of file Parser.h.

Constructor & Destructor Documentation

◆ CompileParamWalker()

CompileParamWalker::CompileParamWalker ( ParamMap map)
inline

Definition at line 74 of file Parser.h.

74 : _map(map){};
ParamMap & _map
Definition: Parser.h:80

Member Function Documentation

◆ walk()

void CompileParamWalker::walk ( const std::string &  fullpath,
const std::string &  ,
hit::Node *  n 
)
overridevirtual

Definition at line 191 of file Parser.C.

194 {
195  if (n->type() == hit::NodeType::Field)
196  _map[fullpath] = n;
197 }
ParamMap & _map
Definition: Parser.h:80

Member Data Documentation

◆ _map

ParamMap& CompileParamWalker::_map
private

Definition at line 80 of file Parser.h.

Referenced by walk().


The documentation for this class was generated from the following files: