#include <airinv/server/BomPropertyTree.hpp>
Public Member Functions | |
void | load (const std::string &iBomTree) |
std::string | save () const |
Public Attributes | |
stdair::AirlineCode_T | _airlineCode |
stdair::FlightNumber_T | _flightNumber |
stdair::Date_T | _departureDate |
std::set< stdair::AirportCode_T > | _airportCodeList |
Structure representing a list of airports.
Definition at line 19 of file BomPropertyTree.hpp.
void stdair::BomPropertyTree::load | ( | const std::string & | iBomTree | ) |
Update the current BOM tree (*this) with the parsed stream, which is JSON formatted.
Definition at line 17 of file BomPropertyTree.cpp.
References _airlineCode, _departureDate, and _flightNumber.
std::string stdair::BomPropertyTree::save | ( | ) | const |
Dump the BOM tree (*this) into the stream with a JSON format.
Definition at line 60 of file BomPropertyTree.cpp.
References _airlineCode, _airportCodeList, _departureDate, and _flightNumber.
stdair::AirlineCode_T stdair::BomPropertyTree::_airlineCode |
stdair::FlightNumber_T stdair::BomPropertyTree::_flightNumber |
stdair::Date_T stdair::BomPropertyTree::_departureDate |
Departure date.
Definition at line 39 of file BomPropertyTree.hpp.
std::set<stdair::AirportCode_T> stdair::BomPropertyTree::_airportCodeList |
Just to have a list, for now.
Definition at line 42 of file BomPropertyTree.hpp.
Referenced by save().