$treeview $search $mathjax
#include <cassert>#include <iostream>#include <sstream>#include <fstream>#include <vector>#include <list>#include <string>#include <boost/date_time/posix_time/posix_time.hpp>#include <boost/date_time/gregorian/gregorian.hpp>#include <boost/tokenizer.hpp>#include <boost/program_options.hpp>#include <stdair/STDAIR_Service.hpp>#include <stdair/bom/TravelSolutionStruct.hpp>#include <stdair/service/Logger.hpp>#include <airrac/AIRRAC_Service.hpp>#include <airrac/config/airrac-paths.hpp>Go to the source code of this file.
Typedefs | |
| typedef std::vector< std::string > | WordList_T |
Functions | |
| const std::string | K_AIRRAC_DEFAULT_LOG_FILENAME ("airrac.log") |
| const std::string | K_AIRRAC_DEFAULT_YIELD_INPUT_FILENAME (STDAIR_SAMPLE_DIR"/yieldstore01.csv") |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &os, const std::vector< T > &v) |
| int | readConfiguration (int argc, char *argv[], bool &ioIsBuiltin, stdair::Filename_T &ioYieldInputFilename, std::string &ioLogFilename) |
| int | main (int argc, char *argv[]) |
Variables | |
| const bool | K_AIRRAC_DEFAULT_BUILT_IN_INPUT = false |
| const int | K_AIRRAC_EARLY_RETURN_STATUS = 99 |
| typedef std::vector<std::string> WordList_T |
Definition at line 23 of file airrac.cpp.
| const std::string K_AIRRAC_DEFAULT_LOG_FILENAME | ( | "airrac.log" | ) |
Default name and location for the log file.
Referenced by readConfiguration().
| const std::string K_AIRRAC_DEFAULT_YIELD_INPUT_FILENAME | ( | STDAIR_SAMPLE_DIR"/yieldstore01.csv" | ) |
Default name and location for the (CSV) input file.
Referenced by readConfiguration().
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const std::vector< T > & | v | |||
| ) | [inline] |
Definition at line 43 of file airrac.cpp.
| int readConfiguration | ( | int | argc, | |
| char * | argv[], | |||
| bool & | ioIsBuiltin, | |||
| stdair::Filename_T & | ioYieldInputFilename, | |||
| std::string & | ioLogFilename | |||
| ) |
Read and parse the command line options.
Definition at line 50 of file airrac.cpp.
References K_AIRRAC_DEFAULT_BUILT_IN_INPUT, K_AIRRAC_DEFAULT_LOG_FILENAME(), K_AIRRAC_DEFAULT_YIELD_INPUT_FILENAME(), and K_AIRRAC_EARLY_RETURN_STATUS.
Referenced by main().
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
| const bool K_AIRRAC_DEFAULT_BUILT_IN_INPUT = 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 36 of file airrac.cpp.
Referenced by readConfiguration().
| const int K_AIRRAC_EARLY_RETURN_STATUS = 99 |
Early return status (so that it can be differentiated from an error).
Definition at line 39 of file airrac.cpp.
Referenced by main(), and readConfiguration().
1.6.1
Generated on Sat Jun 13 23:11:00 2015 for AirRAC by
1.6.1