1.00.15
C++ Simulated Revenue Accounting (RAC) System Library
Toggle main menu visibility
Loading...
Searching...
No Matches
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
// Boost
11
#include <boost/shared_ptr.hpp>
12
// StdAir
13
#include <stdair/stdair_exceptions.hpp>
14
#include <stdair/stdair_file.hpp>
15
16
namespace
AIRRAC
{
17
18
// ///////// Exceptions ///////////
19
class
AirportPairNotFoundException
:
public
stdair::ObjectNotFoundException {
20
public
:
22
AirportPairNotFoundException
(
const
std::string& iWhat)
23
:
stdair
::ObjectNotFoundException (iWhat) {}
24
};
25
26
class
PosOrChannelNotFoundException
:
public
stdair::ObjectNotFoundException {
27
public
:
29
PosOrChannelNotFoundException
(
const
std::string& iWhat)
30
:
stdair
::ObjectNotFoundException (iWhat) {}
31
};
32
33
class
FlightDateNotFoundException
:
public
stdair::ObjectNotFoundException {
34
public
:
36
FlightDateNotFoundException
(
const
std::string& iWhat)
37
:
stdair
::ObjectNotFoundException (iWhat) {}
38
};
39
40
class
FlightTimeNotFoundException
:
public
stdair::ObjectNotFoundException {
41
public
:
43
FlightTimeNotFoundException
(
const
std::string& iWhat)
44
:
stdair
::ObjectNotFoundException (iWhat) {}
45
};
46
47
class
FeaturesNotFoundException
:
public
stdair::ObjectNotFoundException {
48
public
:
50
FeaturesNotFoundException
(
const
std::string& iWhat)
51
:
stdair
::ObjectNotFoundException (iWhat) {}
52
};
53
54
class
AirlineNotFoundException
:
public
stdair::ObjectNotFoundException {
55
public
:
57
AirlineNotFoundException
(
const
std::string& iWhat)
58
:
stdair
::ObjectNotFoundException (iWhat) {}
59
};
60
61
class
YieldInputFileNotFoundException
:
public
stdair::FileNotFoundException {
62
public
:
64
YieldInputFileNotFoundException
(
const
std::string& iWhat)
65
:
stdair
::FileNotFoundException (iWhat) {}
66
};
67
68
class
YieldFileParsingFailedException
:
public
stdair::ParsingFileFailedException {
69
public
:
71
YieldFileParsingFailedException
(
const
std::string& iWhat)
72
:
stdair
::ParsingFileFailedException (iWhat) {}
73
};
74
75
class
QuotingException
:
public
stdair::RootException {
76
};
77
78
// ///////// Files ///////////
82
class
YieldFilePath
:
public
stdair::InputFilePath {
83
public
:
87
explicit
YieldFilePath
(
const
stdair::Filename_T& iFilename)
88
:
stdair
::InputFilePath (iFilename) {}
89
};
90
91
// //////// Type definitions specific to AirRAC /////////
95
class
AIRRAC_Service;
96
typedef
boost::shared_ptr<AIRRAC_Service>
AIRRAC_ServicePtr_T
;
97
98
102
typedef
unsigned
int
YieldID_T
;
103
}
104
#endif
// __AIRRAC_AIRRAC_TYPES_HPP
105
AIRRAC::AirlineNotFoundException::AirlineNotFoundException
AirlineNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:57
AIRRAC::AirportPairNotFoundException::AirportPairNotFoundException
AirportPairNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:22
AIRRAC::FeaturesNotFoundException::FeaturesNotFoundException
FeaturesNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:50
AIRRAC::FlightDateNotFoundException::FlightDateNotFoundException
FlightDateNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:36
AIRRAC::FlightTimeNotFoundException::FlightTimeNotFoundException
FlightTimeNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:43
AIRRAC::PosOrChannelNotFoundException::PosOrChannelNotFoundException
PosOrChannelNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:29
AIRRAC::QuotingException
Definition
AIRRAC_Types.hpp:75
AIRRAC::YieldFileParsingFailedException::YieldFileParsingFailedException
YieldFileParsingFailedException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:71
AIRRAC::YieldFilePath::YieldFilePath
YieldFilePath(const stdair::Filename_T &iFilename)
Definition
AIRRAC_Types.hpp:87
AIRRAC::YieldInputFileNotFoundException::YieldInputFileNotFoundException
YieldInputFileNotFoundException(const std::string &iWhat)
Definition
AIRRAC_Types.hpp:64
AIRRAC
Definition
AIRRAC_Service.hpp:22
AIRRAC::AIRRAC_ServicePtr_T
boost::shared_ptr< AIRRAC_Service > AIRRAC_ServicePtr_T
Definition
AIRRAC_Types.hpp:96
AIRRAC::YieldID_T
unsigned int YieldID_T
Definition
AIRRAC_Types.hpp:102
stdair
Forward declarations.
Definition
AIRRAC_Service.hpp:15
Generated on
for AirRAC by
1.17.0