1.00.5
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
#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
29
namespace
SEVMGR
{
30
31
class
EventQueue;
32
37
class
BomJSONExport
{
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
SEVMGR::BomJSONExport
Utility class to export StdAir objects in a JSON format.
Definition:
BomJSONExport.hpp:37
boost::property_tree
Definition:
BomJSONExport.hpp:23
SEVMGR::BomJSONExport::jsonExportEventQueue
static void jsonExportEventQueue(stdair::STDAIR_ServicePtr_T &, std::ostream &, const EventQueue &, const stdair::EventType::EN_EventType &)
Definition:
BomJSONExport.cpp:32
boost
Definition:
BomJSONExport.hpp:22
SEVMGR::EventQueue
Class holding event structures.
Definition:
EventQueue.hpp:68
bpt
Definition:
BomJSONExport.cpp:23
boost::property_tree::ptree
std::string ptree
Definition:
BomJSONExport.hpp:24
SEVMGR
Definition:
BasConst.cpp:10
Generated on Sat Aug 1 2020 00:00:00 for SEvMgr by
1.8.18