#include <CifSchemaMap.h>
Inherits DbOutput.
Inheritance diagram for BcpOutput:
Public Member Functions | |
BcpOutput (Db &db) | |
virtual | ~BcpOutput () |
void | WriteData (Block &block, const string &path=String::Empty) |
void | WriteDataLoadingScripts (const string &path=String::Empty) |
Private Member Functions | |
void | WriteCommandScript (const string &path) |
void | WriteLoadingFiles (const string &path=String::Empty) |
void | WriteDelete (ostream &io) |
void | WriteEmptyString (ostream &io) |
void | WriteSpecialDateChar (ostream &io, const char &specDateChar) |
Static Private Attributes | |
static const string | _SQL_FILE_DELETE |
This class represents a BCP output. It re-implements methods for data and loading scripts generation.
BcpOutput::BcpOutput | ( | Db & | db | ) |
BcpOutput::~BcpOutput | ( | ) | [virtual] |
void BcpOutput::WriteData | ( | Block & | block, | |
const string & | path = String::Empty | |||
) | [virtual] |
Reimplemented from DbOutput.
void BcpOutput::WriteDataLoadingScripts | ( | const string & | path = String::Empty |
) | [virtual] |
Reimplemented from DbOutput.
void BcpOutput::WriteCommandScript | ( | const string & | path | ) | [private] |
void BcpOutput::WriteLoadingFiles | ( | const string & | path = String::Empty |
) | [private] |
void BcpOutput::WriteDelete | ( | ostream & | io | ) | [private] |
void BcpOutput::WriteEmptyString | ( | ostream & | io | ) | [private, virtual] |
Reimplemented from DbOutput.
void BcpOutput::WriteSpecialDateChar | ( | ostream & | io, | |
const char & | specDateChar | |||
) | [private, virtual] |
Reimplemented from DbOutput.
const string BcpOutput::_SQL_FILE_DELETE [static, private] |