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

DCPEventGenerator.hpp

Go to the documentation of this file.
00001 #ifndef __AIRINV_CMD_DCPEVENTGENERATOR_HPP
00002 #define __AIRINV_CMD_DCPEVENTGENERATOR_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // StdAir
00008 #include <stdair/command/CmdAbstract.hpp>
00009 // AirInv
00010 #include <airinv/AIRINV_Types.hpp>
00011 
00012 // Forward declarations
00013 namespace stdair {
00014   class BomRoot;
00015   class DCPEvent;
00016 }
00017 
00018 namespace AIRINV {
00019 
00020   // Forward declarations
00021   struct DCPEventStruct;
00022   namespace DCPParserHelper {
00023     struct doEndDCP;
00024   }
00025     
00027   class DCPEventGenerator : public stdair::CmdAbstract {
00028     // Only the following class may use methods of DCPGenerator.
00029     // Indeed, as those methods build the BOM, it is not good to expose
00030     // them public.
00031     friend class DCPFileParser;
00032     friend struct DCPParserHelper::doEndDCP;
00033     friend class DCPParser;
00034   private:
00037     static void createDCPEvent (stdair::BomRoot&, DCPEventStruct&);
00038   };
00039 
00040 }
00041 #endif // __AIRINV_CMD_DCPEVENTGENERATOR_HPP