BcpOutput Class Reference

BCP output class. More...

#include <CifSchemaMap.h>

Inherits DbOutput.

Inheritance diagram for BcpOutput:

Inheritance graph
[legend]
Collaboration diagram for BcpOutput:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BcpOutput (Db &db)
virtual ~BcpOutput ()
void WriteDataLoadingScripts (const string &path=std::string())
void WriteData (Block &block, const string &path=std::string())

Private Member Functions

void WriteDataLoadingScript (const string &path)
void WriteDataLoadingFile (const string &path=std::string())
void WriteDelete (std::ostream &io)
void WriteEmptyString (std::ostream &io)
void WriteSpecialDateChar (std::ostream &io, const char &specDateChar)

Static Private Attributes

static const string _DATA_DELETE_FILE = "DB_LOADER_DELETE.sql"

Detailed Description

BCP output class.

This class represents a BCP output. It re-implements methods for data and loading scripts generation.


Constructor & Destructor Documentation

BcpOutput::BcpOutput ( Db db  ) 

BcpOutput::~BcpOutput (  )  [virtual]


Member Function Documentation

void BcpOutput::WriteData ( Block &  block,
const string &  path = std::string() 
)

void BcpOutput::WriteDataLoadingFile ( const string &  path = std::string()  )  [private]

void BcpOutput::WriteDataLoadingScript ( const string &  path  )  [private]

void BcpOutput::WriteDataLoadingScripts ( const string &  path = std::string()  ) 

void BcpOutput::WriteDelete ( std::ostream &  io  )  [private]

void BcpOutput::WriteEmptyString ( std::ostream &  io  )  [private, virtual]

Reimplemented from DbOutput.

void BcpOutput::WriteSpecialDateChar ( std::ostream &  io,
const char &  specDateChar 
) [private, virtual]

Reimplemented from DbOutput.


Member Data Documentation

const string BcpOutput::_DATA_DELETE_FILE = "DB_LOADER_DELETE.sql" [static, private]


The documentation for this class was generated from the following files:
Generated on Thu Oct 6 10:15:53 2011 for db-loader-v4.1.0 by  doxygen 1.4.7