$treeview $search $mathjax
AirInv Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

stdair::BomPropertyTree Struct Reference

#include <airinv/server/BomPropertyTree.hpp>

List of all members.


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

Detailed Description

Structure representing a list of airports.

Definition at line 19 of file BomPropertyTree.hpp.


Member Function Documentation

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.


Member Data Documentation

Airline code.

Definition at line 33 of file BomPropertyTree.hpp.

Referenced by load(), and save().

Flight number.

Definition at line 36 of file BomPropertyTree.hpp.

Referenced by load(), and save().

Departure date.

Definition at line 39 of file BomPropertyTree.hpp.

Referenced by load(), and save().

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().


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