CDatabaseDumpProcessor Class Reference
Inheritance diagram for CDatabaseDumpProcessor:
[legend]
Collaboration diagram for CDatabaseDumpProcessor:
[legend]

Public Member Functions

 CDatabaseDumpProcessor (CDatabaseEngine *aCallback, QueryProcessorQueue *aQueryProcessorQueue, nsIFile *aOutputFile)
 
virtual ~CDatabaseDumpProcessor ()
 

Protected Member Functions

nsresult OutputBuffer (const char *aBuffer)
 
PRInt32 RunSchemaDumpQuery (const nsACString &aQuery)
 
PRInt32 RunTableDumpQuery (const nsACString &aSelect)
 

Static Protected Member Functions

static int DumpCallback (void *pArg, int inArg, char **azArg, const char **azCol)
 
static char * appendText (char *zIn, char const *zAppend, char quote)
 

Protected Attributes

nsCOMPtr< nsIFileOutputStream > mOutputStream
 
nsCOMPtr< nsIFile > mOutputFile
 
nsRefPtr< CDatabaseEnginemEngineCallback
 
nsRefPtr< QueryProcessorQueuemQueryProcessorQueue
 
PRBool writeableSchema
 

Detailed Description

Definition at line 620 of file DatabaseEngine.cpp.

Constructor & Destructor Documentation

CDatabaseDumpProcessor::CDatabaseDumpProcessor ( CDatabaseEngine aCallback,
QueryProcessorQueue aQueryProcessorQueue,
nsIFile *  aOutputFile 
)

Definition at line 651 of file DatabaseEngine.cpp.

CDatabaseDumpProcessor::~CDatabaseDumpProcessor ( )
virtual

Definition at line 660 of file DatabaseEngine.cpp.

Member Function Documentation

char * CDatabaseDumpProcessor::appendText ( char *  zIn,
char const *  zAppend,
char  quote 
)
staticprotected

Definition at line 890 of file DatabaseEngine.cpp.

Here is the caller graph for this function:

int CDatabaseDumpProcessor::DumpCallback ( void *  pArg,
int  inArg,
char **  azArg,
const char **  azCol 
)
staticprotected

Definition at line 778 of file DatabaseEngine.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult CDatabaseDumpProcessor::OutputBuffer ( const char *  aBuffer)
protected

Definition at line 702 of file DatabaseEngine.cpp.

Here is the caller graph for this function:

PRInt32 CDatabaseDumpProcessor::RunSchemaDumpQuery ( const nsACString &  aQuery)
protected

Definition at line 718 of file DatabaseEngine.cpp.

Here is the call graph for this function:

PRInt32 CDatabaseDumpProcessor::RunTableDumpQuery ( const nsACString &  aSelect)
protected

Definition at line 750 of file DatabaseEngine.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

nsRefPtr<CDatabaseEngine> CDatabaseDumpProcessor::mEngineCallback
protected

Definition at line 643 of file DatabaseEngine.cpp.

nsCOMPtr<nsIFile> CDatabaseDumpProcessor::mOutputFile
protected

Definition at line 642 of file DatabaseEngine.cpp.

nsCOMPtr<nsIFileOutputStream> CDatabaseDumpProcessor::mOutputStream
protected

Definition at line 641 of file DatabaseEngine.cpp.

nsRefPtr<QueryProcessorQueue> CDatabaseDumpProcessor::mQueryProcessorQueue
protected

Definition at line 644 of file DatabaseEngine.cpp.

PRBool CDatabaseDumpProcessor::writeableSchema
protected

Definition at line 645 of file DatabaseEngine.cpp.


The documentation for this class was generated from the following file: