StdAir Logo  1.00.12
C++ Standard Airline IT Object Library
YieldFeaturesKey.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_YIELDFEATURESKEY_HPP
2#define __STDAIR_BOM_YIELDFEATURESKEY_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// StdAir
12
13namespace stdair {
14
18 struct YieldFeaturesKey : public KeyAbstract {
19 public:
20 // /////////// Construction ///////////
33 private:
38
39 public:
40 // /////////// Getters //////////
44 const TripType_T& getTripType() const {
45 return _tripType;
46 }
47
51 const CabinCode_T& getCabinCode() const {
52 return _cabinCode;
53 }
54
55 public:
56 // /////////// Display support methods /////////
61 void toStream (std::ostream& ioOut) const;
62
67 void fromStream (std::istream& ioIn);
68
74 const std::string toString() const;
75
76 private:
77 // //////////////// Attributes //////////////////
81 TripType_T _tripType;
82
86 CabinCode_T _cabinCode;
87 };
88
89}
90#endif // __STDAIR_BOM_YIELDFEATURESKEY_HPP
Handle on the StdAir library context.
std::string TripType_T
std::string CabinCode_T
Base class for the keys of Business Object Model (BOM) layer.
Definition: KeyAbstract.hpp:27
void toStream(std::ostream &ioOut) const
const std::string toString() const
void fromStream(std::istream &ioIn)
const TripType_T & getTripType() const
const CabinCode_T & getCabinCode() const