StdAir Logo  1.00.20
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
YieldStore.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_YIELDSTORE_HPP
2#define __STDAIR_BOM_YIELDSTORE_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <string>
9// StdAir
14
15namespace stdair {
16
18 class YieldStore : public BomAbstract {
19 template <typename BOM> friend class FacBom;
20 friend class FacBomManager;
21
22 public :
23 // Type definitions
26
27 public:
28 // /////////// Display support methods /////////
31 void toStream (std::ostream& ioOut) const { ioOut << toString(); }
32
34 BomAbstract* const getParent() const { return _parent; }
35
38 void fromStream (std::istream& ioIn) { }
39
41 std::string toString() const;
42
44 const std::string describeKey() const { return _key.toString(); }
45
46 public:
47 // ////////// Getters ////////////
49 const Key_T& getKey() const { return _key; }
50
52 const AirlineCode_T& getAirlineCode () const {
53 return _key.getAirlineCode();
54 }
55
56 protected:
58 YieldStore (const Key_T&);
62
63 protected:
64 // Attributes
68 };
69
70}
71#endif // __STDAIR_BOM_YIELDSTORE_HPP
72
Handle on the StdAir library context.
std::string AirlineCode_T
YieldStoreKey Key_T
const Key_T & getKey() const
const AirlineCode_T & getAirlineCode() const
YieldStore(const YieldStore &)
void fromStream(std::istream &ioIn)
const std::string describeKey() const
BomAbstract * _parent
BomAbstract *const getParent() const
friend class FacBom
void toStream(std::ostream &ioOut) const
friend class FacBomManager
std::string toString() const
YieldStore(const Key_T &)