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
TimePeriodKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_TIMEPERIODKEY_HPP
2
#define __STDAIR_BOM_TIMEPERIODKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STDAIR
8
#include <
stdair/bom/KeyAbstract.hpp
>
9
#include <
stdair/stdair_date_time_types.hpp
>
10
11
namespace
stdair {
15
struct
TimePeriodKey
:
public
KeyAbstract
{
16
17
public
:
18
// /////////// Construction ///////////
20
TimePeriodKey
(
const
Time_T
&,
21
const
Time_T
&);
23
TimePeriodKey
(
const
TimePeriodKey
&);
25
~TimePeriodKey
();
26
private
:
28
TimePeriodKey
();
29
30
public
:
31
// /////////// Getter //////////
35
const
Time_T
&
getTimeRangeStart
()
const
{
36
return
_timeRangeStart;
37
}
38
42
const
Time_T
&
getTimeRangeEnd
()
const
{
43
return
_timeRangeEnd;
44
}
45
46
// /////////// Display support methods /////////
52
void
toStream
(std::ostream& ioOut)
const
;
53
59
void
fromStream
(std::istream& ioIn);
60
66
const
std::string
toString
()
const
;
67
68
private
:
69
// ///////////////// Attributes ///////////////////
73
Time_T
_timeRangeStart;
74
78
Time_T
_timeRangeEnd;
79
80
};
81
82
}
83
#endif // __STDAIR_BOM_TIMEPERIODKEY_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1