$treeview $search $mathjax
00001 #ifndef __TRAVELCCM_TRAVELCCM_TYPES_HPP 00002 #define __TRAVELCCM_TRAVELCCM_TYPES_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // Boost 00010 #include <boost/shared_ptr.hpp> 00011 // StdAir 00012 #include <stdair/stdair_exceptions.hpp> 00013 00014 namespace TRAVELCCM { 00015 00017 class TRAVELCCM_Service; 00018 00019 00020 // ///////// Exceptions /////////// 00024 class CustomerChoiceException : public stdair::RootException { 00025 public: 00029 CustomerChoiceException (const std::string& iWhat) 00030 : stdair::RootException (iWhat) {} 00031 }; 00032 00037 class MissingCustomerChoiceModelException : public CustomerChoiceException { 00038 public: 00042 MissingCustomerChoiceModelException (const std::string& iWhat) 00043 : CustomerChoiceException (iWhat) {} 00044 }; 00045 00046 00047 00048 // //////// Type definitions ///////// 00052 typedef boost::shared_ptr<TRAVELCCM_Service> TRAVELCCM_ServicePtr_T; 00053 00054 } 00055 #endif // __TRAVELCCM_TRAVELCCM_TYPES_HPP