AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DCPEventGenerator.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_CMD_DCPEVENTGENERATOR_HPP
2 #define __AIRINV_CMD_DCPEVENTGENERATOR_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // StdAir
8 #include <stdair/command/CmdAbstract.hpp>
9 // AirInv
10 #include <airinv/AIRINV_Types.hpp>
11 
12 // Forward declarations
13 namespace stdair {
14  class BomRoot;
15  class DCPEvent;
16 }
17 
18 namespace AIRINV {
19 
20  // Forward declarations
21  struct DCPEventStruct;
22  namespace DCPParserHelper {
23  struct doEndDCP;
24  }
25 
27  class DCPEventGenerator : public stdair::CmdAbstract {
28  // Only the following class may use methods of DCPGenerator.
29  // Indeed, as those methods build the BOM, it is not good to expose
30  // them public.
31  friend class DCPFileParser;
33  friend class DCPParser;
34  private:
37  static void createDCPEvent (stdair::BomRoot&, DCPEventStruct&);
38  };
39 
40 }
41 #endif // __AIRINV_CMD_DCPEVENTGENERATOR_HPP