AirInv Logo  1.00.5
C++ Simulated Airline Inventory Management System Library
BomPropertyTree.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_SVR_BOMPROPERTYTREE_HPP
2 #define __AIRINV_SVR_BOMPROPERTYTREE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <set>
10 // StdAir
11 #include <stdair/stdair_basic_types.hpp>
12 #include <stdair/stdair_date_time_types.hpp>
13 
14 namespace stdair {
15 
19  struct BomPropertyTree {
24  void load (const std::string& iBomTree);
25 
29  std::string save() const;
30 
31  // ///////////// Attributes ////////////
33  stdair::AirlineCode_T _airlineCode;
34 
36  stdair::FlightNumber_T _flightNumber;
37 
39  stdair::Date_T _departureDate;
40 
42  std::set<stdair::AirportCode_T> _airportCodeList;
43  };
44 
45 }
46 #endif // __AIRINV_SVR_BOMPROPERTYTREE_HPP
stdair::BomPropertyTree::save
std::string save() const
Definition: BomPropertyTree.cpp:60
stdair::BomPropertyTree::load
void load(const std::string &iBomTree)
Definition: BomPropertyTree.cpp:17
stdair
Forward declarations.
Definition: AIRINV_Master_Service.hpp:25
stdair::BomPropertyTree::_airlineCode
stdair::AirlineCode_T _airlineCode
Definition: BomPropertyTree.hpp:33
stdair::BomPropertyTree::_departureDate
stdair::Date_T _departureDate
Definition: BomPropertyTree.hpp:39
stdair::BomPropertyTree::_airportCodeList
std::set< stdair::AirportCode_T > _airportCodeList
Definition: BomPropertyTree.hpp:42
stdair::BomPropertyTree::_flightNumber
stdair::FlightNumber_T _flightNumber
Definition: BomPropertyTree.hpp:36
stdair::BomPropertyTree
Definition: BomPropertyTree.hpp:19