AirTSP Logo  1.01.9
C++ Simulated Airline Travel Solution Provider (TSP) Library
Loading...
Searching...
No Matches
AIRTSP_Types.hpp
Go to the documentation of this file.
1#ifndef __AIRTSP_AIRTSP_TYPES_HPP
2#define __AIRTSP_AIRTSP_TYPES_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// Boost
8#include <boost/shared_ptr.hpp>
9// StdAir
10#include <stdair/stdair_exceptions.hpp>
11
12namespace AIRTSP {
13
14 // Forward declarations
15 class AIRTSP_Service;
16
17
18 // ///////// Exceptions ///////////
23 class SegmentDateNotFoundException : public stdair::ParserException {
24 public:
28 SegmentDateNotFoundException (const std::string& iWhat)
29 : stdair::ParserException (iWhat) {}
30 };
31
35 class OnDInputFileNotFoundException : public stdair::FileNotFoundException {
36 public:
40 OnDInputFileNotFoundException (const std::string& iWhat)
41 : stdair::FileNotFoundException (iWhat) {}
42 };
43
48 : public stdair::FileNotFoundException {
49 public:
53 ScheduleInputFileNotFoundException (const std::string& iWhat)
54 : stdair::FileNotFoundException (iWhat) {}
55 };
56
57
58 // //////// Type definitions specific to Airtsp /////////
62 typedef boost::shared_ptr<AIRTSP_Service> AIRTSP_ServicePtr_T;
63
64}
65#endif // __AIRTSP_AIRTSP_TYPES_HPP
OnDInputFileNotFoundException(const std::string &iWhat)
ScheduleInputFileNotFoundException(const std::string &iWhat)
SegmentDateNotFoundException(const std::string &iWhat)
boost::shared_ptr< AIRTSP_Service > AIRTSP_ServicePtr_T
Forward declarations.