RDKit::RecursiveStructureQuery Class Reference

allows use of recursive structure queries (e.g. recursive SMARTS) More...

#include <QueryOps.h>

Inheritance diagram for RDKit::RecursiveStructureQuery:

Queries::SetQuery< MatchFuncArgType, DataFuncArgType, needsConversion > Queries::Query< MatchFuncArgType, DataFuncArgType, needsConversion >

List of all members.

Public Member Functions

 RecursiveStructureQuery ()
 RecursiveStructureQuery (ROMol const *query)
 initialize from an ROMol pointer
void setQueryMol (ROMol const *query)
 sets the molecule we'll use recursively
ROMol const * getQueryMol () const
 returns a pointer to our query molecule
Queries::Query< int, Atom
const *, true > * 
copy () const
 returns a copy of this query

Static Public Member Functions

static int getAtIdx (Atom const *at)
 returns the index of an atom


Detailed Description

allows use of recursive structure queries (e.g. recursive SMARTS)

Definition at line 244 of file QueryOps.h.


Constructor & Destructor Documentation

RDKit::RecursiveStructureQuery::RecursiveStructureQuery (  )  [inline]

RDKit::RecursiveStructureQuery::RecursiveStructureQuery ( ROMol const *  query  )  [inline]


Member Function Documentation

static int RDKit::RecursiveStructureQuery::getAtIdx ( Atom const *  at  )  [inline, static]

returns the index of an atom

Definition at line 261 of file QueryOps.h.

References RDKit::Atom::getIdx().

Referenced by RecursiveStructureQuery().

void RDKit::RecursiveStructureQuery::setQueryMol ( ROMol const *  query  )  [inline]

sets the molecule we'll use recursively

Notes

  • this takes over ownership of the pointer

Definition at line 268 of file QueryOps.h.

Referenced by RecursiveStructureQuery().

ROMol const* RDKit::RecursiveStructureQuery::getQueryMol (  )  const [inline]

returns a pointer to our query molecule

Definition at line 272 of file QueryOps.h.

Queries::Query<int,Atom const *,true>* RDKit::RecursiveStructureQuery::copy (  )  const [inline, virtual]


The documentation for this class was generated from the following file:

Generated on Tue Oct 7 06:10:13 2008 for RDCode by  doxygen 1.5.5