StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
DatePeriodTypes.hpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 #ifndef __STDAIR_BOM_DATEPERIODTYPES_HPP
3 #define __STDAIR_BOM_DATEPERIODTYPES_HPP
4 
5 // //////////////////////////////////////////////////////////////////////
6 // Import section
7 // //////////////////////////////////////////////////////////////////////
8 // STL
9 #include <map>
10 #include <list>
11 // STDAIR
12 #include <stdair/bom/key_types.hpp>
13 
14 namespace stdair {
15 
16  // Forward declarations.
17  class DatePeriod;
18 
20  typedef std::list<DatePeriod*> DatePeriodList_T;
21 
23  typedef std::map<const MapKey_T, DatePeriod*> DatePeriodMap_T;
24 
26  typedef std::pair<MapKey_T, DatePeriod*> DatePeriodWithKey_T;
27  typedef std::list<DatePeriodWithKey_T> DatePeriodDetailedList_T;
28 }
29 #endif // __STDAIR_BOM_DATEPERIODTYPES_HPP
30 
Handle on the StdAir library context.
std::list< DatePeriod * > DatePeriodList_T
std::list< DatePeriodWithKey_T > DatePeriodDetailedList_T
std::map< const MapKey_T, DatePeriod * > DatePeriodMap_T
std::pair< MapKey_T, DatePeriod * > DatePeriodWithKey_T
Class representing the actual attributes for a fare date-period.
Definition: DatePeriod.hpp:18