#include <trademgen/command/DemandParserHelper.hpp>
Public Member Functions | |
DemandFileParser (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, const stdair::Filename_T &iDemandInputFilename) | |
bool | generateDemand () |
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 434 of file DemandParserHelper.hpp.
TRADEMGEN::DemandFileParser::DemandFileParser | ( | SEVMGR::SEVMGR_ServicePtr_T | , |
stdair::RandomGeneration & | , | ||
const POSProbabilityMass_T & | , | ||
const stdair::Filename_T & | iDemandInputFilename | ||
) |
Constructor.
Definition at line 854 of file DemandParserHelper.cpp.
bool TRADEMGEN::DemandFileParser::generateDemand | ( | ) |
Parse the demand input file.
Definition at line 897 of file DemandParserHelper.cpp.
Referenced by TRADEMGEN::DemandParser::generateDemand().