OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
opentrep-dbmgr.cpp File Reference
#include <cassert>
#include <iostream>
#include <sstream>
#include <fstream>
#include <vector>
#include <string>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/program_options.hpp>
#include <opentrep/OPENTREP_Service.hpp>
#include <opentrep/basic/BasConst_OPENTREP_Service.hpp>
#include <opentrep/config/opentrep-paths.hpp>

Go to the source code of this file.

Typedefs

typedef std::vector< std::string > WordList_T
 

Functions

const std::string K_OPENTREP_DEFAULT_LOG_FILENAME ("opentrep-dbmgr.log")
 
int readConfiguration (int argc, char *argv[], std::string &ioPORFilepath, std::string &ioXapianDBFilepath, std::string &ioSQLiteDBFilepath, std::string &ioLogFilename)
 
int main (int argc, char *argv[])
 

Variables

const int K_OPENTREP_EARLY_RETURN_STATUS = 99
 

Typedef Documentation

typedef std::vector<std::string> WordList_T

Definition at line 19 of file opentrep-dbmgr.cpp.

Function Documentation

const std::string K_OPENTREP_DEFAULT_LOG_FILENAME ( "opentrep-dbmgr.log"  )

Default name and location for the log file.

Referenced by readConfiguration().

int readConfiguration ( int  argc,
char *  argv[],
std::string &  ioPORFilepath,
std::string &  ioXapianDBFilepath,
std::string &  ioSQLiteDBFilepath,
std::string &  ioLogFilename 
)
int main ( int  argc,
char *  argv[] 
)

Variable Documentation

const int K_OPENTREP_EARLY_RETURN_STATUS = 99

Early return status (so that it can be differentiated from an error).

Definition at line 31 of file opentrep-dbmgr.cpp.

Referenced by main(), and readConfiguration().