StdAir Logo  1.00.10
C++ Standard Airline IT Object Library
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
BreakPointTypes.hpp
stdair::BreakPointStruct::getBreakPointTime
const DateTime_T & getBreakPointTime() const
Definition: BreakPointStruct.hpp:22
stdair::BreakPointStruct::~BreakPointStruct
~BreakPointStruct()
Definition: BreakPointStruct.cpp:37
stdair_date_time_types.hpp
stdair
Handle on the StdAir library context.
Definition: BasChronometer.cpp:9
stdair::BreakPointStruct::toStream
void toStream(std::ostream &ioOut) const
Definition: BreakPointStruct.cpp:41
stdair::DateTime_T
boost::posix_time::ptime DateTime_T
Definition: stdair_date_time_types.hpp:26
StructAbstract.hpp
stdair::BreakPointStruct::fromStream
void fromStream(std::istream &ioIn)
Definition: BreakPointStruct.cpp:46
stdair::BreakPointStruct::describe
const std::string describe() const
Definition: BreakPointStruct.cpp:50
stdair::BreakPointStruct
Definition: BreakPointStruct.hpp:18
stdair::StructAbstract
Base class for the light structures.
Definition: StructAbstract.hpp:16
stdair::Date_T
boost::gregorian::date Date_T
Definition: stdair_date_time_types.hpp:20