AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRTSP Namespace Reference

Namespaces

namespace  ScheduleParserHelper
 
namespace  OnDParserHelper
 

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_Service
AIRTSP_ServicePtr_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, 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
< 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
< FareFamilyStruct
FareFamilyStructList_T
 
typedef std::vector
< LegCabinStruct
LegCabinStructList_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
< SegmentCabinStruct
SegmentCabinStructList_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_T
SegmentPathPeriodListList_T
 
typedef std::vector
< stdair::DateOffset_T > 
DateOffsetList_T
 
typedef std::vector
< SegmentStruct
SegmentStructList_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

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.

typedef char AIRTSP::char_t

Definition at line 31 of file BasParserTypes.hpp.

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

Definition at line 35 of file BasParserTypes.hpp.

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

Definition at line 36 of file BasParserTypes.hpp.

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

Definition at line 37 of file BasParserTypes.hpp.

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.

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.

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.

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.

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

character set

Definition at line 57 of file BasParserTypes.hpp.

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.

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.

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

Definition at line 67 of file BasParserTypes.hpp.

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

Definition at line 68 of file BasParserTypes.hpp.

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

Define lists of Airport Codes.

Definition at line 16 of file AirportList.hpp.

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

Definition at line 17 of file AirportList.hpp.

List of FareFamily-Detail structures.

Definition at line 34 of file FareFamilyStruct.hpp.

List of LegCabin-Detail strucutres.

Definition at line 36 of file LegCabinStruct.hpp.

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

List of Leg strucutres.

Definition at line 52 of file LegStruct.hpp.

Define the OriginDestinationSet list.

Definition at line 18 of file OriginDestinationSetTypes.hpp.

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

Define the OriginDestinationSet map.

Definition at line 25 of file OriginDestinationSetTypes.hpp.

Define the reachable-universe list.

Definition at line 18 of file ReachableUniverseTypes.hpp.

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

Define the reachable-universe map.

Definition at line 25 of file ReachableUniverseTypes.hpp.

List of SegmentCabin-Detail strucutres.

Definition at line 43 of file SegmentCabinStruct.hpp.

Define the segment path list.

Definition at line 20 of file SegmentPathPeriodTypes.hpp.

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

Define the segment path map.

Definition at line 27 of file SegmentPathPeriodTypes.hpp.

Define the (temporary) containers of segment path period.

Definition at line 30 of file SegmentPathPeriodTypes.hpp.

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.

List of Segment strucutres.

Definition at line 44 of file SegmentStruct.hpp.

Function Documentation

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

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

template void AIRTSP::OriginDestinationSet::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned  int 
)
template void AIRTSP::OriginDestinationSet::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned  int 
)
template void AIRTSP::OriginDestinationSetKey::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned  int 
)
template void AIRTSP::OriginDestinationSetKey::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned  int 
)
template void AIRTSP::ReachableUniverse::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned  int 
)
template void AIRTSP::ReachableUniverse::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned  int 
)
template void AIRTSP::ReachableUniverseKey::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned  int 
)
template void AIRTSP::ReachableUniverseKey::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned  int 
)
template void AIRTSP::SegmentPathPeriod::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned  int 
)
template void AIRTSP::SegmentPathPeriod::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned  int 
)
template void AIRTSP::SegmentPathPeriodKey::serialize< ba::text_oarchive > ( ba::text_oarchive &  ,
unsigned  int 
)
template void AIRTSP::SegmentPathPeriodKey::serialize< ba::text_iarchive > ( ba::text_iarchive &  ,
unsigned  int 
)

Variable Documentation

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.

const stdair::Duration_T AIRTSP::MINIMUM_TIME_BETWEEN_REQUEST_AND_DEPARTURE

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