StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BreakPointStruct.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
2 #define __STDAIR_BOM_BREAKPOINTSTRUCT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 #include <string>
10 // StdAir
14 
15 namespace stdair {
16 
18  struct BreakPointStruct : public StructAbstract {
19  public:
20  // /////////////// Getters /////////////////
22  const DateTime_T& getBreakPointTime() const {
23  return _breakPointTime;
24  }
25 
26  // /////////// Display support method /////////////
29  void toStream (std::ostream& ioOut) const;
30 
33  void fromStream (std::istream& ioIn);
34 
36  const std::string describe() const;
37 
38 
39  // /////////////// Constructors and Destructors /////////////////
40  public:
42  BreakPointStruct (const DateTime_T&);
43 
45  BreakPointStruct (const Date_T&);
46 
49 
50  private:
54 
55  public:
58 
59 
60  private:
61  // /////////////// Attributes /////////////////
63  const DateTime_T _breakPointTime;
64  };
65 
66 }
67 #endif // __STDAIR_BOM_BREAKPOINTSTRUCT_HPP