AirTSP Logo  1.01.7
C++ Simulated Airline Travel Solution Provider (TSP) Library
AIRTSP Namespace Reference

Namespaces

 OnDParserHelper
 
 ScheduleParserHelper
 

Classes

class  AIRTSP_Service
 Interface for the Airtsp Services. More...
 
class  SegmentDateNotFoundException
 
class  OnDInputFileNotFoundException
 
class  ScheduleInputFileNotFoundException
 
struct  FlagSaver
 
class  BomDisplay
 Utility class to display AirTSP objects with a pretty format. More...
 
struct  FareFamilyStruct
 
struct  FlightPeriodStruct
 
struct  LegCabinStruct
 
struct  LegStruct
 
struct  OnDPeriodStruct
 
class  OriginDestinationSet
 Class representing a simple sub-network. More...
 
struct  OriginDestinationSetKey
 Structure representing the key of a sub-network. More...
 
class  ReachableUniverse
 Class representing the root of the schedule-related BOM tree. More...
 
struct  ReachableUniverseKey
 Structure representing the key of the schedule-related BOM tree root. More...
 
struct  SegmentCabinStruct
 
class  SegmentPathPeriod
 Class representing a segment/path. More...
 
struct  SegmentPathPeriodKey
 Structure representing the key of a segment/path. More...
 
class  SegmentPeriodHelper
 Class representing the actual business functions for an airline segment-period. More...
 
struct  SegmentStruct
 
class  InventoryGenerator
 
class  OnDParser
 Class wrapping the parser entry point. More...
 
class  OnDPeriodFileParser
 
class  OnDPeriodGenerator
 Class handling the generation / instantiation of the O&D-Period BOM. More...
 
class  ScheduleParser
 
class  FlightPeriodFileParser
 
class  SegmentPathGenerator
 Class handling the generation / instantiation of the network BOM. More...
 
class  SegmentPathProvider
 Class building the travel solutions from airline schedules. More...
 
class  Simulator
 
class  TravelSolutionParser
 Class filling the TravelSolutionHolder structure (representing a list of classes/travelSolutions) from a given input file. More...
 
class  FacAIRTSPServiceContext
 Factory for the service context. More...
 
class  FacServiceAbstract
 
class  AIRTSP_ServiceContext
 Class holding the context of the Airtsp services. More...
 
class  ServiceAbstract
 

Typedefs

typedef boost::shared_ptr< AIRTSP_ServiceAIRTSP_ServicePtr_T
 
typedef char char_t
 
typedef boost::spirit::classic::file_iterator< char_titerator_t
 
typedef boost::spirit::classic::scanner< iterator_tscanner_t
 
typedef boost::spirit::classic::rule< scanner_trule_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, 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_tchset_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< 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< FareFamilyStructFareFamilyStructList_T
 
typedef std::vector< LegCabinStructLegCabinStructList_T
 
typedef std::vector< LegStructLegStructList_T
 
typedef std::list< OriginDestinationSet * > OriginDestinationSetList_T
 
typedef std::map< const stdair::MapKey_T, OriginDestinationSet * > OriginDestinationSetMap_T
 
typedef std::list< ReachableUniverse * > ReachableUniverseList_T
 
typedef std::map< const stdair::MapKey_T, ReachableUniverse * > ReachableUniverseMap_T
 
typedef std::vector< SegmentCabinStructSegmentCabinStructList_T
 
typedef std::list< SegmentPathPeriod * > SegmentPathPeriodList_T
 
typedef std::multimap< const stdair::MapKey_T, SegmentPathPeriod * > SegmentPathPeriodMultimap_T
 
typedef std::vector< const SegmentPathPeriod * > SegmentPathPeriodLightList_T
 
typedef std::vector< SegmentPathPeriodLightList_TSegmentPathPeriodListList_T
 
typedef std::vector< stdair::DateOffset_T > DateOffsetList_T
 
typedef std::vector< SegmentStructSegmentStructList_T
 

Functions

const stdair::Duration_T MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE (4, 0, 0)
 
template void OriginDestinationSet::serialize< ba::text_oarchive > (ba::text_oarchive &, unsigned int)
 
template void OriginDestinationSet::serialize< ba::text_iarchive > (ba::text_iarchive &, unsigned int)
 
template void OriginDestinationSetKey::serialize< ba::text_oarchive > (ba::text_oarchive &, unsigned int)
 
template void OriginDestinationSetKey::serialize< ba::text_iarchive > (ba::text_iarchive &, unsigned int)
 
template void ReachableUniverse::serialize< ba::text_oarchive > (ba::text_oarchive &, unsigned int)
 
template void ReachableUniverse::serialize< ba::text_iarchive > (ba::text_iarchive &, unsigned int)
 
template void ReachableUniverseKey::serialize< ba::text_oarchive > (ba::text_oarchive &, unsigned int)
 
template void ReachableUniverseKey::serialize< ba::text_iarchive > (ba::text_iarchive &, unsigned int)
 
template void SegmentPathPeriod::serialize< ba::text_oarchive > (ba::text_oarchive &, unsigned int)
 
template void SegmentPathPeriod::serialize< ba::text_iarchive > (ba::text_iarchive &, unsigned int)
 
template void SegmentPathPeriodKey::serialize< ba::text_oarchive > (ba::text_oarchive &, unsigned int)
 
template void SegmentPathPeriodKey::serialize< ba::text_iarchive > (ba::text_iarchive &, unsigned int)
 

Variables

const int DEFAULT_NUMBER_OF_DRAWS_FOR_MC_SIMULATION = 100000
 
const stdair::Duration_T MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE
 

Typedef Documentation

◆ AIRTSP_ServicePtr_T

typedef boost::shared_ptr<AIRTSP_Service> AIRTSP::AIRTSP_ServicePtr_T

(Smart) Pointer on the Airtsp service handler.

Definition at line 62 of file AIRTSP_Types.hpp.

◆ char_t

typedef char AIRTSP::char_t

Definition at line 31 of file BasParserTypes.hpp.

◆ iterator_t

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

Definition at line 35 of file BasParserTypes.hpp.

◆ scanner_t

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

Definition at line 36 of file BasParserTypes.hpp.

◆ rule_t

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

Definition at line 37 of file BasParserTypes.hpp.

◆ int1_p_t

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

1-digit-integer parser

Definition at line 45 of file BasParserTypes.hpp.

◆ uint2_p_t

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

2-digit-integer parser

Definition at line 48 of file BasParserTypes.hpp.

◆ uint4_p_t

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

4-digit-integer parser

Definition at line 51 of file BasParserTypes.hpp.

◆ uint1_4_p_t

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

Up-to-4-digit-integer parser

Definition at line 54 of file BasParserTypes.hpp.

◆ chset_t

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

character set

Definition at line 57 of file BasParserTypes.hpp.

◆ repeat_p_t

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

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

Definition at line 63 of file BasParserTypes.hpp.

◆ bounded2_p_t

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

Bounded-number-of-integers parser

Definition at line 66 of file BasParserTypes.hpp.

◆ bounded4_p_t

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

Definition at line 67 of file BasParserTypes.hpp.

◆ bounded1_4_p_t

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

Definition at line 68 of file BasParserTypes.hpp.

◆ AirportList_T

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

Define lists of Airport Codes.

Definition at line 16 of file AirportList.hpp.

◆ AirportOrderedList_T

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

Definition at line 17 of file AirportList.hpp.

◆ FareFamilyStructList_T

List of FareFamily-Detail structures.

Definition at line 34 of file FareFamilyStruct.hpp.

◆ LegCabinStructList_T

List of LegCabin-Detail strucutres.

Definition at line 36 of file LegCabinStruct.hpp.

◆ LegStructList_T

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

List of Leg strucutres.

Definition at line 52 of file LegStruct.hpp.

◆ OriginDestinationSetList_T

Define the OriginDestinationSet list.

Definition at line 21 of file OriginDestinationSetTypes.hpp.

◆ OriginDestinationSetMap_T

typedef std::map<const stdair::MapKey_T, OriginDestinationSet*> AIRTSP::OriginDestinationSetMap_T

Define the OriginDestinationSet map.

Definition at line 25 of file OriginDestinationSetTypes.hpp.

◆ ReachableUniverseList_T

Define the reachable-universe list.

Definition at line 21 of file ReachableUniverseTypes.hpp.

◆ ReachableUniverseMap_T

typedef std::map<const stdair::MapKey_T, ReachableUniverse*> AIRTSP::ReachableUniverseMap_T

Define the reachable-universe map.

Definition at line 25 of file ReachableUniverseTypes.hpp.

◆ SegmentCabinStructList_T

List of SegmentCabin-Detail strucutres.

Definition at line 43 of file SegmentCabinStruct.hpp.

◆ SegmentPathPeriodList_T

Define the segment path list.

Definition at line 23 of file SegmentPathPeriodTypes.hpp.

◆ SegmentPathPeriodMultimap_T

typedef std::multimap<const stdair::MapKey_T, SegmentPathPeriod*> AIRTSP::SegmentPathPeriodMultimap_T

Define the segment path map.

Definition at line 27 of file SegmentPathPeriodTypes.hpp.

◆ SegmentPathPeriodLightList_T

Define the (temporary) containers of segment path period.

Definition at line 30 of file SegmentPathPeriodTypes.hpp.

◆ SegmentPathPeriodListList_T

◆ DateOffsetList_T

typedef std::vector<stdair::DateOffset_T> AIRTSP::DateOffsetList_T

Define the vector of boarding date offsets of the member segments of a segment path compare to the boarding date of the first segment.

Definition at line 35 of file SegmentPathPeriodTypes.hpp.

◆ SegmentStructList_T

List of Segment strucutres.

Definition at line 44 of file SegmentStruct.hpp.

Function Documentation

◆ MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE()

const stdair::Duration_T AIRTSP::MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE ( ,
,
 
)

Default value for the minimum time between the request and the departure time.

◆ OriginDestinationSet::serialize< ba::text_oarchive >()

template void AIRTSP::OriginDestinationSet::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned int   
)

◆ OriginDestinationSet::serialize< ba::text_iarchive >()

template void AIRTSP::OriginDestinationSet::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned int   
)

◆ OriginDestinationSetKey::serialize< ba::text_oarchive >()

template void AIRTSP::OriginDestinationSetKey::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned int   
)

◆ OriginDestinationSetKey::serialize< ba::text_iarchive >()

template void AIRTSP::OriginDestinationSetKey::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned int   
)

◆ ReachableUniverse::serialize< ba::text_oarchive >()

template void AIRTSP::ReachableUniverse::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned int   
)

◆ ReachableUniverse::serialize< ba::text_iarchive >()

template void AIRTSP::ReachableUniverse::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned int   
)

◆ ReachableUniverseKey::serialize< ba::text_oarchive >()

template void AIRTSP::ReachableUniverseKey::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned int   
)

◆ ReachableUniverseKey::serialize< ba::text_iarchive >()

template void AIRTSP::ReachableUniverseKey::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned int   
)

◆ SegmentPathPeriod::serialize< ba::text_oarchive >()

template void AIRTSP::SegmentPathPeriod::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned int   
)

◆ SegmentPathPeriod::serialize< ba::text_iarchive >()

template void AIRTSP::SegmentPathPeriod::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned int   
)

◆ SegmentPathPeriodKey::serialize< ba::text_oarchive >()

template void AIRTSP::SegmentPathPeriodKey::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned int   
)

◆ SegmentPathPeriodKey::serialize< ba::text_iarchive >()

template void AIRTSP::SegmentPathPeriodKey::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned int   
)

Variable Documentation

◆ DEFAULT_NUMBER_OF_DRAWS_FOR_MC_SIMULATION

const int AIRTSP::DEFAULT_NUMBER_OF_DRAWS_FOR_MC_SIMULATION = 100000

Default value for the number of draws within the Monte-Carlo Integration algorithm.

Definition at line 8 of file BasConst.cpp.

◆ MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE

const stdair::Duration_T AIRTSP::MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE
extern

Default value for the minimum time between the request and the departure time.