$treeview $search $mathjax
StdAir Logo  1.00.2
$projectbrief
$projectbrief
$searchbox

stdair/bom/FRAT5CurveHolderStruct.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_BOM_FRAT5CURVEHOLDERSTRUCT_HPP
00002 #define __STDAIR_BOM_FRAT5CURVEHOLDERSTRUCT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <iosfwd>
00009 #include <string>
00010 // StdAir
00011 #include <stdair/stdair_rm_types.hpp>
00012 #include <stdair/basic/StructAbstract.hpp>
00013 
00014 namespace stdair {
00015   // Type definition for the holder of Frat5 curves.
00016   typedef std::map<const std::string, FRAT5Curve_T> FRAT5CurveHolder_T;
00017 
00019   struct FRAT5CurveHolderStruct : public StructAbstract {
00020   public:
00021     // /////////////// Getters /////////////////
00023     const FRAT5Curve_T& getFRAT5Curve (const std::string&) const;
00024 
00025     // ///////////// Business Methods //////////
00027     void addCurve (const std::string&, const FRAT5Curve_T&);
00028     
00029     // /////////// Display support method /////////////
00032     void toStream (std::ostream& ioOut) const;
00033 
00036     void fromStream (std::istream& ioIn);
00037 
00039     const std::string describe() const;
00040 
00041     
00042     // /////////////// Constructors and Destructors /////////////////
00043   public:
00045     FRAT5CurveHolderStruct ();
00046 
00048     FRAT5CurveHolderStruct (const FRAT5CurveHolderStruct&);
00049 
00050   public:
00052     ~FRAT5CurveHolderStruct();
00053     
00054 
00055   private:
00056     // /////////////// Attributes /////////////////
00058     FRAT5CurveHolder_T _frat5CurveHolder;
00059   };
00060 
00061 }
00062 #endif // __STDAIR_BOM_FRAT5CURVEHOLDERSTRUCT_HPP