0.45.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CancellationStruct.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_CANCELLATIONSTRUCT_HPP
2
#define __STDAIR_BOM_CANCELLATIONSTRUCT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
#include <string>
10
#include <vector>
11
// StdAir
12
#include <
stdair/stdair_basic_types.hpp
>
13
#include <
stdair/basic/StructAbstract.hpp
>
14
#include <
stdair/bom/BookingClassTypes.hpp
>
15
#include <
stdair/bom/TravelSolutionTypes.hpp
>
16
17
namespace
stdair {
18
22
struct
CancellationStruct
:
public
StructAbstract
{
23
public
:
24
// /////////// Getters ///////////////
26
const
SegmentPath_T
&
getSegmentPath
()
const
{
27
return
_segmentPath;
28
}
29
31
const
ClassList_String_T
&
getClassList
()
const
{
32
return
_classList;
33
}
34
36
const
PartySize_T
&
getPartySize
()
const
{
37
return
_partySize;
38
}
39
41
const
DateTime_T
&
getCancellationDateTime
()
const
{
42
return
_datetime;
43
}
44
45
public
:
46
// /////////// Display support method /////////////
52
void
toStream
(std::ostream& ioOut)
const
;
53
58
void
fromStream
(std::istream& ioIn);
59
63
const
std::string
describe
()
const
;
64
68
const
std::string
display
()
const
;
69
70
71
public
:
72
// //////////// Constructors & Destructor ///////////////
76
CancellationStruct
(
const
SegmentPath_T
&,
const
ClassList_String_T
&,
77
const
PartySize_T
&,
const
DateTime_T
&);
78
82
~CancellationStruct
();
83
84
85
private
:
86
// ///////////////////// Attributes //////////////////////
90
SegmentPath_T
_segmentPath;
91
95
ClassList_String_T
_classList;
96
100
PartySize_T
_partySize;
101
105
DateTime_T
_datetime;
106
};
107
108
}
109
#endif // __STDAIR_BOM_CANCELLATIONSTRUCT_HPP
Generated on Thu Aug 16 2012 03:18:48 for StdAir by
1.8.1.2