StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
FFDisutilityCurveHolderStruct.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BOM_FFDISUTILITYCURVEHOLDERSTRUCT_HPP
2 #define __STDAIR_BOM_FFDISUTILITYCURVEHOLDERSTRUCT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 #include <string>
10 // StdAir
13 
14 namespace stdair {
15  // Type definition for the holder of disutility curves.
16  typedef std::map<const std::string, FFDisutilityCurve_T> FFDisutilityCurveHolder_T;
17 
20  public:
21  // /////////////// Getters /////////////////
23  const FFDisutilityCurve_T& getFFDisutilityCurve (const std::string&) const;
24 
25  // ///////////// Business Methods //////////
27  void addCurve (const std::string&, const FFDisutilityCurve_T&);
28 
29  // /////////// Display support method /////////////
32  void toStream (std::ostream& ioOut) const;
33 
36  void fromStream (std::istream& ioIn);
37 
39  const std::string describe() const;
40 
41 
42  // /////////////// Constructors and Destructors /////////////////
43  public:
46 
49 
50  public:
53 
54 
55  private:
56  // /////////////// Attributes /////////////////
58  FFDisutilityCurveHolder_T _disutilityCurveHolder;
59  };
60 
61 }
62 #endif // __STDAIR_BOM_FFDISUTILITYCURVEHOLDERSTRUCT_HPP
void addCurve(const std::string &, const FFDisutilityCurve_T &)
std::map< const DTD_T, double > FFDisutilityCurve_T
Handle on the StdAir library context.
Base class for the light structures.
const FFDisutilityCurve_T & getFFDisutilityCurve(const std::string &) const
std::map< const std::string, FFDisutilityCurve_T > FFDisutilityCurveHolder_T