$treeview $search $mathjax
00001 #ifndef __SIMCRS_SIMCRS_TYPES_HPP 00002 #define __SIMCRS_SIMCRS_TYPES_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <exception> 00009 #include <string> 00010 // Boost 00011 #include <boost/shared_ptr.hpp> 00012 // StdAir 00013 #include <stdair/stdair_exceptions.hpp> 00014 00015 namespace SIMCRS { 00016 00017 // Forward declarations 00018 class SIMCRS_Service; 00019 00020 00021 // ///////// Exceptions /////////// 00025 class BookingException : public stdair::RootException { 00026 }; 00027 00031 class AvailabilityRetrievalException : public stdair::RootException { 00032 }; 00033 00034 00035 // //////// Type definitions specific to SimCRS ///////// 00039 typedef std::string CRSCode_T; 00040 00044 typedef boost::shared_ptr<SIMCRS_Service> SIMCRS_ServicePtr_T; 00045 00046 } 00047 #endif // __SIMCRS_SIMCRS_TYPES_HPP 00048