1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
11
#include <
stdair/stdair_inventory_types.hpp
>
12
#include <
stdair/stdair_demand_types.hpp
>
13
#include <
stdair/basic/StructAbstract.hpp
>
14
#include <
stdair/bom/RMEventTypes.hpp
>
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
28
const
KeyDescription_T
&
getFlightDateDescription
()
const
{
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
:
53
RMEventStruct
(
const
AirlineCode_T
&,
const
KeyDescription_T
&,
54
const
DateTime_T
&);
55
57
RMEventStruct
(
const
RMEventStruct
&);
58
61
RMEventStruct
();
62
63
public
:
65
~RMEventStruct
();
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
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1