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

DCPParser.cpp

Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // STL
00005 #include <cassert>
00006 #include <string>
00007 // StdAir
00008 #include <stdair/service/Logger.hpp>
00009 // AirSched
00010 #include <airinv/command/DCPParserHelper.hpp>
00011 #include <airinv/command/DCPParser.hpp>
00012 
00013 namespace AIRINV {
00014 
00015   // //////////////////////////////////////////////////////////////////////
00016   void DCPParser::DCPRuleGeneration (const stdair::Filename_T& iFilename,
00017                                      stdair::BomRoot& ioBomRoot) {
00018 
00019     // Initialise the DCP file parser
00020     DCPRuleFileParser lDCPRuleFileParser (ioBomRoot, iFilename);
00021 
00022     // Parse the CSV-formatted DCP input file and generate the
00023     // corresponding DCP events
00024     lDCPRuleFileParser.generateDCPRules();
00025   }
00026 
00027 }