SEvMgr Logo  1.00.7
C++ Simulation-Oriented Discrete Event Management Library
Loading...
Searching...
No Matches
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#include <string>
10// Boost Property Tree
11#if BOOST_VERSION_MACRO >= 104100
12#include <boost/property_tree/ptree.hpp>
13#include <boost/property_tree/json_parser.hpp>
14#endif // BOOST_VERSION_MACRO >= 104100
15// StdAir
16#include <stdair/stdair_service_types.hpp>
17#include <stdair/bom/EventTypes.hpp>
18
19#if BOOST_VERSION_MACRO >= 104100
20 namespace bpt = boost::property_tree;
21#else // BOOST_VERSION_MACRO >= 104100
22 namespace boost {
23 namespace property_tree {
24 typedef std::string ptree;
25 }
26 }
27#endif // BOOST_VERSION_MACRO >= 104100
28
29namespace SEVMGR {
30
31 class EventQueue;
32
38 public:
39 // //////////////// Export support methods /////////////////
40
53 static void jsonExportEventQueue (stdair::STDAIR_ServicePtr_T&,
54 std::ostream&,
55 const EventQueue&,
56 const stdair::EventType::EN_EventType&);
57
58 };
59
60}
61#endif // __SEVMGR_BOM_BOMJSONEXPORT_HPP
Utility class to export StdAir objects in a JSON format.
static void jsonExportEventQueue(stdair::STDAIR_ServicePtr_T &, std::ostream &, const EventQueue &, const stdair::EventType::EN_EventType &)
Class holding event structures.
Definition: EventQueue.hpp:68