AirInv Logo  1.00.1
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV Namespace Reference

Namespaces

 FFDisutilityParserHelper
 
 FRAT5ParserHelper
 
 InventoryParserHelper
 
 ScheduleParserHelper
 
 DCPParserHelper
 

Classes

class  AIRINV_Master_Service
 Interface for the AIRINV Services. More...
 
class  AIRINV_Service
 Interface for the AIRINV Services. More...
 
class  InventoryFileParsingFailedException
 
class  ScheduleFileParsingFailedException
 
class  MissingPartnerFlightDateWithinScheduleFile
 
class  FRAT5FileParsingFailedException
 
class  FFDisutilityFileParsingFailedException
 
class  SegmentDateNotFoundException
 
class  InventoryInputFileNotFoundException
 
class  ScheduleInputFileNotFoundException
 
class  FRAT5InputFileNotFoundException
 
class  FFDisutilityInputFileNotFoundException
 
class  FlightDateDuplicationException
 
class  BookingException
 
class  InventoryNotFoundException
 
class  FlightDateNotFoundException
 
class  InventoryFilePath
 
struct  DefaultMap
 
struct  FlightTypeCode
 
struct  FlightVisibilityCode
 
class  BomAbstract
 
class  BomRootHelper
 
class  BookingClassHelper
 
struct  BookingClassStruct
 
struct  BucketStruct
 Utility Structure for the parsing of Bucket structures. More...
 
struct  DCPEventStruct
 
struct  FareFamilyStruct
 Utility Structure for the parsing of fare family details. More...
 
struct  FFDisutilityStruct
 
class  FlightDateHelper
 
struct  FlightDateStruct
 
struct  FlightPeriodStruct
 
struct  FRAT5Struct
 
class  InventoryHelper
 
class  LegCabinHelper
 
struct  LegCabinStruct
 
struct  LegStruct
 
class  SegmentCabinHelper
 Class representing the actual business functions for an airline segment-cabin. More...
 
struct  SegmentCabinStruct
 Utility Structure for the parsing of SegmentCabin details. More...
 
class  SegmentDateHelper
 
class  SegmentSnapshotTableHelper
 
struct  SegmentStruct
 
class  FFDisutilityParser
 Class wrapping the parser entry point. More...
 
class  FFDisutilityFileParser
 
class  FRAT5Parser
 Class wrapping the parser entry point. More...
 
class  FRAT5FileParser
 
class  InventoryBuilder
 Class handling the generation / instantiation of the Inventory BOM. More...
 
class  InventoryGenerator
 Class handling the generation / instantiation of the Inventory BOM. More...
 
class  InventoryManager
 
class  InventoryParser
 Class wrapping the parser entry point. More...
 
class  InventoryFileParser
 
class  ScheduleParser
 Class wrapping the parser entry point. More...
 
class  FlightPeriodFileParser
 
class  DCPEventGenerator
 
class  DCPParser
 
class  DCPRuleFileParser
 
class  FacAirinvMasterServiceContext
 Factory for Bucket. More...
 
class  FacAirinvServiceContext
 
class  FacBomAbstract
 
class  FacServiceAbstract
 
class  FacSupervisor
 
struct  FlightRequestStatus
 
class  AirInvServer
 
class  Connection
 
struct  header
 
struct  Reply
 
struct  Request
 
class  RequestHandler
 The common handler for all incoming requests. More...
 
class  RequestParser
 Parser for incoming requests. More...
 
class  AIRINV_Master_ServiceContext
 
class  AIRINV_ServiceContext
 Class holding the context of the AirInv services. More...
 
class  ServiceAbstract
 

Typedefs

typedef boost::shared_ptr
< AIRINV_Service
AIRINV_ServicePtr_T
 
typedef boost::shared_ptr
< AIRINV_Master_Service
AIRINV_Master_ServicePtr_T
 
typedef std::map< const
stdair::AirlineCode_T,
AIRINV_ServicePtr_T
AIRINV_ServicePtr_Map_T
 
typedef std::map< const
stdair::DTD_T, double > 
FRAT5Curve_T
 
typedef char char_t
 
typedef
boost::spirit::classic::file_iterator
< char_t
iterator_t
 
typedef
boost::spirit::classic::scanner
< iterator_t
scanner_t
 
typedef
boost::spirit::classic::rule
< scanner_t
rule_t
 
typedef
boost::spirit::classic::int_parser
< unsigned int, 10, 1, 1 > 
int1_p_t
 
typedef
boost::spirit::classic::uint_parser
< unsigned int, 10, 2, 2 > 
uint2_p_t
 
typedef
boost::spirit::classic::uint_parser
< unsigned int, 10, 1, 2 > 
uint1_2_p_t
 
typedef
boost::spirit::classic::uint_parser
< unsigned int, 10, 1, 3 > 
uint1_3_p_t
 
typedef
boost::spirit::classic::uint_parser
< unsigned int, 10, 4, 4 > 
uint4_p_t
 
typedef
boost::spirit::classic::uint_parser
< unsigned int, 10, 1, 4 > 
uint1_4_p_t
 
typedef
boost::spirit::classic::chset
< char_t
chset_t
 
typedef
boost::spirit::classic::impl::loop_traits
< chset_t, unsigned int,
unsigned int >::type 
repeat_p_t
 
typedef
boost::spirit::classic::bounded
< uint2_p_t, unsigned int > 
bounded2_p_t
 
typedef
boost::spirit::classic::bounded
< uint1_2_p_t, unsigned int > 
bounded1_2_p_t
 
typedef
boost::spirit::classic::bounded
< uint1_3_p_t, unsigned int > 
bounded1_3_p_t
 
typedef
boost::spirit::classic::bounded
< uint4_p_t, unsigned int > 
bounded4_p_t
 
typedef
boost::spirit::classic::bounded
< uint1_4_p_t, unsigned int > 
bounded1_4_p_t
 
typedef std::set
< stdair::AirportCode_T > 
AirportList_T
 
typedef std::vector
< stdair::AirportCode_T > 
AirportOrderedList_T
 
typedef std::vector
< BookingClassStruct
BookingClassStructList_T
 
typedef std::vector< BucketStructBucketStructList_T
 
typedef std::vector
< FareFamilyStruct
FareFamilyStructList_T
 
typedef std::vector
< LegCabinStruct
LegCabinStructList_T
 
typedef std::vector< LegStructLegStructList_T
 
typedef std::vector
< SegmentCabinStruct
SegmentCabinStructList_T
 
typedef std::vector
< SegmentStruct
SegmentStructList_T
 
typedef std::map< const
stdair::Date_T,
stdair::SegmentCabin * > 
DepartureDateSegmentCabinMap_T
 
typedef std::map< const
std::string,
DepartureDateSegmentCabinMap_T
SimilarSegmentCabinSetMap_T
 
typedef boost::shared_ptr
< boost::thread > 
ThreadShrPtr_T
 
typedef std::vector
< ThreadShrPtr_T
ThreadShrPtrList_T
 
typedef boost::shared_ptr
< Connection
ConnectionShrPtr_T
 

Variables

const std::string DEFAULT_AIRLINE_CODE = "BA"
 
const FRAT5Curve_T DEFAULT_PICKUP_FRAT5_CURVE
 

Typedef Documentation

typedef boost::shared_ptr<AIRINV_Service> AIRINV::AIRINV_ServicePtr_T

(Smart) Pointer on the AirInv (slave) service handler.

Definition at line 210 of file AIRINV_Types.hpp.

(Smart) Pointer on the AirInv master service handler.

Definition at line 215 of file AIRINV_Types.hpp.

typedef std::map<const stdair::AirlineCode_T, AIRINV_ServicePtr_T> AIRINV::AIRINV_ServicePtr_Map_T

Type defining a map of airline codes and the corresponding airline inventories.

Definition at line 222 of file AIRINV_Types.hpp.

typedef std::map<const stdair::DTD_T, double> AIRINV::FRAT5Curve_T

Define the FRAT5 curve.

Definition at line 227 of file AIRINV_Types.hpp.

typedef char AIRINV::char_t

Definition at line 31 of file BasParserTypes.hpp.

typedef boost::spirit::classic::file_iterator<char_t> AIRINV::iterator_t

Definition at line 35 of file BasParserTypes.hpp.

typedef boost::spirit::classic::scanner<iterator_t> AIRINV::scanner_t

Definition at line 36 of file BasParserTypes.hpp.

typedef boost::spirit::classic::rule<scanner_t> AIRINV::rule_t

Definition at line 37 of file BasParserTypes.hpp.

typedef boost::spirit::classic::int_parser<unsigned int, 10, 1, 1> AIRINV::int1_p_t

1-digit-integer parser

Definition at line 45 of file BasParserTypes.hpp.

typedef boost::spirit::classic::uint_parser<unsigned int, 10, 2, 2> AIRINV::uint2_p_t

2-digit-integer parser

Definition at line 48 of file BasParserTypes.hpp.

typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 2> AIRINV::uint1_2_p_t

Up-to-2-digit-integer parser

Definition at line 51 of file BasParserTypes.hpp.

typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 3> AIRINV::uint1_3_p_t

Up-to-3-digit-integer parser

Definition at line 54 of file BasParserTypes.hpp.

typedef boost::spirit::classic::uint_parser<unsigned int, 10, 4, 4> AIRINV::uint4_p_t

4-digit-integer parser

Definition at line 57 of file BasParserTypes.hpp.

typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 4> AIRINV::uint1_4_p_t

Up-to-4-digit-integer parser

Definition at line 60 of file BasParserTypes.hpp.

typedef boost::spirit::classic::chset<char_t> AIRINV::chset_t

character set

Definition at line 63 of file BasParserTypes.hpp.

typedef boost::spirit::classic::impl::loop_traits<chset_t, unsigned int, unsigned int>::type AIRINV::repeat_p_t

(Repeating) sequence of a given number of characters: repeat_p(min, max)

Definition at line 69 of file BasParserTypes.hpp.

typedef boost::spirit::classic::bounded<uint2_p_t, unsigned int> AIRINV::bounded2_p_t

Bounded-number-of-integers parser

Definition at line 72 of file BasParserTypes.hpp.

typedef boost::spirit::classic::bounded<uint1_2_p_t, unsigned int> AIRINV::bounded1_2_p_t

Definition at line 73 of file BasParserTypes.hpp.

typedef boost::spirit::classic::bounded<uint1_3_p_t, unsigned int> AIRINV::bounded1_3_p_t

Definition at line 74 of file BasParserTypes.hpp.

typedef boost::spirit::classic::bounded<uint4_p_t, unsigned int> AIRINV::bounded4_p_t

Definition at line 75 of file BasParserTypes.hpp.

typedef boost::spirit::classic::bounded<uint1_4_p_t, unsigned int> AIRINV::bounded1_4_p_t

Definition at line 76 of file BasParserTypes.hpp.

typedef std::set<stdair::AirportCode_T> AIRINV::AirportList_T

Define lists of Airport Codes.

Definition at line 16 of file AirportList.hpp.

typedef std::vector<stdair::AirportCode_T> AIRINV::AirportOrderedList_T

Definition at line 17 of file AirportList.hpp.

List of BookingClass structures.

Definition at line 60 of file BookingClassStruct.hpp.

List of Bucket structures.

Definition at line 44 of file BucketStruct.hpp.

List of FareFamily-Detail structures.

Definition at line 59 of file FareFamilyStruct.hpp.

List of LegCabin-Detail strucutres.

Definition at line 52 of file LegCabinStruct.hpp.

typedef std::vector<LegStruct> AIRINV::LegStructList_T

List of Leg structures.

Definition at line 57 of file LegStruct.hpp.

List of SegmentCabin-Detail strucutres.

Definition at line 48 of file SegmentCabinStruct.hpp.

List of Segment strucutres.

Definition at line 43 of file SegmentStruct.hpp.

typedef std::map<const stdair::Date_T, stdair::SegmentCabin*> AIRINV::DepartureDateSegmentCabinMap_T

Definition at line 31 of file InventoryManager.hpp.

Definition at line 33 of file InventoryManager.hpp.

typedef boost::shared_ptr<boost::thread> AIRINV::ThreadShrPtr_T

Definition at line 15 of file AirInvServer_ASIO.cpp.

Definition at line 16 of file AirInvServer_ASIO.cpp.

typedef boost::shared_ptr<Connection> AIRINV::ConnectionShrPtr_T

Shared pointer on a Connection object.

Definition at line 71 of file Connection.hpp.

Variable Documentation

const std::string AIRINV::DEFAULT_AIRLINE_CODE = "BA"

Default airline name for the AIRINV_Service.

Definition at line 11 of file BasConst.cpp.

const FRAT5Curve_T AIRINV::DEFAULT_PICKUP_FRAT5_CURVE
Initial value:
=
DefaultMap::createPickupFRAT5Curve()

Default pick-up FRAT5 curve for Q-equivalent booking conversion.

Definition at line 14 of file BasConst.cpp.