Quandary
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CfgParser Class Reference

Configuration parser that converts raw config to validated Config. More...

#include <cfgparser.hpp>

Public Member Functions

 CfgParser (const MPILogger &logger)
 
ParsedConfigData parseFile (const std::string &filename)
 
ParsedConfigData parseString (const std::string &config_content)
 

Detailed Description

Configuration parser that converts raw config to validated Config.

Handles the logic for applying defaults, parsing mixed-type strings, and validating configuration parameters. TODO cfg: delete this class when .cfg format is removed.

Constructor & Destructor Documentation

◆ CfgParser()

CfgParser::CfgParser ( const MPILogger logger)

Member Function Documentation

◆ parseFile()

ParsedConfigData CfgParser::parseFile ( const std::string &  filename)

◆ parseString()

ParsedConfigData CfgParser::parseString ( const std::string &  config_content)

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