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

Class wrapping the parser entry point. More...

#include <airinv/command/InventoryParser.hpp>

+ Inheritance diagram for AIRINV::InventoryParser:

List of all members.

Static Public Member Functions

static void buildInventory (const stdair::Filename_T &iInventoryFilename, stdair::BomRoot &)

Detailed Description

Class wrapping the parser entry point.

Definition at line 21 of file InventoryParser.hpp.


Member Function Documentation

void AIRINV::InventoryParser::buildInventory ( const stdair::Filename_T &  iInventoryFilename,
stdair::BomRoot &  ioBomRoot 
) [static]

Parses the CSV file describing an airline inventory, and generates the corresponding data model in memory. It can then be used, for instance, in a simulator.

Parameters:
conststdair::Filename_T& The file-name of the CSV-formatted inventory input file.
stdair::BomRoot&Root of the BOM tree.

Definition at line 20 of file InventoryParser.cpp.

References AIRINV::InventoryFileParser::buildInventory(), and AIRINV::InventoryManager::createDirectAccesses().

Referenced by AIRINV::AIRINV_Service::parseAndLoad().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines