AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::DCPRuleFileParser Class Reference

#include <airinv/command/vault/DCPParserHelper.hpp>

+ Inheritance diagram for AIRINV::DCPRuleFileParser:

List of all members.

Public Member Functions

 DCPRuleFileParser (stdair::BomRoot &ioBomRoot, const stdair::Filename_T &iFilename)
bool generateDCPRules ()

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 337 of file DCPParserHelper.hpp.


Constructor & Destructor Documentation

AIRINV::DCPRuleFileParser::DCPRuleFileParser ( stdair::BomRoot &  ioBomRoot,
const stdair::Filename_T &  iFilename 
)

Constructor.

Definition at line 572 of file DCPParserHelper.cpp.


Member Function Documentation

bool AIRINV::DCPRuleFileParser::generateDCPRules ( )

Parse the input file and generate the Inventories.

Definition at line 593 of file DCPParserHelper.cpp.

Referenced by AIRINV::DCPParser::DCPRuleGeneration().


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