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/report__loader__errors_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/loaders/report_loader_errors.cpp Source File

38 #include <wx/txtstrm.h> 39 #include <wx/filename.h> 45

objects::ILineErrorListener* errCont,

46  const string

& exception,

const string

& error_msg,

const

wxString& objectName)

48  if

((!errCont || errCont->Count() == 0) && exception.empty() && error_msg.empty())

52

os <<

wxT

(

"<h5>"

) << objectName <<

wxT

(

" "

) <<

object

<<

wxT

(

"</h5>"

);

54  if

(errCont && errCont->Count() > 0) {

55  for

(

size_t i

= 0;

i

< errCont->Count(); ++

i

) {

57

os <<

wxT

(

"Line "

) << lerror.

Line

() <<

wxT

(

". "

) << wxString::FromUTF8(lerror.

Message

().c_str()) <<

wxT

(

"<br />"

);

61  if

(!exception.empty()) {

62

os <<

wxT

(

"<font color=\"red\">"

) << wxString::FromUTF8(exception.c_str()) <<

wxT

(

"</font><br />"

);

65  if

(!error_msg.empty()) {

66

os <<

wxT

(

"<font color=\"red\">"

) << wxString::FromUTF8(error_msg.c_str()) <<

wxT

(

"</font><br />"

);

73  if

(!html.IsEmpty()) {

84  const string

& exception,

const string

& error_msg,

const

wxString& objectName)

86  if

((!errCont || errCont->Count() == 0) && exception.empty() && error_msg.empty())

90

os <<

wxT

(

"<h5>"

) << objectName <<

wxT

(

" "

) <<

object

<<

wxT

(

"</h5>"

);

92  if

(errCont && errCont->Count() > 0) {

93  for

(

size_t i

= 0;

i

< errCont->Count(); ++

i

) {

99  if

(!exception.empty()) {

100

os <<

wxT

(

"<font color=\"red\">"

) << wxString::FromUTF8(exception.c_str()) <<

wxT

(

"</font><br />"

);

103  if

(!error_msg.empty()) {

104

os <<

wxT

(

"<font color=\"red\">"

) << wxString::FromUTF8(error_msg.c_str()) <<

wxT

(

"</font><br />"

);

111  if

(!html.IsEmpty()) {

void SetHTML(wxString value)

void SetWorkDir(const wxString &workDir)

bool Create(wxWindow *parent, wxWindowID id=10049, const wxString &caption=_("Job Results"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

wxStringOutputStream m_Strstrm

void x_UpdateHTMLResults(const wxString &object, objects::CObjtoolsListener *errCont, const string &exception="", const string &error_msg="", const wxString &objectName=wxT("File:"))

void x_ShowErrorsDlg(const wxString &title)

void x_ShowErrorsDlg(const wxString &title)

void x_UpdateHTMLResults(const wxString &object, objects::ILineErrorListener *errCont, const string &exception="", const string &error_msg="", const wxString &objectName=wxT("File:"))

wxStringOutputStream m_Strstrm

virtual string Message() const

virtual unsigned int Line(void) const =0

static const char * SeverityName(EDiagSev sev)

Get a common symbolic name for the severity levels.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

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