8 #include <boost/tokenizer.hpp>
9 #include <boost/lexical_cast.hpp>
10 #include <boost/date_time/gregorian/parsers.hpp>
28 typedef boost::tokenizer<boost::char_separator<char> >
Tokeniser_T;
37 Tokeniser_T::iterator itToken = lTokens.begin();
40 if (itToken != lTokens.end()) {
45 if (itToken != lTokens.end()) {
50 if (itToken != lTokens.end()) {
55 if (itToken != lTokens.end()) {
60 if (itToken != lTokens.end()) {
65 if (itToken != lTokens.end()) {
std::string _flightNumber
Handle on the StdAir library context.
std::string _departureDate
SegmentDateKey getSegmentKey() const
static InventoryKey extractInventoryKey(const std::string &iFullKeyStr)
static ParsedKey extractKeys(const std::string &iFullKeyStr)
LegDateKey getLegKey() const
Key of a given inventory, made of the airline code.
FlightDateKey getFlightDateKey() const
std::string _boardingTime
InventoryKey getInventoryKey() const
Key of a given flight-date, made of a flight number and a departure date.
std::string _boardingPoint
const boost::char_separator< char > DEFAULT_KEY_TOKEN_DELIMITER
static FlightDateKey extractFlightDateKey(const std::string &iFullKeyStr)
Key of a given segment-date, made of an origin and a destination airports.
boost::tokenizer< boost::char_separator< char > > Tokeniser_T
static LegDateKey extractLegDateKey(const std::string &iFullKeyStr)
static SegmentDateKey extractSegmentDateKey(const std::string &iFullKeyStr)