OpenStructure
|
#include <query.hh>
Public Member Functions | |
Query (const String &query_string="") | |
Query (const impl::QueryImplP &impl) | |
bool | IsAtomSelected (const AtomHandle &ah) const |
bool | IsChainSelected (const ChainHandle &chain) const |
bool | IsResidueSelected (const ResidueHandle &residue) const |
const String & | GetQueryString () const |
const QueryErrorDesc & | GetErrorDescription () const |
QueryState | CreateQueryState (const EntityView &view) const |
QueryState | CreateQueryState (const EntityHandle &view) const |
bool | IsValid () const |
bool | MatchAll () const |
impl::QueryImplP | Impl () |
const impl::QueryImplP & | Impl () const |
Query | ( | const impl::QueryImplP & | impl | ) |
internally used constructor
QueryState CreateQueryState | ( | const EntityHandle & | view | ) | const |
create new query state to be used for a given entity
QueryState CreateQueryState | ( | const EntityView & | view | ) | const |
create new query state to be used for a given entity
const QueryErrorDesc& GetErrorDescription | ( | ) | const |
const String& GetQueryString | ( | ) | const |
Get String.
impl::QueryImplP Impl | ( | ) |
const impl::QueryImplP& Impl | ( | ) | const |
bool IsAtomSelected | ( | const AtomHandle & | ah | ) | const |
whether atom fulfills the query
bool IsChainSelected | ( | const ChainHandle & | chain | ) | const |
whether chain fulfills the query
True is returned if at least one of the atoms of the chain is selected by the query
bool IsResidueSelected | ( | const ResidueHandle & | residue | ) | const |
whether residue fulfills the query
True is returned if at least one of the atoms of the residue is selected by the query
bool IsValid | ( | ) | const |
bool MatchAll | ( | ) | const |