API wrapper around the OpenTREP C++ API, so that Python scripts can use it seamlessly. More...
Public Member Functions | |
std::string | getPaths () |
std::string | index () |
std::string | generate (const std::string &iOutputFormatString, const NbOfMatches_T &iNbOfDraws) |
std::string | search (const std::string &iOutputFormatString, const std::string &iTravelQuery) |
OpenTrepSearcher () | |
OpenTrepSearcher (const OpenTrepSearcher &iOpenTrepSearcher) | |
~OpenTrepSearcher () | |
bool | init (const std::string &iTravelDBFilePath, const std::string &iSQLiteDBFilePath, const std::string &iLogFilePath) |
bool | finalize () |
API wrapper around the OpenTREP C++ API, so that Python scripts can use it seamlessly.
Definition at line 26 of file pyopentrep.cpp.
|
inline |
Default constructor.
Definition at line 594 of file pyopentrep.cpp.
|
inline |
Default copy constructor.
Definition at line 600 of file pyopentrep.cpp.
|
inline |
Default constructor.
Definition at line 608 of file pyopentrep.cpp.
|
inline |
Get the file-paths for the:
Definition at line 36 of file pyopentrep.cpp.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Public wrapper around the indexation use case.
Definition at line 43 of file pyopentrep.cpp.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Public wrapper around the random generation use case.
Definition at line 50 of file pyopentrep.cpp.
References OPENTREP::OutputFormat::getFormat().
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Public wrapper around the search use case.
Definition at line 61 of file pyopentrep.cpp.
References OPENTREP::OutputFormat::getFormat().
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Wrapper around the search use case.
Definition at line 616 of file pyopentrep.cpp.
References OPENTREP::RootException::what().
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Wrapper around the search use case.
Definition at line 671 of file pyopentrep.cpp.
Referenced by BOOST_PYTHON_MODULE().