StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
BasConst.cpp File Reference

Go to the source code of this file.

Namespaces

 stdair
 Handle on the StdAir library context.
 

Functions

const std::string stdair::DEFAULT_BOM_ROOT_KEY (" -- ROOT -- ")
 
const double stdair::DEFAULT_EPSILON_VALUE (0.0001)
 
const unsigned int stdair::DEFAULT_FLIGHT_SPEED (900)
 
const NbOfFlightDates_T stdair::DEFAULT_NB_OF_FLIGHTDATES (0.0)
 
const Duration_T stdair::NULL_BOOST_TIME_DURATION (-1,-1,-1)
 
const Duration_T stdair::DEFAULT_NULL_DURATION (0, 0, 0)
 
const unsigned int stdair::DEFAULT_NB_OF_DAYS_IN_A_YEAR (365)
 
const unsigned int stdair::DEFAULT_NUMBER_OF_SUBDIVISIONS (1000)
 
const DayDuration_T stdair::DEFAULT_DAY_DURATION (0)
 
const DatePeriod_T stdair::BOOST_DEFAULT_DATE_PERIOD (Date_T(2007, 1, 1), Date_T(2007, 1, 1))
 
const DOW_String_T stdair::DEFAULT_DOW_STRING ("0000000")
 
const DateOffset_T stdair::DEFAULT_DATE_OFFSET (0)
 
const Date_T stdair::DEFAULT_DATE (2010, boost::gregorian::Jan, 1)
 
const DateTime_T stdair::DEFAULT_DATETIME (DEFAULT_DATE, NULL_BOOST_TIME_DURATION)
 
const Duration_T stdair::DEFAULT_EPSILON_DURATION (0, 0, 0, 1)
 
const Count_T stdair::SECONDS_IN_ONE_DAY (86400)
 
const Count_T stdair::MILLISECONDS_IN_ONE_SECOND (1000)
 
const RandomSeed_T stdair::DEFAULT_RANDOM_SEED (120765987)
 
const AirportCode_T stdair::AIRPORT_LHR ("LHR")
 
const AirportCode_T stdair::AIRPORT_SYD ("SYD")
 
const CityCode_T stdair::POS_LHR ("LHR")
 
const Date_T stdair::DATE_20110115 (2011, boost::gregorian::Jan, 15)
 
const Date_T stdair::DATE_20111231 (2011, boost::gregorian::Dec, 31)
 
const DayDuration_T stdair::NO_ADVANCE_PURCHASE (0)
 
const SaturdayStay_T stdair::SATURDAY_STAY (true)
 
const SaturdayStay_T stdair::NO_SATURDAY_STAY (false)
 
const ChangeFees_T stdair::CHANGE_FEES (true)
 
const ChangeFees_T stdair::NO_CHANGE_FEES (false)
 
const NonRefundable_T stdair::NON_REFUNDABLE (true)
 
const NonRefundable_T stdair::NO_NON_REFUNDABLE (false)
 
const SaturdayStay_T stdair::DEFAULT_BOM_TREE_SATURDAY_STAY (true)
 
const ChangeFees_T stdair::DEFAULT_BOM_TREE_CHANGE_FEES (true)
 
const NonRefundable_T stdair::DEFAULT_BOM_TREE_NON_REFUNDABLE (true)
 
const DayDuration_T stdair::NO_STAY_DURATION (0)
 
const AirlineCode_T stdair::AIRLINE_CODE_BA ("BA")
 
const CabinCode_T stdair::CABIN_Y ("Y")
 
const ClassCode_T stdair::CLASS_CODE_Y ("Y")
 
const ClassCode_T stdair::CLASS_CODE_Q ("Q")
 
const AirportCode_T stdair::AIRPORT_SIN ("SIN")
 
const AirportCode_T stdair::AIRPORT_BKK ("BKK")
 
const CityCode_T stdair::POS_SIN ("SIN")
 
const CabinCode_T stdair::CABIN_ECO ("Eco")
 
const FrequentFlyer_T stdair::FREQUENT_FLYER_MEMBER ("M")
 
const FamilyCode_T stdair::DEFAULT_FAMILY_CODE ("0")
 
const PolicyCode_T stdair::DEFAULT_POLICY_CODE ("0")
 
const NestingStructureCode_T stdair::DEFAULT_NESTING_STRUCTURE_CODE ("DEFAULT")
 
const NestingStructureCode_T stdair::DISPLAY_NESTING_STRUCTURE_CODE ("Display Nesting")
 
const NestingStructureCode_T stdair::YIELD_BASED_NESTING_STRUCTURE_CODE ("Yield-Based Nesting")
 
const NestingNodeCode_T stdair::DEFAULT_NESTING_NODE_CODE ("0")
 
const NbOfAirlines_T stdair::DEFAULT_NBOFAIRLINES (0)
 
const FlightPathCode_T stdair::DEFAULT_FLIGHTPATH_CODE ("")
 
const Distance_T stdair::DEFAULT_DISTANCE_VALUE (0)
 
const ClassCode_T stdair::DEFAULT_CLOSED_CLASS_CODE ("CC")
 
const NbOfBookings_T stdair::DEFAULT_CLASS_NB_OF_BOOKINGS (0)
 
const NbOfBookings_T stdair::DEFAULT_CLASS_TOTAL_NB_OF_BOOKINGS (0)
 
const NbOfBookings_T stdair::DEFAULT_CLASS_UNCONSTRAINED_DEMAND (0)
 
const NbOfBookings_T stdair::DEFAULT_CLASS_REMAINING_DEMAND_MEAN (0)
 
const NbOfBookings_T stdair::DEFAULT_CLASS_REMAINING_DEMAND_STANDARD_DEVIATION (0)
 
const NbOfCancellations_T stdair::DEFAULT_CLASS_NB_OF_CANCELLATIONS (0)
 
const NbOfNoShows_T stdair::DEFAULT_CLASS_NB_OF_NOSHOWS (0)
 
const CabinCapacity_T stdair::DEFAULT_CABIN_CAPACITY (100.0)
 
const CommittedSpace_T stdair::DEFAULT_COMMITTED_SPACE (0.0)
 
const BlockSpace_T stdair::DEFAULT_BLOCK_SPACE (0.0)
 
const Availability_T stdair::DEFAULT_NULL_AVAILABILITY (0.0)
 
const Availability_T stdair::DEFAULT_AVAILABILITY (9.0)
 
const Availability_T stdair::MAXIMAL_AVAILABILITY (9999.0)
 
const CensorshipFlag_T stdair::DEFAULT_CLASS_CENSORSHIPFLAG (false)
 
const BookingLimit_T stdair::DEFAULT_CLASS_BOOKING_LIMIT (9999.0)
 
const AuthorizationLevel_T stdair::DEFAULT_CLASS_AUTHORIZATION_LEVEL (9999.0)
 
const AuthorizationLevel_T stdair::DEFAULT_CLASS_MAX_AUTHORIZATION_LEVEL (9999.0)
 
const AuthorizationLevel_T stdair::DEFAULT_CLASS_MIN_AUTHORIZATION_LEVEL (0.0)
 
const OverbookingRate_T stdair::DEFAULT_CLASS_OVERBOOKING_RATE (0.0)
 
const BookingRatio_T stdair::DEFAULT_OND_BOOKING_RATE (0.0)
 
const Fare_T stdair::DEFAULT_FARE_VALUE (0.0)
 
const Yield_T stdair::DEFAULT_CLASS_YIELD_VALUE (0.0)
 
const Revenue_T stdair::DEFAULT_REVENUE_VALUE (0.0)
 
const Percentage_T stdair::DEFAULT_LOAD_FACTOR_VALUE (100.0)
 
const Yield_T stdair::DEFAULT_YIELD_VALUE (0.0)
 
const Yield_T stdair::DEFAULT_YIELD_MAX_VALUE (std::numeric_limits< double >::max())
 
const NbOfBookings_T stdair::DEFAULT_YIELD_NB_OF_BOOKINGS (0.0)
 
const Identity_T stdair::DEFAULT_BOOKING_NUMBER (0)
 
const NbOfCancellations_T stdair::DEFAULT_YIELD_NB_OF_CANCELLATIONS (0.0)
 
const NbOfNoShows_T stdair::DEFAULT_YIELD_NB_OF_NOSHOWS (0.0)
 
const Availability_T stdair::DEFAULT_YIELD_AVAILABILITY (0.0)
 
const CensorshipFlag_T stdair::DEFAULT_YIELD_CENSORSHIPFLAG (false)
 
const BookingLimit_T stdair::DEFAULT_YIELD_BOOKING_LIMIT (0.0)
 
const OverbookingRate_T stdair::DEFAULT_YIELD_OVERBOOKING_RATE (0.0)
 
const Fare_T stdair::DEFAULT_OND_FARE_VALUE (0.0)
 
const Count_T stdair::DEFAULT_PROGRESS_STATUS (0)
 
const Percentage_T stdair::MAXIMUM_PROGRESS_STATUS (100)
 
const Date_T stdair::DEFAULT_EVENT_OLDEST_DATE (2008, boost::gregorian::Jan, 1)
 
const DateTime_T stdair::DEFAULT_EVENT_OLDEST_DATETIME (DEFAULT_EVENT_OLDEST_DATE, NULL_BOOST_TIME_DURATION)
 
const PartySize_T stdair::DEFAULT_PARTY_SIZE (1)
 
const DayDuration_T stdair::DEFAULT_STAY_DURATION (7)
 
const WTP_T stdair::DEFAULT_WTP (1000.0)
 
const Date_T stdair::DEFAULT_PREFERRED_DEPARTURE_DATE (DEFAULT_DEPARTURE_DATE)
 
const Duration_T stdair::DEFAULT_PREFERRED_DEPARTURE_TIME (8, 0, 0)
 
const DateOffset_T stdair::DEFAULT_ADVANCE_PURCHASE (22)
 
const Date_T stdair::DEFAULT_REQUEST_DATE (DEFAULT_PREFERRED_DEPARTURE_DATE-DEFAULT_ADVANCE_PURCHASE)
 
const Duration_T stdair::DEFAULT_REQUEST_TIME (8, 0, 0)
 
const DateTime_T stdair::DEFAULT_REQUEST_DATE_TIME (DEFAULT_REQUEST_DATE, DEFAULT_REQUEST_TIME)
 
const CabinCode_T stdair::DEFAULT_PREFERRED_CABIN ("M")
 
const CityCode_T stdair::DEFAULT_POS ("ALL")
 
const ChannelLabel_T stdair::DEFAULT_CHANNEL ("DC")
 
const ChannelLabel_T stdair::CHANNEL_DN ("DN")
 
const ChannelLabel_T stdair::CHANNEL_IN ("IN")
 
const TripType_T stdair::TRIP_TYPE_ONE_WAY ("OW")
 
const TripType_T stdair::TRIP_TYPE_ROUND_TRIP ("RT")
 
const TripType_T stdair::TRIP_TYPE_INBOUND ("RI")
 
const TripType_T stdair::TRIP_TYPE_OUTBOUND ("RO")
 
const FrequentFlyer_T stdair::DEFAULT_FF_TIER ("N")
 
const PriceValue_T stdair::DEFAULT_VALUE_OF_TIME (100.0)
 
const IntDuration_T stdair::HOUR_CONVERTED_IN_SECONDS (3600)
 
const Duration_T stdair::DEFAULT_MINIMAL_CONNECTION_TIME (0, 30, 0)
 
const Duration_T stdair::DEFAULT_MAXIMAL_CONNECTION_TIME (24, 0, 0)
 
const MatchingIndicator_T stdair::DEFAULT_MATCHING_INDICATOR (0.0)
 
const PriceCurrency_T stdair::DEFAULT_CURRENCY ("EUR")
 
const AvailabilityStatus_T stdair::DEFAULT_AVAILABILITY_STATUS (false)
 
const AirlineCode_T stdair::DEFAULT_AIRLINE_CODE ("XX")
 
const AirlineCode_T stdair::DEFAULT_NULL_AIRLINE_CODE ("")
 
const FlightNumber_T stdair::DEFAULT_FLIGHT_NUMBER (9999)
 
const FlightNumber_T stdair::DEFAULT_FLIGHT_NUMBER_FF (255)
 
const TableID_T stdair::DEFAULT_TABLE_ID (9999)
 
const Date_T stdair::DEFAULT_DEPARTURE_DATE (1900, boost::gregorian::Jan, 1)
 
const AirportCode_T stdair::DEFAULT_AIRPORT_CODE ("XXX")
 
const AirportCode_T stdair::DEFAULT_NULL_AIRPORT_CODE ("")
 
const AirportCode_T stdair::DEFAULT_ORIGIN ("XXX")
 
const AirportCode_T stdair::DEFAULT_DESTINATION ("YYY")
 
const CabinCode_T stdair::DEFAULT_CABIN_CODE ("X")
 
const FamilyCode_T stdair::DEFAULT_FARE_FAMILY_CODE ("EcoSaver")
 
const FamilyCode_T stdair::DEFAULT_NULL_FARE_FAMILY_CODE ("NoFF")
 
const ClassCode_T stdair::DEFAULT_CLASS_CODE ("X")
 
const ClassCode_T stdair::DEFAULT_NULL_CLASS_CODE ("")
 
const BidPrice_T stdair::DEFAULT_BID_PRICE (0.0)
 
const unsigned short stdair::MAXIMAL_NUMBER_OF_LEGS_IN_FLIGHT (7)
 
const unsigned short stdair::MAXIMAL_NUMBER_OF_SEGMENTS_IN_OND (3)
 
const SeatIndex_T stdair::DEFAULT_SEAT_INDEX (1)
 
const NbOfSeats_T stdair::DEFAULT_NULL_BOOKING_NUMBER (0)
 
const CapacityAdjustment_T stdair::DEFAULT_NULL_CAPACITY_ADJUSTMENT (0)
 
const UPR_T stdair::DEFAULT_NULL_UPR (0)
 
const std::string stdair::DEFAULT_FARE_FAMILY_VALUE_TYPE ("FF")
 
const std::string stdair::DEFAULT_SEGMENT_CABIN_VALUE_TYPE ("SC")
 
const std::string stdair::DEFAULT_KEY_FLD_DELIMITER (";")
 
const std::string stdair::DEFAULT_KEY_SUB_FLD_DELIMITER (",")
 
const boost::char_separator< char > stdair::DEFAULT_KEY_TOKEN_DELIMITER (";, ")
 

Variables

const std::string stdair::DOW_STR []
 
const UnconstrainingMethod stdair::DEFAULT_UNCONSTRAINING_METHOD ('E')
 
const PartnershipTechnique stdair::DEFAULT_PARTNERSHIP_TECHNIQUE ('N')
 
const ForecastingMethod stdair::DEFAULT_FORECASTING_METHOD ('Q')
 
const PreOptimisationMethod stdair::DEFAULT_PREOPTIMISATION_METHOD ('N')
 
const OptimisationMethod stdair::DEFAULT_OPTIMISATION_METHOD ('M')
 
const CensorshipFlagList_T stdair::DEFAULT_CLASS_CENSORSHIPFLAG_LIST
 
const Date_T stdair::DEFAULT_DICO_STUDIED_DATE
 
const AirlineCodeList_T stdair::DEFAULT_AIRLINE_CODE_LIST
 
const ClassList_StringList_T stdair::DEFAULT_CLASS_CODE_LIST
 
const BidPriceVector_T stdair::DEFAULT_BID_PRICE_VECTOR = std::vector<BidPrice_T>()
 
const int stdair::DEFAULT_MAX_DTD = 365
 
const DCPList_T stdair::DEFAULT_DCP_LIST = DefaultDCPList::init()
 
const FRAT5Curve_T stdair::FRAT5_CURVE_A
 
const FRAT5Curve_T stdair::FRAT5_CURVE_B
 
const FRAT5Curve_T stdair::FRAT5_CURVE_C
 
const FRAT5Curve_T stdair::FRAT5_CURVE_D
 
const FFDisutilityCurve_T stdair::FF_DISUTILITY_CURVE_A
 
const FFDisutilityCurve_T stdair::FF_DISUTILITY_CURVE_B
 
const FFDisutilityCurve_T stdair::FF_DISUTILITY_CURVE_C
 
const FFDisutilityCurve_T stdair::FF_DISUTILITY_CURVE_D
 
const FFDisutilityCurve_T stdair::FF_DISUTILITY_CURVE_E
 
const FFDisutilityCurve_T stdair::FF_DISUTILITY_CURVE_F
 
const DTDFratMap_T stdair::DEFAULT_DTD_FRAT5COEF_MAP
 
const DTDProbMap_T stdair::DEFAULT_DTD_PROB_MAP
 
const OnDStringList_T stdair::DEFAULT_OND_STRING_LIST
 
const std::string stdair::DISPLAY_LEVEL_STRING_ARRAY [51]