OpenTREP Logo  0.07.1
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BasConst.cpp File Reference

Go to the source code of this file.

Namespaces

 OPENTREP
 

Functions

const std::string OPENTREP::DEFAULT_OPENTREP_POR_FILEPATH (OPENTREP_POR_DATA_DIR"/optd_por_public.csv")
 
const std::string OPENTREP::DEFAULT_OPENTREP_XAPIAN_DB_FILEPATH ("/tmp/opentrep/xapian_traveldb")
 
const bool OPENTREP::DEFAULT_OPENTREP_SQLITE_DB_FILLING_INDICATOR (false)
 
const std::string OPENTREP::DEFAULT_OPENTREP_SQL_DB_TYPE ("nodb")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_CONN_STRING ("db=trep_trep user=trep password=trep")
 
const std::string OPENTREP::DEFAULT_OPENTREP_SQLITE_DB_FILEPATH ("/tmp/opentrep/sqlite_travel.db")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_USER ("trep")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_PASSWD ("trep")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_DBNAME ("trep_trep")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_HOST ("localhost")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_PORT ("3306")
 
const unsigned short OPENTREP::DEFAULT_OPENTREP_DEPLOYMENT_NUMBER (0)
 
const unsigned short OPENTREP::DEFAULT_OPENTREP_DEPLOYMENT_NUMBER_SIZE (2)
 
const bool OPENTREP::DEFAULT_OPENTREP_INCLUDE_NONIATA_POR (false)
 
const bool OPENTREP::DEFAULT_OPENTREP_INDEX_IN_XAPIAN (true)
 
const bool OPENTREP::DEFAULT_OPENTREP_ADD_IN_DB (false)
 
const std::string OPENTREP::DEFAULT_DATE_STR ("1970-01-01")
 
const NbOfMatches_T OPENTREP::K_DEFAULT_XAPIAN_MATCHING_SET_SIZE (30)
 
const Weight_T OPENTREP::K_DEFAULT_INDEXING_STD_WEIGHT (1)
 
const Weight_T OPENTREP::K_DEFAULT_INDEXING_EXTRA_WEIGHT (2)
 
const Percentage_T OPENTREP::K_DEFAULT_MODIFIED_MATCHING_PCT (100.0)
 
const Percentage_T OPENTREP::K_DEFAULT_PAGE_RANK (0.10)
 
const Percentage_T OPENTREP::K_DEFAULT_ENVELOPE_PCT (K_DEFAULT_PAGE_RANK)
 
const Percentage_T OPENTREP::K_DEFAULT_FULL_CODE_MATCH_PCT (11000/K_DEFAULT_PAGE_RANK)
 
const Percentage_T OPENTREP::K_DEFAULT_ATTENUATION_FCTR (850.0)
 
const NbOfErrors_T OPENTREP::K_DEFAULT_SIZE_FOR_SPELLING_ERROR_UNIT (4)
 
const NbOfWords_T OPENTREP::K_DEFAULT_MAXIMUM_NUMBER_OF_WORDS_IN_STRING (14)
 

Variables

const std::tm OPENTREP::DEFAULT_DATE_TM
 
const char * OPENTREP::K_ICU_ACCENT_REMOVAL_RULE = "NFD; [:M:] Remove; NFC;"
 
const char * OPENTREP::K_ICU_QUOTATION_REMOVAL_RULE
 
const char * OPENTREP::K_ICU_PUNCTUATION_REMOVAL_RULE = "[:P:] Remove;"
 
const char * OPENTREP::K_ICU_GENERIC_TRANSLITERATOR_RULE
 
const BlackList_T OPENTREP::K_BLACK_LIST = ListGenerator::createBlackList()