AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
AIRINV::InventoryFileParser Class Reference

#include <airinv/command/InventoryParserHelper.hpp>

Inheritance diagram for AIRINV::InventoryFileParser:

List of all members.

Public Member Functions

 InventoryFileParser (stdair::BomRoot &, const stdair::Filename_T &iInventoryInputFilename)
bool buildInventory ()

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 500 of file InventoryParserHelper.hpp.


Constructor & Destructor Documentation

AIRINV::InventoryFileParser::InventoryFileParser ( stdair::BomRoot &  ,
const stdair::Filename_T &  iInventoryInputFilename 
)

Constructor.

Definition at line 1092 of file InventoryParserHelper.cpp.


Member Function Documentation

bool AIRINV::InventoryFileParser::buildInventory ( )

Parse the inventory input file.

Definition at line 1116 of file InventoryParserHelper.cpp.

Referenced by AIRINV::InventoryParser::buildInventory().


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