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

AIRTSP_Types.hpp

Go to the documentation of this file.
00001 #ifndef __AIRTSP_AIRTSP_TYPES_HPP
00002 #define __AIRTSP_AIRTSP_TYPES_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // Boost
00008 #include <boost/shared_ptr.hpp>
00009 // StdAir
00010 #include <stdair/stdair_exceptions.hpp>
00011 
00012 namespace AIRTSP {
00013 
00014   // Forward declarations
00015   class AIRTSP_Service;
00016 
00017 
00018   // ///////// Exceptions ///////////
00023   class SegmentDateNotFoundException : public stdair::ParserException {
00024   public:
00028     SegmentDateNotFoundException (const std::string& iWhat)
00029       : stdair::ParserException (iWhat) {}
00030   };
00031 
00035   class OnDInputFileNotFoundException : public stdair::FileNotFoundException {
00036   public:
00040     OnDInputFileNotFoundException (const std::string& iWhat)
00041       : stdair::FileNotFoundException (iWhat) {}
00042   };
00043 
00047   class ScheduleInputFileNotFoundException
00048     : public stdair::FileNotFoundException {
00049   public:
00053     ScheduleInputFileNotFoundException (const std::string& iWhat)
00054       : stdair::FileNotFoundException (iWhat) {}
00055   };
00056 
00057 
00058   // //////// Type definitions specific to Airtsp /////////
00062   typedef boost::shared_ptr<AIRTSP_Service> AIRTSP_ServicePtr_T;
00063   
00064 }
00065 #endif // __AIRTSP_AIRTSP_TYPES_HPP