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
DatePeriodKey.hpp
Go to the documentation of this file.
1
#ifndef __SIMFQT_BOM_DATEPERIODKEY_HPP
2
#define __SIMFQT_BOM_DATEPERIODKEY_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 {
14
struct
DatePeriodKey
:
public
KeyAbstract
{
15
16
public
:
17
// /////////// Construction ///////////
19
DatePeriodKey
(
const
DatePeriod_T
&);
21
DatePeriodKey
(
const
DatePeriodKey
&);
23
~DatePeriodKey
();
24
25
private
:
27
DatePeriodKey
();
28
29
public
:
30
// /////////// Getters //////////
32
const
DatePeriod_T
&
getDatePeriod
()
const
{
33
return
_datePeriod;
34
}
35
36
public
:
37
38
// /////////// Display support methods /////////
44
void
toStream
(std::ostream& ioOut)
const
;
45
51
void
fromStream
(std::istream& ioIn);
52
58
const
std::string
toString
()
const
;
59
60
private
:
61
// ///////////////// Attributes ///////////////////
65
DatePeriod_T
_datePeriod;
66
67
};
68
69
}
70
#endif // __SIMFQT_BOM_DATEPERIODKEY_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1