1.00.10
C++ Standard Airline IT Object Library
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
stdair::DatePeriodKey::fromStream
void fromStream(std::istream &ioIn)
Definition:
DatePeriodKey.cpp:41
stdair::DatePeriodKey
Key of date-period.
Definition:
DatePeriodKey.hpp:14
stdair::DatePeriodKey::toString
const std::string toString() const
Definition:
DatePeriodKey.cpp:45
stdair::DatePeriodKey::~DatePeriodKey
~DatePeriodKey()
Definition:
DatePeriodKey.cpp:32
stdair_date_time_types.hpp
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
KeyAbstract.hpp
stdair::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition:
KeyAbstract.hpp:27
stdair::DatePeriod_T
boost::gregorian::date_period DatePeriod_T
Definition:
stdair_date_time_types.hpp:29
stdair::DatePeriodKey::getDatePeriod
const DatePeriod_T & getDatePeriod() const
Definition:
DatePeriodKey.hpp:32
stdair::DatePeriodKey::toStream
void toStream(std::ostream &ioOut) const
Definition:
DatePeriodKey.cpp:36
Generated for StdAir by
1.8.18