1.00.4
C++ Simulation-Oriented Discrete Event Management Library
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
SEVMGR::BomJSONExport
Utility class to export StdAir objects in a JSON format.
Definition:
BomJSONExport.hpp:34
SEVMGR::BomJSONExport::jsonExportEventQueue
static void jsonExportEventQueue(stdair::STDAIR_ServicePtr_T &, std::ostream &, const EventQueue &, const stdair::EventType::EN_EventType &)
Definition:
BomJSONExport.cpp:32
SEVMGR::EventQueue
Class holding event structures.
Definition:
EventQueue.hpp:68
bpt
Definition:
BomJSONExport.cpp:23
SEVMGR
Definition:
BasConst.cpp:10
bpt::ptree
char ptree
Definition:
BomJSONExport.cpp:24
Generated on Thu Jan 30 2020 00:00:00 for SEvMgr by
1.8.17