0.2.3
C++ Simulated Revenue Accounting (RAC) System Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
AIRRAC_Types.hpp
Go to the documentation of this file.
1
#ifndef __AIRRAC_AIRRAC_TYPES_HPP
2
#define __AIRRAC_AIRRAC_TYPES_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <vector>
9
#include <string>
10
// StdAir
11
#include <stdair/stdair_exceptions.hpp>
12
#include <stdair/stdair_file.hpp>
13
14
namespace
AIRRAC {
15
16
// ///////// Exceptions ///////////
17
class
AirportPairNotFoundException
:
public
stdair::ObjectNotFoundException {
18
public
:
20
AirportPairNotFoundException
(
const
std::string& iWhat)
21
: stdair::
ObjectNotFoundException
(iWhat) {}
22
};
23
24
class
PosOrChannelNotFoundException
:
public
stdair::ObjectNotFoundException {
25
public
:
27
PosOrChannelNotFoundException
(
const
std::string& iWhat)
28
: stdair::
ObjectNotFoundException
(iWhat) {}
29
};
30
31
class
FlightDateNotFoundException
:
public
stdair::ObjectNotFoundException {
32
public
:
34
FlightDateNotFoundException
(
const
std::string& iWhat)
35
: stdair::
ObjectNotFoundException
(iWhat) {}
36
};
37
38
class
FlightTimeNotFoundException
:
public
stdair::ObjectNotFoundException {
39
public
:
41
FlightTimeNotFoundException
(
const
std::string& iWhat)
42
: stdair::
ObjectNotFoundException
(iWhat) {}
43
};
44
45
class
FeaturesNotFoundException
:
public
stdair::ObjectNotFoundException {
46
public
:
48
FeaturesNotFoundException
(
const
std::string& iWhat)
49
: stdair::
ObjectNotFoundException
(iWhat) {}
50
};
51
52
class
AirlineNotFoundException
:
public
stdair::ObjectNotFoundException {
53
public
:
55
AirlineNotFoundException
(
const
std::string& iWhat)
56
: stdair::
ObjectNotFoundException
(iWhat) {}
57
};
58
59
class
YieldInputFileNotFoundException
:
public
stdair::FileNotFoundException {
60
public
:
62
YieldInputFileNotFoundException
(
const
std::string& iWhat)
63
: stdair::
FileNotFoundException
(iWhat) {}
64
};
65
66
class
YieldFileParsingFailedException
:
public
stdair::ParsingFileFailedException {
67
public
:
69
YieldFileParsingFailedException
(
const
std::string& iWhat)
70
: stdair::
ParsingFileFailedException
(iWhat) {}
71
};
72
73
class
QuotingException
:
public
stdair::RootException {
74
};
75
76
// ///////// Files ///////////
80
class
YieldFilePath
:
public
stdair::InputFilePath {
81
public
:
85
explicit
YieldFilePath
(
const
stdair::Filename_T& iFilename)
86
: stdair::
InputFilePath
(iFilename) {}
87
};
88
89
// //////// Type definitions specific to AirRAC /////////
93
class
AIRRAC_Service
;
94
typedef
boost::shared_ptr<AIRRAC_Service>
AIRRAC_ServicePtr_T
;
95
96
100
typedef
unsigned
int
YieldID_T
;
101
}
102
#endif // __AIRRAC_AIRRAC_TYPES_HPP
103
Generated on Wed Aug 29 2012 11:33:57 for AirRAC by
1.8.1.2