https://mooseframework.inl.gov
Public Member Functions | Private Attributes | List of all members
FindAppWalker Class Reference
Inheritance diagram for FindAppWalker:
[legend]

Public Member Functions

void walk (const std::string &, const std::string &, hit::Node *n) override
 
const std::optional< std::string > & getApp ()
 

Private Attributes

std::optional< std::string > _app_type
 

Detailed Description

Definition at line 275 of file Parser.C.

Member Function Documentation

◆ getApp()

const std::optional<std::string>& FindAppWalker::getApp ( )
inline

Definition at line 284 of file Parser.C.

Referenced by Parser::parse().

284 { return _app_type; };
std::optional< std::string > _app_type
Definition: Parser.C:284

◆ walk()

void FindAppWalker::walk ( const std::string &  ,
const std::string &  ,
hit::Node *  n 
)
inlineoverride

Definition at line 279 of file Parser.C.

280  {
281  if (n && n->type() == hit::NodeType::Field && n->fullpath() == "Application/type")
282  _app_type = n->param<std::string>();
283  }
std::optional< std::string > _app_type
Definition: Parser.C:284

Member Data Documentation

◆ _app_type

std::optional<std::string> FindAppWalker::_app_type
private

Definition at line 284 of file Parser.C.

Referenced by getApp(), and walk().


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