OpenStructure
Public Member Functions | Protected Member Functions | Friends
QueryState Class Reference

#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 ( )

◆ QueryState() [1/3]

QueryState ( const impl::QueryImpl query,
const EntityHandle ref 
)
protected

◆ QueryState() [2/3]

QueryState ( const impl::QueryImpl query,
const EntityView ref 
)
protected

◆ QueryState() [3/3]

QueryState ( )
protected

Member Function Documentation

◆ EvalAtom()

boost::logic::tribool EvalAtom ( const impl::AtomImplPtr a)

Evaluate atom. Assumes that EvalAtom has been called.

◆ EvalChain()

boost::logic::tribool EvalChain ( const impl::ChainImplPtr c)

Evaluate chain.

◆ EvalResidue()

boost::logic::tribool EvalResidue ( const impl::ResidueImplPtr r)

Evaluate residue. Assumes that EvalChain has been called.

◆ EvalStack()

boost::logic::tribool EvalStack ( Prop::Level  level)
protected

Evaluate stack.

◆ GetBoundObject()

const LazilyBoundRef& GetBoundObject ( int  i) const
protected

◆ IsAtomSelected()

bool IsAtomSelected ( const AtomHandle atom)

◆ IsChainSelected()

bool IsChainSelected ( const ChainHandle chain)

◆ IsResidueSelected()

bool IsResidueSelected ( const ResidueHandle residue)

◆ Reset()

void Reset ( Prop::Level  level)

Friends And Related Function Documentation

◆ impl::QueryImpl

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: