1.01.12
C++ Simulated Travel-Oriented Distribution System Library
Toggle main menu visibility
Loading...
Searching...
No Matches
BomJSONExport.hpp
Go to the documentation of this file.
1
#ifndef __TVLSIM_BOM_BOMJSONEXPORT_HPP
2
#define __TVLSIM_BOM_BOMJSONEXPORT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
// Boost Property Tree
10
#if BOOST_VERSION_MACRO >= 104100
11
#include <boost/property_tree/ptree.hpp>
12
#include <boost/property_tree/json_parser.hpp>
13
#endif
// BOOST_VERSION_MACRO >= 104100
14
15
#if BOOST_VERSION_MACRO >= 104100
16
namespace
bpt
= boost::property_tree;
17
#else
// BOOST_VERSION_MACRO >= 104100
18
namespace
bpt
{
19
typedef
char
ptree
;
20
}
21
#endif
// BOOST_VERSION_MACRO >= 104100
22
23
namespace
TVLSIM
{
24
25
struct
SimulationStatus
;
26
30
31
class
BomJSONExport
{
32
public
:
33
// //////////////// Export support methods /////////////////
34
42
static
void
jsonExportSimulationStatus
(std::ostream&,
43
const
SimulationStatus
&);
44
45
};
46
47
}
48
#endif
// __TVLSIM_BOM_BOMJSONEXPORT_HPP
TVLSIM::BomJSONExport
Utility class to export StdAir objects in a JSON format.
Definition
BomJSONExport.hpp:31
TVLSIM::BomJSONExport::jsonExportSimulationStatus
static void jsonExportSimulationStatus(std::ostream &, const SimulationStatus &)
Definition
BomJSONExport.cpp:29
TVLSIM
Definition
BasConst.cpp:7
bpt
Definition
BomJSONExport.cpp:20
bpt::ptree
char ptree
Definition
BomJSONExport.cpp:21
TVLSIM::SimulationStatus
Definition
SimulationStatus.hpp:29
Generated on
for TvlSim by
1.17.0