SEvMgr Logo  1.00.5
C++ Simulation-Oriented Discrete Event Management Library
SEVMGR::BomJSONExport Class Reference

Utility class to export StdAir objects in a JSON format. More...

#include <sevmgr/bom/BomJSONExport.hpp>

Static Public Member Functions

static void jsonExportEventQueue (stdair::STDAIR_ServicePtr_T &, std::ostream &, const EventQueue &, const stdair::EventType::EN_EventType &)
 

Detailed Description

Utility class to export StdAir objects in a JSON format.

Definition at line 37 of file BomJSONExport.hpp.

Member Function Documentation

◆ jsonExportEventQueue()

void SEVMGR::BomJSONExport::jsonExportEventQueue ( stdair::STDAIR_ServicePtr_T &  ioSTDAIR_ServicePtr,
std::ostream &  oStream,
const EventQueue iEventQueue,
const stdair::EventType::EN_EventType &  iEventType 
)
static

Export (dump in the underlying output log stream and in JSON format) the event struct objects contained in the event queue.

@stdair::STDAIR_ServicePtr_T& Pointer on the StdAir service handler.

Parameters
std::ostream&Output stream in which the events should be logged/dumped.
constEventQueue& Events queue to be stored in JSON-ified format.
conststdair::EventType::EN_EventType& Filter to select objects with a certain event type.

Definition at line 31 of file BomJSONExport.cpp.

References SEVMGR::EventQueue::getEventList().

Referenced by SEVMGR::SEVMGR_Service::jsonExportEventQueue().


The documentation for this class was generated from the following files: