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

stdair/bom/BreakPointStruct.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
00002 #define __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <iosfwd>
00009 #include <string>
00010 // StdAir
00011 #include <stdair/stdair_date_time_types.hpp>
00012 #include <stdair/basic/StructAbstract.hpp>
00013 #include <stdair/bom/BreakPointTypes.hpp>
00014 
00015 namespace stdair {
00016 
00018   struct BreakPointStruct : public StructAbstract {
00019   public:
00020     // /////////////// Getters /////////////////
00022     const DateTime_T& getBreakPointTime() const {
00023       return _breakPointTime;
00024     }
00025     
00026     // /////////// Display support method /////////////
00029     void toStream (std::ostream& ioOut) const;
00030 
00033     void fromStream (std::istream& ioIn);
00034 
00036     const std::string describe() const;
00037 
00038     
00039     // /////////////// Constructors and Destructors /////////////////
00040   public:
00042     BreakPointStruct (const DateTime_T&); 
00043 
00045     BreakPointStruct (const Date_T&);
00046 
00048     BreakPointStruct (const BreakPointStruct&);
00049 
00050   private:
00053     BreakPointStruct ();
00054 
00055   public:
00057     ~BreakPointStruct();
00058     
00059 
00060   private:
00061     // /////////////// Attributes /////////////////    
00063     const DateTime_T _breakPointTime;
00064   };
00065 
00066 }
00067 #endif // __STDAIR_BOM_BREAKPOINTSTRUCT_HPP