10 #ifndef _RD_QUERYBOND_H 11 #define _RD_QUERYBOND_H 91 bool maintainOrder=
true);
bool QueryMatch(QueryBond const *what) const
returns true if our query details match those of QueryBond what
void setBondDir(BondDir bD)
sets the BondDir of this query:
QueryBond(const QueryBond &other)
BOND_EQUALS_QUERY * makeBondOrderEqualsQuery(Bond::BondType what)
returns a Query for matching bond orders
QueryBond & operator=(const QueryBond &other)
QUERYBOND_QUERY * getQuery() const
returns our current query
void expandQuery(QUERYBOND_QUERY *what, Queries::CompositeQueryType how=Queries::COMPOSITE_AND, bool maintainOrder=true)
expands our current query
QUERYBOND_QUERY * dp_query
Includes a bunch of functionality for handling Atom and Bond queries.
class for representing a bond
BondDir
the bond's direction (for chirality)
void setBondType(BondType bT)
sets the BondType of this query:
bool Match(const Bond::BOND_SPTR what) const
returns true if we match Bond what
boost::shared_ptr< Bond > BOND_SPTR
Pulls in all the query types.
QueryBond(const Bond &other)
initialize from a bond
virtual Bond * copy() const
returns a copy of this query, owned by the caller
Class for storing Bond queries.
Base class for all queries.
void setQuery(QUERYBOND_QUERY *what)
replaces our current query with the value passed in
BondType getBondType() const
returns our bondType
Queries::Query< int, Bond const *, true > QUERYBOND_QUERY