StdAir Logo  1.00.12
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
YieldStoreKey.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_YIELDSTOREKEY_HPP
2#define __STDAIR_BOM_YIELDSTOREKEY_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// StdAir
10
11namespace stdair {
12
14 struct YieldStoreKey : public KeyAbstract {
15
16 private:
17 // /////////// Default constructor //////////
18 YieldStoreKey () { };
19
20 public:
21 // /////////// Construction ///////////
23 YieldStoreKey (const AirlineCode_T& iAirlineCode);
27
28 // /////////// Getters //////////
31 return _airlineCode;
32 }
33
34 // /////////// Display support methods /////////
37 void toStream (std::ostream& ioOut) const;
38
41 void fromStream (std::istream& ioIn);
42
48 const std::string toString() const;
49
50 private:
51 // Attributes
53 AirlineCode_T _airlineCode;
54 };
55
56}
57#endif // __STDAIR_BOM_YIELDSTOREKEY_HPP
Handle on the StdAir library context.
std::string AirlineCode_T
Base class for the keys of Business Object Model (BOM) layer.
Definition: KeyAbstract.hpp:27
const std::string toString() const
void fromStream(std::istream &ioIn)
const AirlineCode_T & getAirlineCode() const
void toStream(std::ostream &ioOut) const