ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dbg::dbgStream Class Reference

#include <AnalysisDebuggingUtils.h>

Inheritance diagram for Dbg::dbgStream:
Collaboration diagram for Dbg::dbgStream:

Public Member Functions

 dbgStream ()
 
 dbgStream (std::string title, std::string dbgFileName, std::string workDir, std::string imgPath)
 
void init (std::string title, std::string dbgFileName, std::string workDir, std::string imgPath)
 
 ~dbgStream ()
 
void printDetailFileHeader (std::string title)
 
void printDetailFileTrailer ()
 
void enterFunc (std::string funcName)
 
void exitFunc (std::string funcName)
 
std::string addImage (std::string ext=".gif")
 
std::string addDOT (dottable &obj)
 
std::string addDOTStr (dottable &obj)
 
std::string addDOT (std::string dot)
 
void addDOT (std::string imgFName, std::string graphName, std::string dot, std::ostream &ret)
 

Private Attributes

std::ofstream dbgFile
 
dbgBuf buf
 
std::vector< std::string > colors
 
std::string workDir
 
std::string imgPath
 
std::string dbgFileName
 
int numImages
 
std::ofstream summaryF
 
bool initialized
 

Detailed Description

Definition at line 94 of file AnalysisDebuggingUtils.h.

Constructor & Destructor Documentation

Dbg::dbgStream::dbgStream ( )
Dbg::dbgStream::dbgStream ( std::string  title,
std::string  dbgFileName,
std::string  workDir,
std::string  imgPath 
)
Dbg::dbgStream::~dbgStream ( )

Member Function Documentation

void Dbg::dbgStream::init ( std::string  title,
std::string  dbgFileName,
std::string  workDir,
std::string  imgPath 
)
void Dbg::dbgStream::printDetailFileHeader ( std::string  title)
void Dbg::dbgStream::printDetailFileTrailer ( )
void Dbg::dbgStream::enterFunc ( std::string  funcName)
void Dbg::dbgStream::exitFunc ( std::string  funcName)
std::string Dbg::dbgStream::addImage ( std::string  ext = ".gif")
std::string Dbg::dbgStream::addDOT ( dottable obj)
std::string Dbg::dbgStream::addDOTStr ( dottable obj)
std::string Dbg::dbgStream::addDOT ( std::string  dot)
void Dbg::dbgStream::addDOT ( std::string  imgFName,
std::string  graphName,
std::string  dot,
std::ostream &  ret 
)

Member Data Documentation

std::ofstream Dbg::dbgStream::dbgFile
private

Definition at line 96 of file AnalysisDebuggingUtils.h.

dbgBuf Dbg::dbgStream::buf
private

Definition at line 97 of file AnalysisDebuggingUtils.h.

std::vector<std::string> Dbg::dbgStream::colors
private

Definition at line 98 of file AnalysisDebuggingUtils.h.

std::string Dbg::dbgStream::workDir
private

Definition at line 100 of file AnalysisDebuggingUtils.h.

std::string Dbg::dbgStream::imgPath
private

Definition at line 102 of file AnalysisDebuggingUtils.h.

std::string Dbg::dbgStream::dbgFileName
private

Definition at line 104 of file AnalysisDebuggingUtils.h.

int Dbg::dbgStream::numImages
private

Definition at line 106 of file AnalysisDebuggingUtils.h.

std::ofstream Dbg::dbgStream::summaryF
private

Definition at line 108 of file AnalysisDebuggingUtils.h.

bool Dbg::dbgStream::initialized
private

Definition at line 109 of file AnalysisDebuggingUtils.h.


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