AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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