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

NCBI C++ ToolKit: src/gui/widgets/feedback/feedback_wizard.cpp Source File

59 #include <wx/stattext.h> 60 #include <wx/textctrl.h> 61 #include <wx/checkbox.h> 62 #include <wx/msgdlg.h> 63 #include <wx/filename.h> 64 #include <wx/settings.h> 74

wxLaunchDefaultBrowser(

"https://nlmenterprise.co1.qualtrics.com/jfe/form/SV_5iL6W3r2A7vY52R?ncbi_app=GB"

);

79  LOG_POST

(

Info

<<

"FEEDBACK: Preparing feedback report..."

);

86  bool

opt_out_feedback =

87

reg.

GetBool

(

"GBENCH.Application.Feedback.OptOut"

,

false

);

88  if

(opt_out_feedback) {

95  if

(

nullptr

!= problem_description)

98  LOG_POST

(

Info

<<

"FEEDBACK START: Submitting feedback report..."

);

101  LOG_POST

(

Info

<<

"FEEDBACK END: Submitted feedback report"

);

104  LOG_POST

(

Info

<<

"FEEDBACK END: Canceled feedback report"

);

110  catch

(std::exception& e) {

133

: m_LineReader( &line_reader, ownership )

142  if

( bytes_read ) *bytes_read = 0;

148  m_Line

= *(*m_LineReader);

153  const char

* line_str =

m_Line

.c_str();

154  size_t

line_to_go = strlen( line_str ) -

m_LineRead

;

156  if

(

count

< line_to_go ){

158  if

( bytes_read ) *bytes_read =

count

;

163  if

( bytes_read ) *bytes_read = line_to_go;

222

line.find(

"_PROXY_USER"

) == string::npos

223

&& line.find(

"_PROXY_PASS"

) == string::npos

228  auto

eqix = line.find(

"="

);

229  if

( eqix == string::npos ){

238  const string

&

msg

,

const string

& email_addr,

240

vector<wxString>& attach_names,

247

req->SetVersion().Assign(

version

);

248

req->SetEmail_addr(email_addr);

249

req->EncodeDesc(

msg

);

251  if

( !app_log.empty() ){

252

unique_ptr<CNcbiIstream> app_log_istr(

255

req->EncodeApp_log( *app_log_istr );

258  if

( !sys_config.empty() ){

259

unique_ptr<CNcbiIstream> sys_config_istr(

262

req->EncodeSys_config( *sys_config_istr );

267  ITERATE

( vector<wxString>, attach_name_iter, attach_names ){

268  const

wxString& attach_name = *attach_name_iter;

270

wxFileName fname(attach_name);

271  const string basename

(fname.GetFullName().ToAscii());

274

fb_attach->SetFile_path(

basename

+

".txt"

);

276

unique_ptr<CNcbiIstream> attach_istr;

277  if

( fname.FileExists() ){

291  static const string str

(

"{empty}"

);

295

fb_attach->EncodeData( *attach_istr );

297

attachments.push_back( fb_attach );

301  if

( !attachments.empty() ){

302

req->SetAttachments() = attachments;

306

req->SetSubscribe( subscribe );

321

wxString applog_path;

326

vector<wxString> attach_names;

329  wxT

(

"<home>/gbench_user.ini, <std>/etc/gbench.ini"

)

331  if

( !config_path.empty() ){

332

attach_names.push_back( config_path );

378

ostr <<

"Report by: "

;

382 

ostr <<

"Report Description:"

<< endl;

383

ostr <<

string

(72,

'-'

) << endl;

384

ostr << (

m_Descr

.empty() ?

"No description provided."

:

m_Descr

) << endl;

385

ostr <<

string

(72,

'-'

) << endl;

389 

ostr <<

"Genome Workbench Version"

<< endl;

390

ostr <<

string

(72,

'-'

) << endl;

392  size_t

ver_major = 0;

393  size_t

ver_minor = 0;

394  size_t

ver_patch_level = 0;

397

ostr <<

"Major version: "

<< ver_major << endl;

398

ostr <<

"Minor version: "

<< ver_minor << endl;

399

ostr <<

"Patch level: "

<< ver_patch_level << endl;

400

ostr <<

"Build date: "

<< build_date.

AsString

() << endl;

407

ostr <<

"System Information:"

<< endl;

408

ostr <<

string

(72,

'-'

) << endl;

409

ostr <<

"System information withheld."

<< endl;

413

ostr <<

"Application log:"

<< endl;

414

ostr <<

string

(72,

'-'

) << endl;

420

ostr << line << endl;

424

ostr <<

"Application log withheld."

<< endl;

470 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

471

wxBitmap wizardBitmap(wxNullBitmap);

472

wxWizard::Create( parent,

id

,

_

(

"Quality Feedback Wizard"

), wizardBitmap, pos, wxDEFAULT_DIALOG_STYLE|wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|

wxCLOSE_BOX

);

480

title +=

wxT

(

" ("

) + wxString::FromUTF8(inst.c_str()) +

wxT

(

")"

);

521

itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple2);

524

itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple10);

527

itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple15);

530

itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple26);

533

itemWizard1->GetPageAreaSizer()->Add(itemWizardPageSimple31);

535

wxWizardPageSimple* lastPage =

NULL

;

537

wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple2);

538

lastPage = itemWizardPageSimple2;

540

wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple10);

541

lastPage = itemWizardPageSimple10;

543

wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple15);

544

lastPage = itemWizardPageSimple15;

546

wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple26);

547

lastPage = itemWizardPageSimple26;

549

wxWizardPageSimple::Chain(lastPage, itemWizardPageSimple31);

550

lastPage = itemWizardPageSimple31;

561

wxWindowList::compatibility_iterator node = GetChildren().GetFirst();

564

wxWizardPage* startPage = wxDynamicCast(node->GetData(), wxWizardPage);

565  if

(startPage)

return

RunWizard(startPage);

566

node = node->GetNext();

575

wxWindowList::compatibility_iterator node = GetChildren().GetFirst();

591

node = node->GetNext();

599

wxWindowList::compatibility_iterator node = GetChildren().GetFirst();

606

node = node->GetNext();

650

IMPLEMENT_DYNAMIC_CLASS(

WizardPage

, wxWizardPageSimple )

657

BEGIN_EVENT_TABLE(

WizardPage

, wxWizardPageSimple )

690 

wxBitmap wizardBitmap(wxNullBitmap);

691

wxWizardPageSimple::Create( parent,

NULL

,

NULL

, wizardBitmap );

695

GetSizer()->Fit(

this

);

733

wxBoxSizer* itemBoxSizer3 =

new

wxBoxSizer(wxVERTICAL);

734

itemWizardPageSimple2->SetSizer(itemBoxSizer3);

736

wxStaticText* itemStaticText4 =

new

wxStaticText( itemWizardPageSimple2, wxID_STATIC,

_

(

" Welcome to the Genome Workbench Feedback Wizard "

), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );

737

itemStaticText4->SetBackgroundColour(wxColour(128, 128, 128));

738

itemStaticText4->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));

739

itemBoxSizer3->Add(itemStaticText4, 0, wxGROW|wxALL, 5);

741

wxStaticText* itemStaticText5 =

new

wxStaticText( itemWizardPageSimple2, wxID_STATIC,

_

(

"The Genome Workbench Feedback wizard will guide you through the steps of submitting feedback to the Genome Workbench team. This process involves collecting some information about any specific issues you see with Genome Workbench, and providing a means of contacting you if you wish."

), wxDefaultPosition, wxDefaultSize, 0 );

742

itemStaticText5->Wrap(500);

743

itemBoxSizer3->Add(itemStaticText5, 0, wxALIGN_LEFT|wxALL, 5);

745

itemBoxSizer3->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

747

wxStaticText* itemStaticText7 =

new

wxStaticText( itemWizardPageSimple2, wxID_STATIC,

_

(

"At any time, you can click 'Cancel' to abandon this process."

), wxDefaultPosition, wxDefaultSize, 0 );

748

itemBoxSizer3->Add(itemStaticText7, 0, wxALIGN_LEFT|wxALL, 5);

750

itemBoxSizer3->Add(5, 5, 1, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

752

wxCheckBox* itemCheckBox9 =

new

wxCheckBox( itemWizardPageSimple2,

ID_CHECKBOX4

,

_

(

"Do not show this dialog in the future"

), wxDefaultPosition, wxDefaultSize, 0 );

753

itemCheckBox9->SetValue(

false

);

754

itemBoxSizer3->Add(itemCheckBox9, 0, wxALIGN_LEFT|wxALL, 5);

757

itemCheckBox9->SetValidator( wxGenericValidator(&

m_OptOut

) );

768

reg.

Set

(

"GBENCH.Application.Feedback.OptOut"

, event.IsChecked());

812

IMPLEMENT_DYNAMIC_CLASS(

WizardPage1

, wxWizardPageSimple )

819

BEGIN_EVENT_TABLE(

WizardPage1

, wxWizardPageSimple )

854 

wxBitmap wizardBitmap(wxNullBitmap);

855

wxWizardPageSimple::Create( parent,

NULL

,

NULL

, wizardBitmap );

859

GetSizer()->Fit(

this

);

897

wxBoxSizer* itemBoxSizer11 =

new

wxBoxSizer(wxVERTICAL);

898

itemWizardPageSimple10->SetSizer(itemBoxSizer11);

900

wxStaticText* itemStaticText12 =

new

wxStaticText( itemWizardPageSimple10, wxID_STATIC,

_

(

" Step 1: Privacy Policy"

), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );

901

itemStaticText12->SetBackgroundColour(wxColour(128, 128, 128));

902

itemStaticText12->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));

903

itemBoxSizer11->Add(itemStaticText12, 0, wxGROW|wxALL, 5);

905

wxTextCtrl* itemTextCtrl13 =

new

wxTextCtrl( itemWizardPageSimple10,

ID_TEXTCTRL1

,

_

(

"NCBI respects the privacy of the users of its services. The intention of the feedback service is to provide the users of NCBI's services with the highest quality support possible. Neither NCBI nor the Genome Workbench Team will share any information provided through this service with any other parties.\n\nMore information about the NLM's privacy policy can be found at https://www.nlm.nih.gov/privacy.html"

), wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_LEFT );

906

itemBoxSizer11->Add(itemTextCtrl13, 1, wxGROW|wxALL, 5);

908  m_AcceptPolicy

=

new

wxCheckBox( itemWizardPageSimple10,

ID_ACKNOWLEDGE

,

_

(

"I acknowledge the privacy policy"

), wxDefaultPosition, wxDefaultSize, 0 );

958  if

(event.IsChecked())

969

wxMessageBox(

wxT

(

"You have to acknowledge the privacy policy."

),

wxT

(

""

),

970

wxICON_WARNING | wxOK,

this

);

980

IMPLEMENT_DYNAMIC_CLASS(

WizardPage2

, wxWizardPageSimple )

987

BEGIN_EVENT_TABLE(

WizardPage2

, wxWizardPageSimple )

1024 

wxBitmap wizardBitmap(wxNullBitmap);

1025

wxWizardPageSimple::Create( parent,

NULL

,

NULL

, wizardBitmap );

1029

GetSizer()->Fit(

this

);

1055  m_ProblemDescr

=

wxT

(

"Well, that was embarrassing... \nPlease help us with your comments or instructions."

);

1069 static const char

*

kEMailRegEx

=

"^ *[A-Za-z0-9_\\.\\-]+@([A-Za-z0-9_\\.\\-]+\\.[A-Za-z]{2,4}|here) *$"

;

1077

wxBoxSizer* itemBoxSizer16 =

new

wxBoxSizer(wxVERTICAL);

1078

itemWizardPageSimple15->SetSizer(itemBoxSizer16);

1080

wxStaticText* itemStaticText17 =

new

wxStaticText( itemWizardPageSimple15, wxID_STATIC,

_

(

" Step 2: Problem Report"

), wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER );

1081

itemStaticText17->SetBackgroundColour(wxColour(128, 128, 128));

1082

itemStaticText17->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));

1083

itemBoxSizer16->Add(itemStaticText17, 0, wxGROW|wxALL, 5);

1085

wxBoxSizer* itemBoxSizer18 =

new

wxBoxSizer(wxHORIZONTAL);

1086

itemBoxSizer16->Add(itemBoxSizer18, 0, wxGROW|wxALL, 0);

1088

wxStaticText* itemStaticText19 =

new

wxStaticText( itemWizardPageSimple15, wxID_STATIC,

_

(

"E-Mail address (optional)"

), wxDefaultPosition, wxDefaultSize, 0 );

1089

itemBoxSizer18->Add(itemStaticText19, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

1091  m_EMailCtrl

=

new

wxTextCtrl( itemWizardPageSimple15,

ID_EMAILCTRL

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

1092

itemBoxSizer18->Add(

m_EMailCtrl

, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);

1098

wxStaticText* itemStaticText22 =

new

wxStaticText( itemWizardPageSimple15, wxID_STATIC,

_

(

"Problem description:"

), wxDefaultPosition, wxDefaultSize, 0 );

1099

itemBoxSizer16->Add(itemStaticText22, 0, wxALIGN_LEFT|wxALL, 5);

1101

wxTextCtrl* itemTextCtrl23 =

new

wxTextCtrl( itemWizardPageSimple15,

ID_DESCRCTRL

, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );

1102

itemBoxSizer16->Add(itemTextCtrl23, 1, wxGROW|wxALL, 5);

1104

wxCheckBox* itemCheckBox24 =

new

wxCheckBox( itemWizardPageSimple15,

ID_CHECK_SENDLOG

,

_

(

"Send the Genome Workbench application log with this report (recommended)"

), wxDefaultPosition, wxDefaultSize, 0 );

1105

itemCheckBox24->SetValue(

false

);

1106

itemBoxSizer16->Add(itemCheckBox24, 0, wxALIGN_LEFT|wxALL, 5);

1108  m_SubChbx

=

new

wxCheckBox( itemWizardPageSimple15,

ID_CHECK_SUBSCRIBE

,

_

(

"Subscribe to Genome Workbench announce mailing list"

), wxDefaultPosition, wxDefaultSize, 0 );

1110

itemBoxSizer16->Add(

m_SubChbx

, 0, wxALIGN_LEFT|wxALL, 5);

1114

itemTextCtrl23->SetValidator( wxTextValidator(wxFILTER_NONE, &

m_ProblemDescr

) );

1115

itemCheckBox24->SetValidator( wxGenericValidator(&

m_IncludeLog

) );

1133  if

(event.GetDirection()) {

1146  if

(event.IsChecked()) {

1176  return

wxNullBitmap;

1198

IMPLEMENT_DYNAMIC_CLASS(

WizardPage3

, wxWizardPageSimple )

1205

BEGIN_EVENT_TABLE(

WizardPage3

, wxWizardPageSimple )

1238 

wxBitmap wizardBitmap(wxNullBitmap);

1239

wxWizardPageSimple::Create( parent,

NULL

,

NULL

, wizardBitmap );

1243

GetSizer()->Fit(

this

);

1275

:

CGLCanvas

(parent, id, wxDefaultPosition, wxSize(4,4))

1291

wxBoxSizer* itemBoxSizer27 =

new

wxBoxSizer(wxVERTICAL);

1292

itemWizardPageSimple26->SetSizer(itemBoxSizer27);

1294

wxStaticText* itemStaticText28 =

new

wxStaticText( itemWizardPageSimple26, wxID_STATIC,

_

(

" Step 3: System Information"

), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );

1295

itemStaticText28->SetBackgroundColour(wxColour(128, 128, 128));

1296

itemStaticText28->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));

1297

itemBoxSizer27->Add(itemStaticText28, 0, wxGROW|wxALL, 5);

1299

wxCheckBox* itemCheckBox29 =

new

wxCheckBox( itemWizardPageSimple26,

ID_CHECKBOX3

,

_

(

"Include the following information about my computer"

), wxDefaultPosition, wxDefaultSize, 0 );

1300

itemCheckBox29->SetValue(

false

);

1301

itemBoxSizer27->Add(itemCheckBox29, 0, wxALIGN_LEFT|wxALL, 5);

1303

wxTextCtrl* itemTextCtrl30 =

new

wxTextCtrl( itemWizardPageSimple26,

ID_TEXTCTRL4

, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL );

1304

itemTextCtrl30->SetFont(wxFont(wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL,

false

,

wxT

(

""

)));

1305

itemBoxSizer27->Add(itemTextCtrl30, 1, wxGROW|wxALL, 5);

1309

itemTextCtrl30->SetValidator( wxTextValidator(wxFILTER_NONE, &

m_SysInfo

) );

1315  if

(

m_SysInfo

.empty() && event.IsShown()) {

1322

glWindow->Destroy();

1323

TransferDataToWindow();

1346  return

wxNullBitmap;

1368

IMPLEMENT_DYNAMIC_CLASS(

WizardPage4

, wxWizardPageSimple )

1375

BEGIN_EVENT_TABLE(

WizardPage4

, wxWizardPageSimple )

1408 

wxBitmap wizardBitmap(wxNullBitmap);

1409

wxWizardPageSimple::Create( parent,

NULL

,

NULL

, wizardBitmap );

1413

GetSizer()->Fit(

this

);

1450

wxBoxSizer* itemBoxSizer32 =

new

wxBoxSizer(wxVERTICAL);

1451

itemWizardPageSimple31->SetSizer(itemBoxSizer32);

1453

wxStaticText* itemStaticText33 =

new

wxStaticText( itemWizardPageSimple31, wxID_STATIC,

_

(

"Step 4: Review and Submit"

), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT|wxSUNKEN_BORDER );

1454

itemStaticText33->SetBackgroundColour(wxColour(128, 128, 128));

1455

itemStaticText33->SetFont(wxFont(14, wxNORMAL_FONT->GetFamily(), wxNORMAL_FONT->GetStyle(), wxNORMAL_FONT->GetWeight(), wxNORMAL_FONT->GetUnderlined(), wxNORMAL_FONT->GetFaceName()));

1456

itemBoxSizer32->Add(itemStaticText33, 0, wxGROW|wxALL, 5);

1458

wxStaticText* itemStaticText34 =

new

wxStaticText( itemWizardPageSimple31, wxID_STATIC,

_

(

"Thank you for completing the feedback process!"

), wxDefaultPosition, wxDefaultSize, 0 );

1459

itemBoxSizer32->Add(itemStaticText34, 0, wxALIGN_LEFT|wxALL, 5);

1461

wxStaticText* itemStaticText35 =

new

wxStaticText( itemWizardPageSimple31, wxID_STATIC,

_

(

"Clicking 'Finish' will send the following information to the Genome Workbench team:"

), wxDefaultPosition, wxDefaultSize, 0 );

1462

itemBoxSizer32->Add(itemStaticText35, 0, wxALIGN_LEFT|wxALL, 5);

1464

wxTextCtrl* itemTextCtrl36 =

new

wxTextCtrl( itemWizardPageSimple31,

ID_TEXTCTRL5

, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL );

1465

itemTextCtrl36->SetFont(wxFont(wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL,

false

,

wxT

(

""

)));

1466

itemBoxSizer32->Add(itemTextCtrl36, 1, wxGROW|wxALL, 5);

1477

wxTextCtrl* textCtrl = (wxTextCtrl*)FindWindow(

ID_TEXTCTRL5

);

1479

textCtrl->SetValue(wxString::FromUTF8(

str

.c_str()));

1500  return

wxNullBitmap;

User-defined methods of the data storage class.

User-defined methods of the data storage class.

User-defined methods of the data storage class.

EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1

static void DumpSystemInfo(CNcbiOstream &ostr)

Dump a text formatted report of the current system configuration.

class CFeedbackReport serves as a data model for all pages and coordinates the submission of a report

void SetDescr(const string &str)

void SetEmailAddr(const string &str)

void Format(CNcbiOstream &ostr) const

void SetSubscribe(bool b)

void SetSysInfo(const string &str)

void SetIncludeLog(bool b)

void CreateControls()

Creates the controls and sizers.

static bool ShowToolTips()

Should we show tooltips?

bool Run()

Runs the wizard.

bool Create(wxWindow *parent, wxWindowID id=ID_CFEEDBACKWIZARD, const wxPoint &pos=wxDefaultPosition)

Creation.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

~CFeedbackWizard()

Destructor.

CFeedbackReport GetReport() const

CFeedbackWizard()

Constructors.

void SetProblemDescription(const char *description)

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

void Init()

Initialises member variables.

CGlInfoWindow(wxWindow *parent, wxWindowID id)

static CGuiRegistry & GetInstance()

access the application-wide singleton

void Set(const string &key, int val)

set specific values

string GetString(const string &key, const string &default_val=kEmptyStr) const

bool GetBool(const string &key, bool default_val=false) const

CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:

Note about the "buf_size" parameter for streams in this API.

AutoPtr< ILineReader > m_LineReader

CReaderOfLines(ILineReader &line_reader, EOwnership ownership=eNoOwnership)

virtual ERW_Result Read(void *buf, size_t count, size_t *bytes_read=0)

Read as many as "count" bytes into a buffer pointed to by the "buf" argument.

virtual ~CReaderOfLines()

virtual ERW_Result PendingCount(size_t *count)

Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that a...

void SetName(const string &name)

Simple implementation of ILineReader for i(o)streams.

static wxString ResolvePath(const wxString &path, const wxString &rel_name)

Utility function to hide the platform specifics of locating our standard directories and files.

static wxString ResolvePathExisting(const wxString &path, const wxString &delim=wxT(","))

Utility function to hide the platform specifics of locating our standard directories.

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

CTranslatingLineReader(CNcbiIstream &is, EOwnership ownership=eNoOwnership)

virtual void x_TranslateLine()

This fills m_TranslatedLine.

~CTranslatingLineReader()

CStreamLineReader & operator++(void)

Make a line available.

CTempString operator*(void) const

Return the current line, minus its terminator.

Abstract base class for lightweight line-by-line reading.

A very basic data-read interface.

wxCheckBox * m_AcceptPolicy

void Init()

Initialises member variables.

void OnAcknowledgePolicy(wxCommandEvent &event)

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_ACKNOWLEDGE

void OnWizardpagePolicyChanging(wxWizardEvent &event)

wxEVT_WIZARD_PAGE_CHANGING event handler for ID_WIZARDPAGE2

void CreateControls()

Creates the controls and sizers.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

static bool ShowToolTips()

Should we show tooltips?

~WizardPage1()

Destructor.

bool Create(wxWizard *parent)

Creation.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

WizardPage1()

Constructors.

wxString GetEMail() const

void OnProblemPageChanging(wxWizardEvent &event)

wxEVT_WIZARD_PAGE_CHANGING event handler for ID_WIZARDPAGE3

bool GetSendAnonymously() const

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

void OnEmailCtrlTextUpdated(wxCommandEvent &event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_EMAILCTRL

bool Create(wxWizard *parent)

Creation.

bool GetIncludeLog() const

wxCheckBox * m_SendAnonymouslyCtrl

static bool ShowToolTips()

Should we show tooltips?

~WizardPage2()

Destructor.

void CreateControls()

Creates the controls and sizers.

void Init()

Initialises member variables.

void OnSendAnonymously(wxCommandEvent &event)

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX

wxString GetProblemDescr() const

WizardPage2()

Constructors.

void SetProblemDescr(wxString value)

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

bool GetSubscribe() const

void CreateControls()

Creates the controls and sizers.

static bool ShowToolTips()

Should we show tooltips?

WizardPage3()

Constructors.

wxString GetSysInfo() const

bool GetIncludeSysInfo() const

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

~WizardPage3()

Destructor.

void Init()

Initialises member variables.

bool Create(wxWizard *parent)

Creation.

void OnShow(wxShowEvent &event)

bool Create(wxWizard *parent)

Creation.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

void Init()

Initialises member variables.

void OnWizardpageSubmitChanged(wxWizardEvent &event)

wxEVT_WIZARD_PAGE_CHANGED event handler for ID_WIZARDPAGE5

static bool ShowToolTips()

Should we show tooltips?

void CreateControls()

Creates the controls and sizers.

~WizardPage4()

Destructor.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

WizardPage4()

Constructors.

static bool ShowToolTips()

Should we show tooltips?

bool Create(wxWizard *parent)

Creation.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

void CreateControls()

Creates the controls and sizers.

void Init()

Initialises member variables.

void OnOptOutClick(wxCommandEvent &event)

wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX4

~WizardPage()

Destructor.

WizardPage()

Constructors.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

Include a standard set of the NCBI C++ Toolkit most basic headers.

static const char * kEMailRegEx

static CRef< CGBenchFeedbackRequest > s_CreateFeedbackRequest(const string &msg, const string &email_addr, const CGBenchVersionInfo &version, vector< wxString > &attach_names, wxString &app_log, string &sys_config, bool subscribe)

static const char * kEMailExample

void ShowFeedbackDialog(bool opt_out, const char *problem_description)

single callable function that will show the feedback wizard, collect information, and file a report.

void ShowFeedbackURL()

Open the feedback URL, using the default browser.

#define SYMBOL_CFEEDBACKWIZARD_IDNAME

static const char * str(char *buf, int n)

User-defined methods of the data storage class.

void GetGBenchVersionInfo(size_t &ver_major, size_t &ver_minor, size_t &ver_patch_level, CTime &build_date)

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

@ eTakeOwnership

An object can take ownership of another.

@ eNoOwnership

No ownership is assumed.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

const string & GetMsg(void) const

Get message string.

virtual const char * what(void) const noexcept

Standard report (includes full backlog).

void Info(CExceptionArgs_Base &args)

CStreamLineReader & operator++(void)

Make a line available.

CTempString operator*(void) const

Return the current line, minus its terminator.

virtual bool AtEOF(void) const =0

Indicates (negatively) whether there is any more input.

NCBI_XOBJUTIL_EXPORT string GetTitle(const CBioseq_Handle &hnd, TGetTitleFlags flags=0)

uint64_t Uint8

8-byte (64-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

ERW_Result

Result codes for I/O operations.

CNcbiIstream & NcbiGetlineEOL(CNcbiIstream &is, string &str, string::size_type *count=NULL)

Read from "is" to "str" the next line (taking into account platform specifics of End-of-Line)

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

IO_PREFIX::ifstream CNcbiIfstream

Portable alias for ifstream.

@ eRW_Eof

End of data, should be considered permanent.

@ eRW_Success

Everything is okay, I/O completed.

static string TruncateSpaces(const string &str, ETrunc where=eTrunc_Both)

Truncate whitespace in a string.

string AsString(const CTimeFormat &format=kEmptyStr, TSeconds out_tz=eCurrentTimeZone) const

Transform time to string.

@ eCurrent

Use current time. See also CCurrentTime.

enum ENcbiOwnership EOwnership

Ownership relations between objects.

list< CRef< CGBenchFeedbackAttachment > > TAttachments

virtual void AskFeedback(const CGBenchFeedbackRequest &req, TReply *reply=0)

Lightweight interface for getting lines of data with minimal memory copying.

const string version

version string

Defines: CTimeFormat - storage class for time format.

Reader-writer based streams.

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

static void SetTitle(CRef< CSeq_entry > entry, string title)

wxString ToWxString(const string &s)

string ToStdString(const wxString &s)


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