StdAir Logo  1.00.15
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
16namespace stdair {
17
19 struct RMEventStruct : public StructAbstract {
20 public:
21 // /////////////// Getters /////////////////
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
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
Handle on the StdAir library context.
boost::posix_time::ptime DateTime_T
std::string KeyDescription_T
std::string AirlineCode_T
Base class for the light structures.
const std::string describe() const
void toStream(std::ostream &ioOut) const
void fromStream(std::istream &ioIn)
const AirlineCode_T & getAirlineCode() const
const DateTime_T & getRMEventTime() const
const KeyDescription_T & getFlightDateDescription() const