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::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 InventoryFilePath &, stdair::BomRoot &)

Detailed Description

Class wrapping the parser entry point.

Definition at line 23 of file InventoryParser.hpp.

Member Function Documentation

void AIRINV::InventoryParser::buildInventory ( const InventoryFilePath iInventoryFilename,
stdair::BomRoot &  ioBomRoot 

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.

constInventoryFilePath& 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().

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

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