OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BasConst.cpp File Reference
#include <opentrep/config/opentrep-paths.hpp>
#include <opentrep/basic/BasConst_OPENTREP_Service.hpp>
#include <opentrep/basic/BasConst_Unicode.hpp>
#include <opentrep/basic/BasConst_General.hpp>

Go to the source code of this file.

Namespaces

 OPENTREP
 

Functions

const std::string OPENTREP::DEFAULT_OPENTREP_POR_FILEPATH (OPENTREP_POR_DATA_DIR"/ori_por_public.csv")
 
const std::string OPENTREP::DEFAULT_OPENTREP_XAPIAN_DB_FILEPATH ("/tmp/opentrep/traveldb")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_USER ("geo")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_PASSWD ("geo")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_DBNAME ("geo_ori")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_HOST ("localhost")
 
const std::string OPENTREP::DEFAULT_OPENTREP_MYSQL_DB_PORT ("3306")
 
const std::string OPENTREP::DEFAULT_OPENTREP_SQLITE_DB_FILEPATH (OPENTREP_POR_DATA_DIR"/ori_por_public.db")
 
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 (34.0)
 
const NbOfErrors_T OPENTREP::K_DEFAULT_SIZE_FOR_SPELLING_ERROR_UNIT (4)
 

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()