TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
TRADEMGEN::DemandFileParser Class Reference

#include <trademgen/command/DemandParserHelper.hpp>

+ Inheritance diagram for TRADEMGEN::DemandFileParser:

List of all members.

Public Member Functions

 DemandFileParser (SEVMGR::SEVMGR_ServicePtr_T, stdair::RandomGeneration &, const POSProbabilityMass_T &, const stdair::Filename_T &iDemandInputFilename)
bool generateDemand ()

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 434 of file DemandParserHelper.hpp.

Constructor & Destructor Documentation

TRADEMGEN::DemandFileParser::DemandFileParser ( SEVMGR::SEVMGR_ServicePtr_T  ,
stdair::RandomGeneration &  ,
const POSProbabilityMass_T ,
const stdair::Filename_T &  iDemandInputFilename 


Definition at line 854 of file DemandParserHelper.cpp.

Member Function Documentation

bool TRADEMGEN::DemandFileParser::generateDemand ( )

Parse the demand input file.

Definition at line 897 of file DemandParserHelper.cpp.

Referenced by TRADEMGEN::DemandParser::generateDemand().

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