StdAir Logo  0.43.0
C++ Standard Airline IT Library
EventQueueKey.hpp
Go to the documentation of this file.
00001 #ifndef __STDAIR_BOM_EVENTQUEUEKEY_HPP
00002 #define __STDAIR_BOM_EVENTQUEUEKEY_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // StdAir
00008 #include <stdair/stdair_basic_types.hpp>
00009 #include <stdair/stdair_event_types.hpp>
00010 #include <stdair/bom/KeyAbstract.hpp>
00011 
00012 namespace stdair {
00013   
00015   struct EventQueueKey : public KeyAbstract {
00016     
00017   private:
00018     // /////////// Default constructor //////////
00019     EventQueueKey () { }
00020     
00021   public:
00022     // /////////// Construction ///////////
00024     EventQueueKey (const EventQueueID_T&);
00025     EventQueueKey (const EventQueueKey&);
00027     ~EventQueueKey ();
00028     
00029     // /////////// Getters //////////
00031     const EventQueueID_T& getEventQueueID() const {
00032       return _eventQueueID;
00033     }
00034 
00035     // /////////// Display support methods /////////
00038     void toStream (std::ostream& ioOut) const;
00039     
00042     void fromStream (std::istream& ioIn);
00043       
00049     const std::string toString() const;
00050 
00051     
00052   private:
00053     // //////////// Attributes ////////////////
00055     EventQueueID_T _eventQueueID;
00056   };
00057 
00058 }
00059 #endif // __STDAIR_BOM_EVENTQUEUEKEY_HPP