QueryState Class Reference

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

Detailed Description

Holds state used during query evaluation.

The usage of this class is documented here

Definition at line 50 of file query_state.hh.


Constructor & Destructor Documentation

~QueryState (  ) 
QueryState ( const impl::QueryImpl query,
const EntityHandle ref 
) [protected]
QueryState ( const impl::QueryImpl query,
const EntityView ref 
) [protected]
QueryState (  )  [protected]

Member Function Documentation

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  ) 

Friends And Related Function Documentation

friend class impl::QueryImpl [friend]

Definition at line 51 of file query_state.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1