$treeview $search $mathjax
AirInv Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

AIRINV::InventoryParser Class Reference

Class wrapping the parser entry point. More...

#include <airinv/command/InventoryParser.hpp>

Inheritance diagram for AIRINV::InventoryParser:
CmdAbstract

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 
) [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:
const InventoryFilePath& 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: