Class wrapping the parser entry point. More...
#include <airinv/command/InventoryParser.hpp>
Static Public Member Functions | |
static void | buildInventory (const stdair::Filename_T &iInventoryFilename, stdair::BomRoot &) |
Class wrapping the parser entry point.
Definition at line 21 of file InventoryParser.hpp.
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.
const | stdair::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().