TravelCCM Logo  1.00.3
C++ Travel Customer Choice Model Library
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 
38  public:
42  MissingCustomerChoiceModelException (const std::string& iWhat)
43  : CustomerChoiceException (iWhat) {}
44  };
45 
46 
47 
48  // //////// Type definitions /////////
52  typedef boost::shared_ptr<TRAVELCCM_Service> TRAVELCCM_ServicePtr_T;
53 
54 }
55 #endif // __TRAVELCCM_TRAVELCCM_TYPES_HPP
CustomerChoiceException(const std::string &iWhat)
Forward declarations.
boost::shared_ptr< TRAVELCCM_Service > TRAVELCCM_ServicePtr_T
MissingCustomerChoiceModelException(const std::string &iWhat)