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


Constructor & Destructor Documentation

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

Constructor.

Definition at line 1132 of file InventoryParserHelper.cpp.


Member Function Documentation

bool AIRINV::InventoryFileParser::buildInventory ( )

Parse the inventory input file.

Definition at line 1156 of file InventoryParserHelper.cpp.

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


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