https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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 78 of file Parser.h.

Member Typedef Documentation

◆ ParamMap

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

Definition at line 81 of file Parser.h.

Constructor & Destructor Documentation

◆ CompileParamWalker()

CompileParamWalker::CompileParamWalker ( ParamMap &  map)
inline

Definition at line 82 of file Parser.h.

82: _map(map) {}
ParamMap & _map
Definition Parser.h:88

Member Function Documentation

◆ walk()

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

Definition at line 329 of file Parser.C.

332{
333 if (n->type() == hit::NodeType::Field)
334 _map[fullpath] = n;
335}

Member Data Documentation

◆ _map

ParamMap& CompileParamWalker::_map
private

Definition at line 88 of file Parser.h.

Referenced by walk().


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