NCBI C++ ToolKit
|
Search Toolkit Book for CDiagCompileInfo
Incapsulate compile time information such as __FILE__, __LINE__, NCBI_MODULE, current function. More...
#include <corelib/ncbidiag.hpp>
Public Member Functions | |
CDiagCompileInfo (void) | |
CDiagCompileInfo:: More... | |
CDiagCompileInfo (const char *file, int line, const char *curr_funct=NULL, const char *module=NULL) | |
CDiagCompileInfo (const string &file, int line, const string &curr_funct, const string &module) | |
~CDiagCompileInfo (void) | |
const char * | GetFile (void) const |
const char * | GetModule (void) const |
int | GetLine (void) const |
const string & | GetClass (void) const |
const string & | GetFunction (void) const |
Private Member Functions | |
void | SetFile (const string &file) |
void | SetModule (const string &module) |
void | SetLine (int line) |
void | SetFunction (const string &func) |
void | SetClass (const string &cls) |
void | ParseCurrFunctName (void) const |
bool | x_NeedModule (void) const |
Private Attributes | |
const char * | m_File |
const char * | m_Module |
int | m_Line |
const char * | m_CurrFunctName |
bool | m_Parsed |
bool | m_ClassSet |
string | m_ClassName |
string | m_FunctName |
string | m_StrFile |
string | m_StrModule |
string | m_StrCurrFunctName |
Friends | |
class | CNcbiDiag |
Incapsulate compile time information such as __FILE__, __LINE__, NCBI_MODULE, current function.
Definition at line 64 of file ncbidiag.hpp.