OpenStructure
|
#include <query_state.hh>
Public Member Functions | |
bool | IsAtomSelected (const AtomHandle &atom) |
bool | IsResidueSelected (const ResidueHandle &residue) |
bool | IsChainSelected (const ChainHandle &chain) |
boost::logic::tribool | EvalChain (const impl::ChainImplPtr &c) |
boost::logic::tribool | EvalResidue (const impl::ResidueImplPtr &r) |
boost::logic::tribool | EvalAtom (const impl::AtomImplPtr &a) |
void | Reset (Prop::Level level) |
~QueryState () |
Protected Member Functions | |
QueryState (const impl::QueryImpl &query, const EntityHandle &ref) | |
QueryState (const impl::QueryImpl &query, const EntityView &ref) | |
QueryState () | |
const LazilyBoundRef & | GetBoundObject (int i) const |
boost::logic::tribool | EvalStack (Prop::Level level) |
Friends | |
class | impl::QueryImpl |
Holds state used during query evaluation.
The usage of this class is documented here
Definition at line 47 of file query_state.hh.
~QueryState | ( | ) |
|
protected |
|
protected |
|
protected |
boost::logic::tribool EvalAtom | ( | const impl::AtomImplPtr & | a | ) |
Evaluate atom. Assumes that EvalAtom has been called.
boost::logic::tribool EvalChain | ( | const impl::ChainImplPtr & | c | ) |
Evaluate chain.
boost::logic::tribool EvalResidue | ( | const impl::ResidueImplPtr & | r | ) |
Evaluate residue. Assumes that EvalChain has been called.
|
protected |
Evaluate stack.
|
protected |
bool IsAtomSelected | ( | const AtomHandle & | atom | ) |
bool IsChainSelected | ( | const ChainHandle & | chain | ) |
bool IsResidueSelected | ( | const ResidueHandle & | residue | ) |
void Reset | ( | Prop::Level | level | ) |
|
friend |
Definition at line 48 of file query_state.hh.