TravelCCM Logo  1.00.9
C++ Travel Customer Choice Model Library
Loading...
Searching...
No Matches
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
14namespace 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)
MissingCustomerChoiceModelException(const std::string &iWhat)
boost::shared_ptr< TRAVELCCM_Service > TRAVELCCM_ServicePtr_T
Forward declarations.