#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <exception>
#include <cstring>
#include <string>
#include <iostream>
#include <fstream>
#include "Db.h"
#include "DbOutput.h"
#include "XmlOutput.h"
#include "CifSchemaMap.h"
Include dependency graph for db-loader.C:
Classes | |
struct | Args |
Functions | |
static void | usage (const string &progName) |
static void | GetArgs (Args &args, unsigned int argc, char *argv[]) |
static void | GetFileNames (vector< string > &fileNames, const string &lFile) |
static Db * | CreateDb (Args &args, SchemaMap &schemaMapping) |
static DbOutput * | CreateDbOutput (Args &args, Db &db) |
int | main (int argc, char *argv[]) |
Variables | |
const unsigned int | MODE_SQL = 1 |
const unsigned int | MODE_BCP = 2 |
const unsigned int | MODE_XML = 3 |
static void GetArgs | ( | Args & | args, | |
unsigned int | argc, | |||
char * | argv[] | |||
) | [static] |
static void GetFileNames | ( | vector< string > & | fileNames, | |
const string & | lFile | |||
) | [static] |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
static void usage | ( | const string & | progName | ) | [static] |
const unsigned int MODE_BCP = 2 |
const unsigned int MODE_SQL = 1 |
const unsigned int MODE_XML = 3 |