HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_ControlFileParser Class Reference

Class MHO_ControlFileParser. More...

#include <MHO_ControlFileParser.hh>

Public Member Functions

 MHO_ControlFileParser ()
 
virtual ~MHO_ControlFileParser ()
 
std::string GetLegacyProcessedControlFileText () const
 Getter for legacy processed control file text (just the control file tokens without set-string additions, needed for backwards compatible type_222 records) More...
 
std::string GetProcessedControlFileText () const
 Getter for processed control file text (i.e. all of the tokens that make it into the control flow) More...
 
mho_json ParseControl ()
 Parses control file and constructs JSON object representing control objects. More...
 
void PassSetString (std::string set_string)
 Sets the global set_string (control statement) variable. More...
 
void SetControlFile (std::string filename)
 Setter for control file. More...
 

Detailed Description

Class MHO_ControlFileParser.

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Thu May 11 15:00:11 2023 -0400

Constructor & Destructor Documentation

◆ MHO_ControlFileParser()

hops::MHO_ControlFileParser::MHO_ControlFileParser ( )

◆ ~MHO_ControlFileParser()

hops::MHO_ControlFileParser::~MHO_ControlFileParser ( )
virtual

Member Function Documentation

◆ GetLegacyProcessedControlFileText()

std::string hops::MHO_ControlFileParser::GetLegacyProcessedControlFileText ( ) const
inline

Getter for legacy processed control file text (just the control file tokens without set-string additions, needed for backwards compatible type_222 records)

Returns
std::string containing legacy processed control file text

◆ GetProcessedControlFileText()

std::string hops::MHO_ControlFileParser::GetProcessedControlFileText ( ) const
inline

Getter for processed control file text (i.e. all of the tokens that make it into the control flow)

Returns
Processed control file text as std::string

◆ ParseControl()

mho_json hops::MHO_ControlFileParser::ParseControl ( )

Parses control file and constructs JSON object representing control objects.

Returns
mho_json object containing constructed control objects.

◆ PassSetString()

void hops::MHO_ControlFileParser::PassSetString ( std::string  set_string)
inline

Sets the global set_string (control statement) variable.

Parameters
set_stringThe new value to be assigned to the global set_string.

◆ SetControlFile()

void hops::MHO_ControlFileParser::SetControlFile ( std::string  filename)

Setter for control file.

Parameters
filenameNew control file name

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