RMOL Logo  1.00.1
C++ library of Revenue Management and Optimisation classes and functions
RMOL::InventoryParser Class Reference

Class filling the virtual class list (representing a list of classes/buckets) from a given input inventory. More...

#include <rmol/command/InventoryParser.hpp>

+ Inheritance diagram for RMOL::InventoryParser:

Static Public Member Functions

static bool parseInputFileAndBuildBom (const std::string &iInputFileName, stdair::BomRoot &)
 

Detailed Description

Class filling the virtual class list (representing a list of classes/buckets) from a given input inventory.

Definition at line 25 of file InventoryParser.hpp.

Member Function Documentation

◆ parseInputFileAndBuildBom()

bool RMOL::InventoryParser::parseInputFileAndBuildBom ( const std::string &  iInputFileName,
stdair::BomRoot &  ioBomRoot 
)
static

Parse the input values from a CSV-formatted inventory file.

Parameters
conststd::string& iInputFileName Inventory file to be parsed.
stdair::BomRoot&The BOM tree.
Returns
bool Whether or not the parsing was successful.

Definition at line 36 of file InventoryParser.cpp.

Referenced by RMOL::RMOL_Service::parseAndLoad().


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