|
| CNcbiDiag (EDiagSev sev=eDiag_Error, TDiagPostFlags post_flags=eDPF_Default) |
| Constructor. More...
|
|
| CNcbiDiag (const CDiagCompileInfo &info, EDiagSev sev=eDiag_Error, TDiagPostFlags post_flags=eDPF_Default) |
| Constructor – includes the file and line number info. More...
|
|
| ~CNcbiDiag (void) |
| Destructor. More...
|
|
const CNcbiDiag & | GetRef (void) const |
| Some compilers (e.g. More...
|
|
template<class X > |
const CNcbiDiag & | Put (const volatile void *, const X &x) const |
| Generic method to post to diagnostic stream. More...
|
|
const CNcbiDiag & | Put (const ErrCode *, const ErrCode &err_code) const |
| Helper method to post error code and subcode to diagnostic stream. More...
|
|
const CNcbiDiag & | Put (const Severity *, const Severity &severity) const |
| Helper method to set severity level. More...
|
|
template<class X > |
const CNcbiDiag & | Put (const CException *, const X &x) const |
| Helper method to post an exception to diagnostic stream. More...
|
|
template<class X > |
const CNcbiDiag & | Put (const exception *, const X &x) const |
|
const CNcbiDiag & | Put (const CStackTrace *, const CStackTrace &stacktrace) const |
| Helper method to post stack trace to diagnostic stream using standard stack trace formatting. More...
|
|
const CNcbiDiag & | Put (const NCBI_NS_NCBI::SetPostFlags *, const NCBI_NS_NCBI::SetPostFlags &flags) const |
| Helper method to set specific post flags. More...
|
|
const CNcbiDiag & | Put (const FManip, const FManip &manip) const |
| Helper method to handle various diagnostic stream manipulators. More...
|
|
const CNcbiDiag & | operator<< (FManip manip) const |
|
const CNcbiDiag & | operator<< (FIosbaseManip manip) const |
|
const CNcbiDiag & | operator<< (FIosManip manip) const |
|
template<class X > |
const CNcbiDiag & | operator<< (const X &x) const |
| Post the arguments. More...
|
|
const CNcbiDiag & | SetFile (const char *file) const |
| Set file name to post. More...
|
|
const CNcbiDiag & | SetModule (const char *module) const |
| Set module name. More...
|
|
const CNcbiDiag & | SetClass (const char *nclass) const |
| Set class name. More...
|
|
const CNcbiDiag & | SetFunction (const char *function) const |
| Set function name. More...
|
|
const CNcbiDiag & | SetLine (size_t line) const |
| Set line number for post. More...
|
|
const CNcbiDiag & | SetErrorCode (int code=0, int subcode=0) const |
| Set error code and subcode numbers. More...
|
|
EDiagSev | GetSeverity (void) const |
| Get severity of the current message. More...
|
|
const char * | GetFile (void) const |
| Get file used for the current message. More...
|
|
size_t | GetLine (void) const |
| Get line number for the current message. More...
|
|
int | GetErrorCode (void) const |
| Get error code of the current message. More...
|
|
int | GetErrorSubCode (void) const |
| Get error subcode of the current message. More...
|
|
const char * | GetModule (void) const |
| Get module name of the current message. More...
|
|
const char * | GetClass (void) const |
| Get class name of the current message. More...
|
|
const char * | GetFunction (void) const |
| Get function name of the current message. More...
|
|
bool | CheckFilters (const CException *ex=NULL) const |
| Check if filters are passed for the current message. More...
|
|
TDiagPostFlags | GetPostFlags (void) const |
| Get post flags for the current message. More...
|
|
void | SetAllPostFlags (TDiagPostFlags flags) const |
| Set new post flags for the current message. More...
|
|
TDiagPostFlags | SetPostFlags (TDiagPostFlags flags) const |
| Set specific post flags for the current message. More...
|
|
TDiagPostFlags | ResetPostFlags (TDiagPostFlags flags) const |
| Clear specific post flags for the current message. More...
|
|
void | ResetIsMessageFlag (void) const |
|
void | ResetIsNoteFlag (void) const |
| Reset IsNote flag. More...
|
|
void | ResetIsConsoleFlag (void) const |
| Reset IsConsole flag. More...
|
|
bool | GetOmitStackTrace (void) const |
|
void | SetOmitStackTrace (bool value) |
|
template<> |
const CNcbiDiag & | operator<< (const char *const &x) const |
|
CNcbiDiag –.
Define the main NCBI Diagnostic class.
Definition at line 923 of file ncbidiag.hpp.