Functions
/home/martin/workspace/OpenStreetNav/src/importer/main.cc File Reference
#include <boost/program_options.hpp>
#include <iostream>
#include "../osmdb/osmdb.h"
#include "../xmlparse/xmlparse.h"
#include <functional>

Go to the source code of this file.

Functions

void progress (int &i)
void action_handler (osmdb::ImportTableAction act, int64_t amount)
bool proceed_handler ()
void copy_to_db (std::string const &filename, osmdb::OsmDatabase &db)
bool process_import_table (osmdb::OsmDatabase &db, bool quiet, bool recreate)
int import (std::string const &inp, std::string const &dbname, std::string const &schema, bool init, bool recreate, bool copy, bool import, bool quiet, bool analyze)
int main (int argc, char **argv)

Function Documentation

void action_handler ( osmdb::ImportTableAction  act,
int64_t  amount 
)

Definition at line 21 of file main.cc.

void copy_to_db ( std::string const &  filename,
osmdb::OsmDatabase db 
)

Definition at line 142 of file main.cc.

int import ( std::string const &  inp,
std::string const &  dbname,
std::string const &  schema,
bool  init,
bool  recreate,
bool  copy,
bool  import,
bool  quiet,
bool  analyze 
)

Definition at line 189 of file main.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 254 of file main.cc.

bool proceed_handler ( )

Definition at line 122 of file main.cc.

bool process_import_table ( osmdb::OsmDatabase db,
bool  quiet,
bool  recreate 
)

Definition at line 170 of file main.cc.

void progress ( int &  i)

Definition at line 14 of file main.cc.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines