StdAir Logo  1.00.20
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
AirlineFeatureKey.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_AIRLINEFEATUREKEY_HPP
2#define __STDAIR_BOM_AIRLINEFEATUREKEY_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <string>
9// StdAir
12
13namespace stdair {
16
17 public:
18 // /////////// Construction ///////////
20 AirlineFeatureKey (const AirlineCode_T& iAirlineCode);
21
24
25 // /////////// Getters //////////
27 const AirlineCode_T& getAirlineCode() const { return _airlineCode; }
28
29 // /////////// Display support methods /////////
32 void toStream (std::ostream& ioOut) const;
33
36 void fromStream (std::istream& ioIn);
37
43 const std::string toString() const;
44
45 private:
46 // Attributes
48 AirlineCode_T _airlineCode;
49 };
50
51}
52#endif // __STDAIR_BOM_AIRLINEFEATUREKEY_HPP
Handle on the StdAir library context.
std::string AirlineCode_T
void fromStream(std::istream &ioIn)
const AirlineCode_T & getAirlineCode() const
AirlineFeatureKey(const AirlineCode_T &iAirlineCode)
void toStream(std::ostream &ioOut) const
const std::string toString() const
Base class for the keys of Business Object Model (BOM) layer.