TravelCCM Logo  1.00.1
C++ Travel Customer Choice Model Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
TRAVELCCM_Types.hpp
Go to the documentation of this file.
1 #ifndef __TRAVELCCM_TRAVELCCM_TYPES_HPP
2 #define __TRAVELCCM_TRAVELCCM_TYPES_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // Boost
10 #include <boost/shared_ptr.hpp>
11 // StdAir
12 #include <stdair/stdair_exceptions.hpp>
13 
14 namespace TRAVELCCM {
15 
17  class TRAVELCCM_Service;
18 
19 
20  // ///////// Exceptions ///////////
24  class CustomerChoiceException : public stdair::RootException {
25  public:
29  CustomerChoiceException (const std::string& iWhat)
30  : stdair::RootException (iWhat) {}
31  };
32 
33 
34  // //////// Type definitions /////////
38  typedef boost::shared_ptr<TRAVELCCM_Service> TRAVELCCM_ServicePtr_T;
39 
40 }
41 #endif // __TRAVELCCM_TRAVELCCM_TYPES_HPP