StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 TableID_T;
38 
41  typedef std::string CabinCode_T;
42 
44  typedef std::string FamilyCode_T;
45 
47  typedef std::string PolicyCode_T;
48 
50  typedef std::string NestingStructureCode_T;
51 
53  typedef std::string NestingNodeCode_T;
54 
57  typedef std::string ClassCode_T;
58 
60  typedef unsigned long Identity_T;
61 
64  typedef std::string TripType_T;
65 
67  typedef double MonetaryValue_T;
68 
70  typedef double RealNumber_T;
71 
73  typedef double Percentage_T;
74 
76  typedef double PriceValue_T;
77 
79  typedef double YieldValue_T;
80 
82  typedef std::string PriceCurrency_T;
83 
85  typedef double Revenue_T;
86 
88  typedef double Multiplier_T;
89 
92  typedef double NbOfSeats_T;
93 
95  typedef unsigned int Count_T;
96 
98  typedef short PartySize_T;
99 
101  typedef double NbOfRequests_T;
102 
105 
108 
111  typedef unsigned short NbOfTravelSolutions_T;
112 
114  typedef std::string ClassList_String_T;
115 
117  typedef unsigned short NbOfSegments_T;
118 
120  typedef unsigned short NbOfAirlines_T;
121 
123  typedef double Availability_T;
124 
126  typedef double Fare_T;
127 
129  typedef bool Flag_T;
130 
132  typedef unsigned int UnsignedIndex_T;
133 
135  typedef unsigned int NbOfClasses_T;
136 
138  typedef unsigned int NbOfFareFamilies_T;
139 
140  // ///////////// Technical ////////////////
144  typedef std::string Filename_T;
145 
148  typedef std::string FileAddress_T;
149 
152  typedef float ProgressPercentage_T;
153 
154 }
155 #endif // __STDAIR_STDAIR_BASIC_TYPES_HPP