$treeview $search $mathjax
00001 #ifndef __SEVMGR_BOM_BOMJSONEXPORT_HPP 00002 #define __SEVMGR_BOM_BOMJSONEXPORT_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <iosfwd> 00009 // Boost Property Tree 00010 #if BOOST_VERSION >= 104100 00011 #include <boost/property_tree/ptree.hpp> 00012 #include <boost/property_tree/json_parser.hpp> 00013 #endif // BOOST_VERSION >= 104100 00014 // StdAir 00015 #include <stdair/stdair_service_types.hpp> 00016 #include <stdair/bom/EventTypes.hpp> 00017 00018 #if BOOST_VERSION >= 104100 00019 namespace bpt = boost::property_tree; 00020 #else // BOOST_VERSION >= 104100 00021 namespace bpt { 00022 typedef char ptree; 00023 } 00024 #endif // BOOST_VERSION >= 104100 00025 00026 namespace SEVMGR { 00027 00028 class EventQueue; 00029 00034 class BomJSONExport { 00035 public: 00036 // //////////////// Export support methods ///////////////// 00037 00050 static void jsonExportEventQueue (stdair::STDAIR_ServicePtr_T&, 00051 std::ostream&, 00052 const EventQueue&, 00053 const stdair::EventType::EN_EventType&); 00054 00055 }; 00056 00057 } 00058 #endif // __SEVMGR_BOM_BOMJSONEXPORT_HPP