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 boolselected =
false;
126 for(
size_tcol = 0; col <
m_Table->GetColsCount() && !selected; ++col) {
136num_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