A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ncbi__toolkit_8cpp_source.html below:

NCBI C++ ToolKit: src/corelib/ncbi_toolkit.cpp Source File

51

: CNcbiToolkit_LogMessage(

msg

)

73

CNcbiToolkit_LogMessage::operator

string

(

void

)

const 139

DisableArgDescriptions();

174

(INcbiToolkit_LogHandler* log_handler)

175

: m_LogHandler(log_handler)

198  const TXChar

*

const

* argv,

200

INcbiToolkit_LogHandler* log_handler =

NULL

);

204

unique_ptr<CNcbiApplication>

m_App

;

210  const TXChar

*

const

* argv,

211  const TXChar

*

const

* envp,

212

INcbiToolkit_LogHandler* log_handler)

219  m_App

->AppMain(argc, argv, envp,

244  const TXChar

*

const

* argv,

245  const TXChar

*

const

* envp,

246

INcbiToolkit_LogHandler* log_handler)

251  throw

runtime_error(

"NcbiToolkit should be initialized only once"

);

CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:

const SDiagMessage & GetNativeToolkitMessage(void) const

Get all of the message's data – as provided natively by the Toolkit.

int ErrSubCode(void) const

Get error subcode.

ESeverity Severity(void) const

Get message severity.

std::string File(void) const

Get file name in which message was originated.

const SDiagMessage & m_Msg

virtual ~CNcbiToolkit_LogMessage(void)

int ErrCode(void) const

Get error code.

CNcbiApplication *(* FNcbiApplicationFactory)(void)

Provide means of creating custom CNcbiApplication object – to use the latter instead of "dummy" NCBI ...

size_t Line(void) const

Get line number in which message was originated.

std::string Message(void) const

Get text part of the message.

ESeverity

Log message severity.

@ eCritical

Critical error message.

@ eWarning

Warning message.

@ eInfo

Informational message.

int m_ErrCode

Error code.

int m_ErrSubCode

Sub Error code.

const char * m_File

File name.

const char * m_Buffer

Not guaranteed to be '\0'-terminated!

size_t m_Line

Line number in file.

EDiagSev m_Severity

Severity level.

size_t m_BufferLen

Length of m_Buffer.

void SetDiagHandler(CDiagHandler *handler, bool can_delete=true)

Set the diagnostic handler using the specified diagnostic handler class.

@ eDS_Default

Try standard log file (app.name + ".log") in /log/, use stderr on failure.

@ eDS_User

Leave as was previously set (or not set) by user.

@ eDiag_Trace

Trace message.

@ eDiag_Info

Informational message.

@ eDiag_Error

Error message.

@ eDiag_Warning

Warning message.

@ eDiag_Fatal

Fatal error – guarantees exit(or abort)

@ eDiag_Critical

Critical error message.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines NCBI C++ diagnostic APIs, classes, and macros.

static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4