StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
RMEventStruct.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BOM_RMEVENTSTRUCT_HPP
2 #define __STDAIR_BOM_RMEVENTSTRUCT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <iosfwd>
9 #include <string>
10 // StdAir
15 
16 namespace stdair {
17 
19  struct RMEventStruct : public StructAbstract {
20  public:
21  // /////////////// Getters /////////////////
23  const AirlineCode_T& getAirlineCode() const {
24  return _airlineCode;
25  }
26 
29  return _flightDateDescription;
30  }
31 
33  const DateTime_T& getRMEventTime() const {
34  return _RMEventTime;
35  }
36 
37  // /////////// Display support method /////////////
40  void toStream (std::ostream& ioOut) const;
41 
44  void fromStream (std::istream& ioIn);
45 
47  const std::string describe() const;
48 
49 
50  // /////////////// Constructors and Destructors /////////////////
51  public:
54  const DateTime_T&);
55 
58 
61  RMEventStruct ();
62 
63  public:
66 
67 
68  private:
69  // /////////////// Attributes /////////////////
71  const AirlineCode_T _airlineCode;
72 
74  const KeyDescription_T _flightDateDescription;
75 
77  const DateTime_T _RMEventTime;
78  };
79 
80 }
81 #endif // __STDAIR_BOM_RMEVENTSTRUCT_HPP
boost::posix_time::ptime DateTime_T
const AirlineCode_T & getAirlineCode() const
Handle on the StdAir library context.
std::string AirlineCode_T
const std::string describe() const
Base class for the light structures.
const DateTime_T & getRMEventTime() const
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const
const KeyDescription_T & getFlightDateDescription() const
std::string KeyDescription_T