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

NCBI C++ ToolKit: src/gui/objutils/td_query_data_source.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

47  return m_Table

->GetColumnLabel(col);

52  return m_Table

->GetColsCount();

123  for

(

size_t i

=0;

i

<

m_Table

->GetRowsCount(); ++

i

) {

125  bool

selected =

false

;

126  for

(

size_t

col = 0; col <

m_Table

->GetColsCount() && !selected; ++col) {

136

num_queried =

m_Table

->GetRowsCount();

EStringMatching

String matching algorithms.

bool MatchString(const CTempString &str)

Matches a string to a pattern, using the specified string matching algorithm.

virtual void ExecuteStringQuery(const string &query, size_t &num_selected, size_t &num_queried, CStringMatching::EStringMatching string_matching=CStringMatching::ePlainSearch, NStr::ECase use_case=NStr::eCase)

Execute a string-matching query on the underlying data.

CIRef< ITableData > m_Table

virtual void SetQueryResults(CMacroQueryExec *q)

Set selection results to be whatever elements are selected in 'q'.

virtual void ClearQueryResults()

Clear any current results from previous queries.

std::vector< size_t > m_QueryResults

virtual size_t GetColsCount() const

virtual CMacroQueryExec * GetQueryExec(bool casesensitive, CStringMatching::EStringMatching string_matching=CStringMatching::ePlainSearch)

Create an appropriate instance of a subclass of CQueryExec for that will be used to execute a query o...

virtual string GetColumnLabel(size_t col) const

get number and names of columns in data source

std::vector< size_t > GetTableSelected() const

void AddFunc(CQueryParseNode::EType func_type, CQueryFunctionBase *func)

Register function implementation.

@ eFloatConst

Floating point const.

@ eIntConst

Integer const.

@ eBoolConst

Boolean (TRUE or FALSE)

@ eString

String ("free text")

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

ECase

Which type of string comparison.

@ eNocase

Case insensitive compare.

@ eCase

Case sensitive compare.

Query parser execution implementations.

Query string parsing components.


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