StdAir Logo  1.00.8
C++ Standard Airline IT Object Library
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
stdair::LocationCode_T
std::string LocationCode_T
Definition: stdair_basic_types.hpp:16
stdair::ProgressPercentage_T
float ProgressPercentage_T
Definition: stdair_basic_types.hpp:152
stdair::AirlineCode_T
std::string AirlineCode_T
Definition: stdair_basic_types.hpp:31
stdair::YieldValue_T
double YieldValue_T
Definition: stdair_basic_types.hpp:79
stdair::TripType_T
std::string TripType_T
Definition: stdair_basic_types.hpp:64
stdair::NestingStructureCode_T
std::string NestingStructureCode_T
Definition: stdair_basic_types.hpp:50
stdair::NestingNodeCode_T
std::string NestingNodeCode_T
Definition: stdair_basic_types.hpp:53
stdair::NbOfTravelSolutions_T
unsigned short NbOfTravelSolutions_T
Definition: stdair_basic_types.hpp:111
stdair::Filename_T
std::string Filename_T
Definition: stdair_basic_types.hpp:144
stdair::FileAddress_T
std::string FileAddress_T
Definition: stdair_basic_types.hpp:148
stdair::ClassList_String_T
std::string ClassList_String_T
Definition: stdair_basic_types.hpp:114
stdair::ClassCode_T
std::string ClassCode_T
Definition: stdair_basic_types.hpp:57
stdair::Revenue_T
double Revenue_T
Definition: stdair_basic_types.hpp:85
stdair::Fare_T
double Fare_T
Definition: stdair_basic_types.hpp:126
stdair::NbOfCancellations_T
NbOfRequests_T NbOfCancellations_T
Definition: stdair_basic_types.hpp:107
stdair::PartySize_T
short PartySize_T
Definition: stdair_basic_types.hpp:98
stdair::Flag_T
bool Flag_T
Definition: stdair_basic_types.hpp:129
stdair::FamilyCode_T
std::string FamilyCode_T
Definition: stdair_basic_types.hpp:44
stdair::AirportCode_T
LocationCode_T AirportCode_T
Definition: stdair_basic_types.hpp:22
stdair::KeyDescription_T
std::string KeyDescription_T
Definition: stdair_basic_types.hpp:28
stdair::UnsignedIndex_T
unsigned int UnsignedIndex_T
Definition: stdair_basic_types.hpp:132
stdair::Identity_T
unsigned long Identity_T
Definition: stdair_basic_types.hpp:60
stdair
Handle on the StdAir library context.
Definition: BasChronometer.cpp:9
stdair::NbOfClasses_T
unsigned int NbOfClasses_T
Definition: stdair_basic_types.hpp:135
stdair::PriceCurrency_T
std::string PriceCurrency_T
Definition: stdair_basic_types.hpp:82
stdair::Distance_T
unsigned long int Distance_T
Definition: stdair_basic_types.hpp:19
stdair::CityCode_T
LocationCode_T CityCode_T
Definition: stdair_basic_types.hpp:25
stdair::NbOfSegments_T
unsigned short NbOfSegments_T
Definition: stdair_basic_types.hpp:117
stdair::PriceValue_T
double PriceValue_T
Definition: stdair_basic_types.hpp:76
stdair::RealNumber_T
double RealNumber_T
Definition: stdair_basic_types.hpp:70
stdair::MonetaryValue_T
double MonetaryValue_T
Definition: stdair_basic_types.hpp:67
stdair::NbOfAirlines_T
unsigned short NbOfAirlines_T
Definition: stdair_basic_types.hpp:120
stdair::Multiplier_T
double Multiplier_T
Definition: stdair_basic_types.hpp:88
stdair::CabinCode_T
std::string CabinCode_T
Definition: stdair_basic_types.hpp:41
stdair::PolicyCode_T
std::string PolicyCode_T
Definition: stdair_basic_types.hpp:47
stdair::Availability_T
double Availability_T
Definition: stdair_basic_types.hpp:123
stdair::NbOfRequests_T
double NbOfRequests_T
Definition: stdair_basic_types.hpp:101
stdair::FlightNumber_T
unsigned short FlightNumber_T
Definition: stdair_basic_types.hpp:34
stdair::NbOfFareFamilies_T
unsigned int NbOfFareFamilies_T
Definition: stdair_basic_types.hpp:138
stdair::Count_T
unsigned int Count_T
Definition: stdair_basic_types.hpp:95
stdair::NbOfSeats_T
double NbOfSeats_T
Definition: stdair_basic_types.hpp:92
stdair::NbOfBookings_T
NbOfRequests_T NbOfBookings_T
Definition: stdair_basic_types.hpp:104
stdair::TableID_T
unsigned short TableID_T
Definition: stdair_basic_types.hpp:37
stdair::Percentage_T
double Percentage_T
Definition: stdair_basic_types.hpp:73