Holds state used during query evaluation. More...
#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 50 of file query_state.hh.
| ~QueryState | ( | ) |
| QueryState | ( | const impl::QueryImpl & | query, | |
| const EntityHandle & | ref | |||
| ) | [protected] |
| QueryState | ( | const impl::QueryImpl & | query, | |
| const EntityView & | ref | |||
| ) | [protected] |
| QueryState | ( | ) | [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.
| boost::logic::tribool EvalStack | ( | Prop::Level | level | ) | [protected] |
Evaluate stack.
| const LazilyBoundRef& GetBoundObject | ( | int | i | ) | const [protected] |
| bool IsAtomSelected | ( | const AtomHandle & | atom | ) |
| bool IsChainSelected | ( | const ChainHandle & | chain | ) |
| bool IsResidueSelected | ( | const ResidueHandle & | residue | ) |
| void Reset | ( | Prop::Level | level | ) |
friend class impl::QueryImpl [friend] |
Definition at line 51 of file query_state.hh.
1.6.1