$treeview $search $mathjax
#include <cassert>#include <sstream>#include <fstream>#include <string>#include <boost/date_time/posix_time/posix_time.hpp>#include <boost/date_time/gregorian/gregorian.hpp>#include <boost/program_options.hpp>#include <boost/tokenizer.hpp>#include <boost/lexical_cast.hpp>#include <stdair/STDAIR_Service.hpp>#include <stdair/bom/BomDisplay.hpp>#include <stdair/bom/BookingRequestStruct.hpp>#include <stdair/bom/TravelSolutionStruct.hpp>#include <stdair/service/Logger.hpp>#include <airtsp/AIRTSP_Service.hpp>#include <airtsp/batches/BookingRequestParser.hpp>#include <airtsp/config/airtsp-paths.hpp>Go to the source code of this file.
Typedefs | |
| typedef std::vector< std::string > | WordList_T |
Functions | |
| const std::string | K_AIRTSP_DEFAULT_LOG_FILENAME ("airtsp.log") |
| const std::string | K_AIRTSP_DEFAULT_INPUT_FILENAME (STDAIR_SAMPLE_DIR"/schedule03.csv") |
| const std::string | K_AIRTSP_DEFAULT_BOOKING_REQUEST ("NCE BKK NCE 2007-04-21 2007-03-21 08:32:00 C 1 DF RO 5 NONE 10:00:00 2000.0 20.0") |
| std::string | createStringFromWordList (const WordList_T &iWordList) |
| template<class T> | |
| std::ostream & | operator<< (std::ostream &os, const std::vector< T > &v) |
| int | readConfiguration (int argc, char *argv[], bool &ioIsBuiltin, bool &ioReadBookingRequestFromCmdLine, stdair::Filename_T &ioInputFilename, std::string &ioLogFilename, std::string &ioBookingRequestString) |
| stdair::BookingRequestStruct | parseBookingRequest (const std::string &iRequestOption) |
| int | main (int argc, char *argv[]) |
Variables | |
| const bool | K_AIRTSP_DEFAULT_BUILT_IN_INPUT = false |
| const bool | K_AIRTSP_DEFAULT_BOOKING_REQUEST_MODE = false |
| const int | K_AIRTSP_EARLY_RETURN_STATUS = 99 |
| typedef std::vector<std::string> WordList_T |
Definition at line 24 of file airtsp.cpp.
| const std::string K_AIRTSP_DEFAULT_LOG_FILENAME | ( | "airtsp.log" | ) |
Default name and location for the log file.
Referenced by readConfiguration().
| const std::string K_AIRTSP_DEFAULT_INPUT_FILENAME | ( | STDAIR_SAMPLE_DIR"/schedule03.csv" | ) |
Default name and location for the (CSV) input file.
Referenced by readConfiguration().
| const std::string K_AIRTSP_DEFAULT_BOOKING_REQUEST | ( | "NCE BKK NCE 2007-04-21 2007-03-21 08:32:00 C 1 DF RO 5 NONE 10:00:00 2000.0 20.0" | ) |
Default booking request string, to be seached against the AirTSP network.
Referenced by main().
| std::string createStringFromWordList | ( | const WordList_T & | iWordList | ) |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const std::vector< T > & | v | |||
| ) |
Definition at line 77 of file airtsp.cpp.
| int readConfiguration | ( | int | argc, | |
| char * | argv[], | |||
| bool & | ioIsBuiltin, | |||
| bool & | ioReadBookingRequestFromCmdLine, | |||
| stdair::Filename_T & | ioInputFilename, | |||
| std::string & | ioLogFilename, | |||
| std::string & | ioBookingRequestString | |||
| ) |
Read and parse the command line options.
Definition at line 87 of file airtsp.cpp.
References createStringFromWordList(), K_AIRTSP_DEFAULT_BOOKING_REQUEST_MODE, K_AIRTSP_DEFAULT_BUILT_IN_INPUT, K_AIRTSP_DEFAULT_INPUT_FILENAME(), K_AIRTSP_DEFAULT_LOG_FILENAME(), and K_AIRTSP_EARLY_RETURN_STATUS.
Referenced by main().
| stdair::BookingRequestStruct parseBookingRequest | ( | const std::string & | iRequestOption | ) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
| const bool K_AIRTSP_DEFAULT_BUILT_IN_INPUT = false |
Default for the BOM tree building. The BOM tree can either be built-in or provided by an input file. That latter must then be given with the -s option.
Definition at line 44 of file airtsp.cpp.
Referenced by readConfiguration().
| const bool K_AIRTSP_DEFAULT_BOOKING_REQUEST_MODE = false |
Default for the input type. It can be either built-in or provided by an input file. That latter must then be given with the -i option.
Definition at line 50 of file airtsp.cpp.
Referenced by readConfiguration().
| const int K_AIRTSP_EARLY_RETURN_STATUS = 99 |
Early return status (so that it can be differentiated from an error).
Definition at line 84 of file airtsp.cpp.
Referenced by main(), and readConfiguration().
1.4.7
Generated on Sat Jun 13 22:39:33 2015 for AirTSP by
1.4.7