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

NCBI C++ ToolKit: include/gui/widgets/data/query_parse_panel.hpp Source File

1 #ifndef GUI_WIDGETS_DATA___QUERY_PARSE_PANEL_HPP 2 #define GUI_WIDGETS_DATA___QUERY_PARSE_PANEL_HPP 49 #include <wx/choice.h> 50 #include <wx/stattext.h> 58 class

wxAnimationCtrl;

115  virtual void

Create(wxWindow* parent,

117  const

wxPoint& pos = wxDefaultPosition,

118  const

wxSize&

size

= wxDefaultSize);

124  void

CreateControls();

130  void

AddQueryText(

const string

& query_mod);

139  void

HideSelectAll(

void

);

147  string

GetLastQuery()

const

;

158  void

OnSearchctrlTextEnter(wxCommandEvent& evt);

159  void

OnQuerySel( wxCommandEvent& evt );

160  void

OnButtonNext( wxCommandEvent& evt );

161  void

OnButtonPrevious( wxCommandEvent& evt );

162  void

OnSearchctrlSearchButtonClick( wxCommandEvent& evt );

163  void

OnCtrlKillFocus(wxFocusEvent& evt);

164  void

OnSearchctrlSearchStop( wxCommandEvent& evt );

165  void

OnSearchHelp(wxCommandEvent& evt);

166  void

OnToggleSelectAll(wxCommandEvent & evt);

167  void

OnToggleHideUnselected(wxCommandEvent & evt);

168  void

OnContextMenu(wxContextMenuEvent&);

169  void

OnRecentQuery(wxCommandEvent& evt);

171  void

OnStringMatchTypeBtn(wxCommandEvent & evt);

172  void

OnStringMatchTypeSelected( wxCommandEvent& evt );

175  void

OnIdle(wxIdleEvent& event);

188

, m_QueryString(

""

)

189

, m_CaseSensitive(casesensitive)

190

, m_StringCompare(string_compare)

196

, m_QueryTime(0.0f) {}

199

macro::CMacroRep* mrep,

203

, m_QueryString(

""

)

204

, m_CaseSensitive(casesensitive)

205

, m_StringCompare(string_compare)

207

, m_QueryTree(

NULL

)

211

, m_QueryTime(0.0f) {}

217

: m_QueryString(

query

)

218

, m_CaseSensitive(casesensitive)

219

, m_StringCompare(string_compare)

221

, m_QueryTree(

NULL

)

225

, m_QueryTime(0.0f) {}

232  size_t

GetQueriedCount()

const

;

233  int

GetExceptionCount()

const

;

265  bool

x_IsValidQuery(

string query

,

267

vector<std::pair<size_t, size_t> >& fields);

271

macro::CMacroRep* macro_rep,

273  const string

&

query

);

275  void

x_ExecuteQuery(

int

search_dir);

277  void

x_CancelQueryInProgress();

304  const static int

m_MaxRecentQueries = 5;

307  const static int

m_MaxDefaultQueries = 10;

Job class used to run query on separate thread.

CStringMatching::EStringMatching m_StringCompare

CQueryJob(CMacroQueryExec *qexec, CQueryParseTree *qtree, bool casesensitive, CStringMatching::EStringMatching string_compare)

string m_QueryString

For simple string queries.

macro::CMacroRep * m_Macro

CQueryParseTree * m_QueryTree

Parsed query tree.

CMacroQueryExec * GetQueryExec()

CQueryJob(CMacroQueryExec *qexec, macro::CMacroRep *mrep, bool casesensitive, CStringMatching::EStringMatching string_compare)

size_t GetNumSelected() const

CQueryJob(const string &query, bool casesensitive, CStringMatching::EStringMatching string_compare, IQueryDataSource *ds)

CQueryJob & operator=(const CQueryJob &)

CRef< CMacroQueryExec > m_QExec

Query execution object.

bool m_PrevCaseSensitive

Value of case-sensitive button last time query was executed.

CIRef< CQueryJob > m_Job

Current tree-query job.

TNamedQueries GetDefaultQueries() const

Retrieve the current defualt queries for the data source.

wxChoice * m_StringSearch

wxCheckBox * m_pSelectAll

CStringMatching::EStringMatching m_StringCompare

How to compare strings in query - wildcards, exact match, etc.

vector< pair< string, string > > m_RecentQueries

Set of recent queries.

string m_PrevQuery

String of query last time query was executed.

CRichTextCtrl * m_pSearch

Widgets.

vector< pair< string, string > > TNamedQueries

string m_RegSection

Registry section for specific current data source (derived from columns)

IQueryWidget * m_QueryWidget

Interface to widget which will display query results.

std::string m_SearchString

current search string (as of previous update to m_pSearch)

string m_RegPath

Registry path for query panel.

CStringMatching::EStringMatching m_PrevStringCompare

Value of string-matching selection last time query was executed.

wxAnimationCtrl * m_Animation

std::vector< std::pair< size_t, size_t > > m_SearchStringFields

positions of dictionary fields in current search string

CIRef< IQueryDataSource > m_QueryDataSource

Interface to data source that is being queried.

vector< pair< string, string > > m_DefaultQueries

Set of default queries.

bool m_CaseSensitive

Current value for case-sensitive.

wxStaticText * m_SearchType

static bool m_IconsInitialized

Only need to load icons into art provider once per run.

job_future< void > m_Future

Query tree and associated utility methods.

CRichTextCtrl - a wrapper for wxRichTextCtrl that handles additional keyboard events (such as Clipboa...

EStringMatching

String matching algorithms.

Interface for testing cancellation request in a long lasting operation.

IRegSettings An interface for objects that save / restore settings using CGuiRegistry.

virtual void SaveSettings() const =0

virtual void LoadSettings()=0

virtual void SetRegistryPath(const string &path)=0

IServiceLocator - an abstract mechanism for locating services.

GUI command routing and handling framework.

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

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIWIDGETS_DATA_EXPORT

Defines to provide correct exporting from DLLs in Windows.

string Execute(const string &cmmd, const vector< string > &args, const string &data=kEmptyStr)

const struct ncbi::grid::netcache::search::fields::SIZE size


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