1.00.13
C++ Simulated Fare Quote System Library
Toggle main menu visibility
Loading...
Searching...
No Matches
SIMFQT_Types.hpp
Go to the documentation of this file.
1
#ifndef __SIMFQT_SIMFQT_TYPES_HPP
2
#define __SIMFQT_SIMFQT_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
SIMFQT
{
17
18
// Forward declarations
19
class
SIMFQT_Service
;
20
21
22
// ///////// Exceptions ///////////
26
class
FareFileParsingFailedException
27
:
public
stdair::ParsingFileFailedException {
28
public
:
32
FareFileParsingFailedException
(
const
std::string& iWhat)
33
:
stdair
::ParsingFileFailedException (iWhat) {}
34
};
35
39
class
AirportPairNotFoundException
:
public
stdair::ObjectNotFoundException {
40
public
:
44
AirportPairNotFoundException
(
const
std::string& iWhat)
45
:
stdair
::ObjectNotFoundException (iWhat) {}
46
};
47
51
class
PosOrChannelNotFoundException
:
public
stdair::ObjectNotFoundException {
52
public
:
56
PosOrChannelNotFoundException
(
const
std::string& iWhat)
57
:
stdair
::ObjectNotFoundException (iWhat) {}
58
};
59
63
class
FlightDateNotFoundException
:
public
stdair::ObjectNotFoundException {
64
public
:
68
FlightDateNotFoundException
(
const
std::string& iWhat)
69
:
stdair
::ObjectNotFoundException (iWhat) {}
70
};
71
75
class
FlightTimeNotFoundException
:
public
stdair::ObjectNotFoundException {
76
public
:
80
FlightTimeNotFoundException
(
const
std::string& iWhat)
81
:
stdair
::ObjectNotFoundException (iWhat) {}
82
};
83
87
class
FeaturesNotFoundException
:
public
stdair::ObjectNotFoundException {
88
public
:
92
FeaturesNotFoundException
(
const
std::string& iWhat)
93
:
stdair
::ObjectNotFoundException (iWhat) {}
94
};
95
99
class
AirlineNotFoundException
:
public
stdair::ObjectNotFoundException {
100
public
:
104
AirlineNotFoundException
(
const
std::string& iWhat)
105
:
stdair
::ObjectNotFoundException (iWhat) {}
106
};
107
111
class
FareInputFileNotFoundException
:
public
stdair::FileNotFoundException {
112
public
:
116
FareInputFileNotFoundException
(
const
std::string& iWhat)
117
:
stdair
::FileNotFoundException (iWhat) {}
118
};
119
123
class
QuotingException
:
public
stdair::RootException {
124
};
125
126
// ///////// Files ///////////
130
class
FareFilePath
:
public
stdair::InputFilePath {
131
public
:
135
explicit
FareFilePath
(
const
stdair::Filename_T& iFilename)
136
:
stdair
::InputFilePath (iFilename) {}
137
};
138
139
// //////// Type definitions specific to SimFQT /////////
143
typedef
unsigned
int
FareQuoteID_T
;
144
148
typedef
boost::shared_ptr<SIMFQT_Service>
SIMFQT_ServicePtr_T
;
149
}
150
#endif
// __SIMFQT_SIMFQT_TYPES_HPP
SIMFQT::AirlineNotFoundException::AirlineNotFoundException
AirlineNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:104
SIMFQT::AirportPairNotFoundException::AirportPairNotFoundException
AirportPairNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:44
SIMFQT::FareFileParsingFailedException::FareFileParsingFailedException
FareFileParsingFailedException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:32
SIMFQT::FareFilePath::FareFilePath
FareFilePath(const stdair::Filename_T &iFilename)
Definition
SIMFQT_Types.hpp:135
SIMFQT::FareInputFileNotFoundException::FareInputFileNotFoundException
FareInputFileNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:116
SIMFQT::FeaturesNotFoundException::FeaturesNotFoundException
FeaturesNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:92
SIMFQT::FlightDateNotFoundException::FlightDateNotFoundException
FlightDateNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:68
SIMFQT::FlightTimeNotFoundException::FlightTimeNotFoundException
FlightTimeNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:80
SIMFQT::PosOrChannelNotFoundException::PosOrChannelNotFoundException
PosOrChannelNotFoundException(const std::string &iWhat)
Definition
SIMFQT_Types.hpp:56
SIMFQT::QuotingException
Definition
SIMFQT_Types.hpp:123
SIMFQT::SIMFQT_Service
Interface for the SIMFQT Services.
Definition
SIMFQT_Service.hpp:32
SIMFQT
Definition
BasConst.cpp:7
SIMFQT::FareQuoteID_T
unsigned int FareQuoteID_T
Definition
SIMFQT_Types.hpp:143
SIMFQT::SIMFQT_ServicePtr_T
boost::shared_ptr< SIMFQT_Service > SIMFQT_ServicePtr_T
Definition
SIMFQT_Types.hpp:148
stdair
Forward declarations.
Definition
FareParser.hpp:16
Generated on
for SimFQT by
1.17.0