SEvMgr Logo  1.00.0
C++ Simulation-Oriented Discrete Event Management Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
BomJSONExport.hpp
Go to the documentation of this file.
1 #ifndef __SEVMGR_BOM_BOMJSONEXPORT_HPP
2 #define __SEVMGR_BOM_BOMJSONEXPORT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 // Boost Property Tree
10 #if BOOST_VERSION >= 104100
11 #include <boost/property_tree/ptree.hpp>
12 #include <boost/property_tree/json_parser.hpp>
13 #endif // BOOST_VERSION >= 104100
14 // StdAir
15 #include <stdair/stdair_service_types.hpp>
16 #include <stdair/bom/EventTypes.hpp>
17 
18 #if BOOST_VERSION >= 104100
19  namespace bpt = boost::property_tree;
20 #else // BOOST_VERSION >= 104100
21  namespace bpt {
22  typedef char ptree;
23  }
24 #endif // BOOST_VERSION >= 104100
25 
26 namespace SEVMGR {
27 
28  class EventQueue;
29 
34  class BomJSONExport {
35  public:
36  // //////////////// Export support methods /////////////////
37 
50  static void jsonExportEventQueue (stdair::STDAIR_ServicePtr_T&,
51  std::ostream&,
52  const EventQueue&,
53  const stdair::EventType::EN_EventType&);
54 
55  };
56 
57 }
58 #endif // __SEVMGR_BOM_BOMJSONEXPORT_HPP