SimCRS Logo  1.00.0
C++ Simulated Travel-Oriented Distribution System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
SIMCRS_Types.hpp
Go to the documentation of this file.
1 #ifndef __SIMCRS_SIMCRS_TYPES_HPP
2 #define __SIMCRS_SIMCRS_TYPES_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <exception>
9 #include <string>
10 // Boost
11 #include <boost/shared_ptr.hpp>
12 // StdAir
13 #include <stdair/stdair_exceptions.hpp>
14 
15 namespace SIMCRS {
16 
17  // Forward declarations
18  class SIMCRS_Service;
19 
20 
21  // ///////// Exceptions ///////////
25  class BookingException : public stdair::RootException {
26  };
27 
31  class AvailabilityRetrievalException : public stdair::RootException {
32  };
33 
34 
35  // //////// Type definitions specific to SimCRS /////////
39  typedef std::string CRSCode_T;
40 
44  typedef boost::shared_ptr<SIMCRS_Service> SIMCRS_ServicePtr_T;
45 
46 }
47 #endif // __SIMCRS_SIMCRS_TYPES_HPP
48