$treeview $search $mathjax
00001 #ifndef __STDAIR_STDAIR_BASIC_TYPES_HPP 00002 #define __STDAIR_STDAIR_BASIC_TYPES_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 #include <list> 00010 00011 namespace stdair { 00012 00013 // ////////////////////////////////////////////////////////////////////// 00014 // Basic types 00016 typedef std::string LocationCode_T; 00017 00019 typedef unsigned long int Distance_T; 00020 00022 typedef LocationCode_T AirportCode_T; 00023 00025 typedef LocationCode_T CityCode_T; 00026 00028 typedef std::string KeyDescription_T; 00029 00031 typedef std::string AirlineCode_T; 00032 00034 typedef unsigned short FlightNumber_T; 00035 00037 typedef unsigned short TableID_T; 00038 00041 typedef std::string CabinCode_T; 00042 00044 typedef std::string FamilyCode_T; 00045 00047 typedef std::string PolicyCode_T; 00048 00050 typedef std::string NestingStructureCode_T; 00051 00053 typedef std::string NestingNodeCode_T; 00054 00057 typedef std::string ClassCode_T; 00058 00060 typedef unsigned long Identity_T; 00061 00064 typedef std::string TripType_T; 00065 00067 typedef double MonetaryValue_T; 00068 00070 typedef double RealNumber_T; 00071 00073 typedef double Percentage_T; 00074 00076 typedef double PriceValue_T; 00077 00079 typedef double YieldValue_T; 00080 00082 typedef std::string PriceCurrency_T; 00083 00085 typedef double Revenue_T; 00086 00088 typedef double Multiplier_T; 00089 00092 typedef double NbOfSeats_T; 00093 00095 typedef unsigned int Count_T; 00096 00098 typedef short PartySize_T; 00099 00101 typedef double NbOfRequests_T; 00102 00104 typedef NbOfRequests_T NbOfBookings_T; 00105 00107 typedef NbOfRequests_T NbOfCancellations_T; 00108 00111 typedef unsigned short NbOfTravelSolutions_T; 00112 00114 typedef std::string ClassList_String_T; 00115 00117 typedef unsigned short NbOfSegments_T; 00118 00120 typedef unsigned short NbOfAirlines_T; 00121 00123 typedef double Availability_T; 00124 00126 typedef double Fare_T; 00127 00129 typedef bool Flag_T; 00130 00132 typedef unsigned int UnsignedIndex_T; 00133 00135 typedef unsigned int NbOfClasses_T; 00136 00138 typedef unsigned int NbOfFareFamilies_T; 00139 00140 // ///////////// Technical //////////////// 00144 typedef std::string Filename_T; 00145 00148 typedef std::string FileAddress_T; 00149 00152 typedef float ProgressPercentage_T; 00153 00154 } 00155 #endif // __STDAIR_STDAIR_BASIC_TYPES_HPP