$treeview $search $mathjax
AirTSP Logo  1.01.2
$projectbrief
$projectbrief
$searchbox

OnDPeriodStruct.hpp

Go to the documentation of this file.
00001 #ifndef __AIRTSP_BOM_ONDPERIODSTRUCT_HPP
00002 #define __AIRTSP_BOM_ONDPERIODSTRUCT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 // StdAir
00010 #include <stdair/stdair_inventory_types.hpp>
00011 #include <stdair/basic/StructAbstract.hpp>
00012 
00013 namespace AIRTSP {
00014 
00016   struct OnDPeriodStruct : public stdair::StructAbstract {
00017   public:
00018     // /////////// Getters //////////////      
00020     const stdair::AirlineCode_T& getFirstAirlineCode () const;
00021 
00023     stdair::Date_T getDate() const;
00024 
00026     stdair::Duration_T getTime() const;
00027       
00028     // ///////// Display Methods //////////
00030     const std::string describe() const;
00031 
00034     const std::string describeTSKey() const;
00035       
00036   public:
00038     OnDPeriodStruct ();
00039       
00040   public:
00041     // Attributes
00042     stdair::AirportCode_T _origin;
00043     stdair::AirportCode_T _destination;
00044     stdair::DatePeriod_T _datePeriod;
00045     stdair::Duration_T _timeRangeStart;
00046     stdair::Duration_T _timeRangeEnd;
00047     stdair::NbOfAirlines_T _nbOfAirlines;
00048     stdair::AirlineCode_T _airlineCode;
00049     stdair::ClassCode_T _classCode; 
00050     stdair::AirlineCodeList_T _airlineCodeList;
00051     stdair::ClassCodeList_T _classCodeList;
00052 
00054     stdair::Date_T _dateRangeStart;
00055     stdair::Date_T _dateRangeEnd;
00056     unsigned int _itYear;
00057     unsigned int _itMonth;
00058     unsigned int _itDay;
00059 
00061     long _itHours;
00062     long _itMinutes;
00063     long _itSeconds;
00064   };
00065 }
00066 #endif // __AIRTSP_BOM_ONDPERIODSTRUCT_HPP