StdAir Logo  1.00.16
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
10
11namespace stdair {
14 struct DatePeriodKey : public KeyAbstract {
15
16 public:
17 // /////////// Construction ///////////
24
25 private:
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
Handle on the StdAir library context.
boost::gregorian::date_period DatePeriod_T
Key of date-period.
const std::string toString() const
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const
const DatePeriod_T & getDatePeriod() const
Base class for the keys of Business Object Model (BOM) layer.