StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stdair_basic_types.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_STDAIR_BASIC_TYPES_HPP
2 #define __STDAIR_STDAIR_BASIC_TYPES_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <list>
10 
11 namespace stdair {
12 
13  // //////////////////////////////////////////////////////////////////////
14  // Basic types
16  typedef std::string LocationCode_T;
17 
19  typedef unsigned long int Distance_T;
20 
23 
26 
28  typedef std::string KeyDescription_T;
29 
31  typedef std::string AirlineCode_T;
32 
34  typedef unsigned short FlightNumber_T;
35 
37  typedef unsigned short GuillotineNumber_T;
38 
41  typedef std::string CabinCode_T;
42 
44  typedef std::string FamilyCode_T;
45 
48  typedef std::string ClassCode_T;
49 
51  typedef unsigned long Identity_T;
52 
55  typedef std::string TripType_T;
56 
58  typedef double MonetaryValue_T;
59 
61  typedef double RealNumber_T;
62 
64  typedef double Percentage_T;
65 
67  typedef double PriceValue_T;
68 
70  typedef double YieldValue_T;
71 
73  typedef std::string PriceCurrency_T;
74 
76  typedef double Revenue_T;
77 
79  typedef double Multiplier_T;
80 
83  typedef double NbOfSeats_T;
84 
86  typedef unsigned int Count_T;
87 
89  typedef short PartySize_T;
90 
92  typedef double NbOfRequests_T;
93 
96 
99 
102  typedef unsigned short NbOfTravelSolutions_T;
103 
105  typedef std::string ClassList_String_T;
106 
108  typedef unsigned short NbOfSegments_T;
109 
111  typedef unsigned short NbOfAirlines_T;
112 
114  typedef double Availability_T;
115 
117  typedef double Fare_T;
118 
120  typedef bool Flag_T;
121 
123  typedef unsigned int UnsignedIndex_T;
124 
125  // ///////////// Technical ////////////////
129  typedef std::string Filename_T;
130 
133  typedef std::string FileAddress_T;
134 
137  typedef float ProgressPercentage_T;
138 
139 }
140 #endif // __STDAIR_STDAIR_BASIC_TYPES_HPP