SimFQT Logo  1.00.4
C++ Simulated Fare Quote System Library
SIMFQT::FareRuleFileParser Class Reference

#include <simfqt/command/FareParserHelper.hpp>

+ Inheritance diagram for SIMFQT::FareRuleFileParser:

Public Member Functions

 FareRuleFileParser (stdair::BomRoot &ioBomRoot, const stdair::Filename_T &iFilename)
 
void generateFareRules ()
 

Detailed Description

Class wrapping the initialisation and entry point of the parser.
The seemingly redundancy is used to force the instantiation of the actual parser, which is a templatised Boost Spirit grammar. Hence, the actual parser is instantiated within that class object code.

Definition at line 254 of file FareParserHelper.hpp.

Constructor & Destructor Documentation

◆ FareRuleFileParser()

SIMFQT::FareRuleFileParser::FareRuleFileParser ( stdair::BomRoot &  ioBomRoot,
const stdair::Filename_T &  iFilename 
)

Constructor.

Definition at line 644 of file FareParserHelper.cpp.

Member Function Documentation

◆ generateFareRules()

void SIMFQT::FareRuleFileParser::generateFareRules ( )

Parse the input file and generate the fare rules.

Definition at line 667 of file FareParserHelper.cpp.

Referenced by SIMFQT::FareParser::fareRuleGeneration().


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