OpenStructure
|
#include <query_impl.hh>
Public Member Functions | |
QueryImpl (const String &query_string="") | |
QueryImpl (Node *ast) | |
bool | IsValid () const |
bool | IsEmpty () const |
const String & | GetQueryString () const |
const QueryErrorDesc & | GetErrorDescription () const |
mol::QueryState | CreateQueryState (const EntityHandle &h) const |
mol::QueryState | CreateQueryState (const EntityView &v) const |
Protected Attributes | |
std::vector< SelStmt > | sel_values_ |
std::vector< SelStack > | sel_stacks_ |
std::vector< std::set< size_t > > | indices_ |
std::vector< bool > | inversion_stack_ |
std::vector< QueryImplP > | bracketed_expr_ |
Friends | |
class | mol::QueryState |
query statement implementation
Definition at line 164 of file query_impl.hh.
Construct new QueryImpl from AST tree. Used internally to build representation of bracketed sub expressions.
mol::QueryState CreateQueryState | ( | const EntityHandle & | h | ) | const |
mol::QueryState CreateQueryState | ( | const EntityView & | v | ) | const |
const QueryErrorDesc& GetErrorDescription | ( | ) | const |
const String& GetQueryString | ( | ) | const |
Retrieve query String.
bool IsEmpty | ( | ) | const |
Check if query was empty, ie matching all.
bool IsValid | ( | ) | const |
Find out if the query String is valid.
|
friend |
Definition at line 166 of file query_impl.hh.
|
protected |
Definition at line 278 of file query_impl.hh.
|
protected |
Definition at line 276 of file query_impl.hh.
|
protected |
Definition at line 277 of file query_impl.hh.
|
protected |
Definition at line 275 of file query_impl.hh.
|
protected |
Definition at line 274 of file query_impl.hh.