StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
stdair_basic_types.hpp
Go to the documentation of this file.
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 GuillotineNumber_T;
00038 
00041   typedef std::string CabinCode_T;
00042 
00044   typedef std::string FamilyCode_T;
00045 
00048   typedef std::string ClassCode_T;
00049 
00051   typedef unsigned long Identity_T;
00052 
00055   typedef std::string TripType_T;
00056 
00058   typedef double MonetaryValue_T;
00059   
00061   typedef double RealNumber_T;
00062   
00064   typedef double Percentage_T;
00065 
00067   typedef double PriceValue_T;
00068 
00070   typedef double YieldValue_T;
00071 
00073   typedef std::string PriceCurrency_T;
00074 
00076   typedef double Revenue_T;
00077 
00079   typedef double Multiplier_T;
00080   
00083   typedef double NbOfSeats_T;
00084 
00086   typedef unsigned int Count_T;
00087   
00089   typedef short PartySize_T;
00090 
00092   typedef double NbOfRequests_T;
00093 
00095   typedef NbOfRequests_T NbOfBookings_T;
00096 
00098   typedef NbOfRequests_T NbOfCancellations_T;
00099 
00102   typedef unsigned short NbOfTravelSolutions_T;
00103 
00105   typedef std::string ClassList_String_T;
00106 
00108   typedef unsigned short NbOfSegments_T;
00109 
00111   typedef unsigned short NbOfAirlines_T;
00112 
00114   typedef double Availability_T;
00115 
00117   typedef double Fare_T;
00118 
00120   typedef bool Flag_T;
00121 
00123   typedef unsigned int UnsignedIndex_T;
00124 
00125   // ///////////// Technical ////////////////
00129   typedef std::string Filename_T;
00130   
00133   typedef std::string FileAddress_T;
00134 
00137   typedef float ProgressPercentage_T;
00138 
00139 }
00140 #endif // __STDAIR_STDAIR_BASIC_TYPES_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines