TvlSim Logo  1.01.6
C++ Simulated Travel-Oriented Distribution System Library
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
23namespace TVLSIM {
24
25 struct SimulationStatus;
26
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
Utility class to export StdAir objects in a JSON format.
static void jsonExportSimulationStatus(std::ostream &, const SimulationStatus &)
char ptree