#include <CifSchemaMap.h>
Inherits DbOutput.
Inheritance diagram for BcpOutput:
Public Member Functions | |
BcpOutput (Db &db) | |
virtual | ~BcpOutput () |
void | WriteDataLoadingScripts (const string &path=String::Empty) |
void | WriteData (Block &block, const string &path=String::Empty) |
Private Member Functions | |
void | WriteDataLoadingScript (const string &path) |
void | WriteDataLoadingFile (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 | _DATA_DELETE_FILE |
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::WriteDataLoadingScripts | ( | const string & | path = String::Empty |
) | [virtual] |
Reimplemented from DbOutput.
void BcpOutput::WriteData | ( | Block & | block, | |
const string & | path = String::Empty | |||
) | [virtual] |
Reimplemented from DbOutput.
void BcpOutput::WriteDataLoadingScript | ( | const string & | path | ) | [private] |
void BcpOutput::WriteDataLoadingFile | ( | 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::_DATA_DELETE_FILE [static, private] |