StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
stdair::BomJSONExport Class Reference

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

#include <stdair/bom/BomJSONExport.hpp>

List of all members.

Static Public Member Functions

static void jsonExport (std::ostream &, const FlightDate &)

Detailed Description

Utility class to export StdAir objects in a JSON format.

Definition at line 34 of file BomJSONExport.hpp.


Member Function Documentation

void stdair::BomJSONExport::jsonExport ( std::ostream &  oStream,
const FlightDate iFlightDate 
) [static]

Recursively export (dump in the underlying output log stream) the objects of the BOM tree from the level of the given FlightDate.

Parameters:
std::ostream&Output stream in which the BOM tree should be logged/dumped.
constFlightDate& Root of the BOM tree to be exported.

Definition at line 29 of file BomJSONExport.cpp.

References stdair::FlightDate::getAirlineCode(), stdair::FlightDate::getDepartureDate(), and stdair::FlightDate::getFlightNumber().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines