RDKit
Open-source cheminformatics and machine learning.
RDKit::MatchingAtomIterator_< Atom_, Mol_ > Class Template Reference

Iterate over atoms matching a query function. This is bidirectional. More...

#include <AtomIterators.h>

Public Types

typedef MatchingAtomIterator_< Atom_, Mol_ > ThisType
 

Public Member Functions

 MatchingAtomIterator_ ()
 
 MatchingAtomIterator_ (Mol_ *mol, bool(*fn)(Atom_ *))
 
 MatchingAtomIterator_ (Mol_ *mol, int pos)
 
 ~MatchingAtomIterator_ ()
 
 MatchingAtomIterator_ (const ThisType &other)
 
MatchingAtomIterator_operator= (const ThisType &other)
 
bool operator== (const ThisType &other) const
 
bool operator!= (const ThisType &other) const
 
Atom_ * operator* () const
 
ThisTypeoperator++ ()
 
ThisType operator++ (int)
 
ThisTypeoperator-- ()
 
ThisType operator-- (int)
 

Detailed Description

template<class Atom_, class Mol_>
class RDKit::MatchingAtomIterator_< Atom_, Mol_ >

Iterate over atoms matching a query function. This is bidirectional.

Definition at line 174 of file AtomIterators.h.

Member Typedef Documentation

◆ ThisType

template<class Atom_ , class Mol_ >
typedef MatchingAtomIterator_<Atom_, Mol_> RDKit::MatchingAtomIterator_< Atom_, Mol_ >::ThisType

Definition at line 176 of file AtomIterators.h.

Constructor & Destructor Documentation

◆ MatchingAtomIterator_() [1/4]

template<class Atom_ , class Mol_ >
RDKit::MatchingAtomIterator_< Atom_, Mol_ >::MatchingAtomIterator_ ( )
inline

Definition at line 177 of file AtomIterators.h.

◆ MatchingAtomIterator_() [2/4]

template<class Atom_ , class Mol_ >
RDKit::MatchingAtomIterator_< Atom_, Mol_ >::MatchingAtomIterator_ ( Mol_ *  mol,
bool(*)(Atom_ *)  fn 
)

◆ MatchingAtomIterator_() [3/4]

template<class Atom_ , class Mol_ >
RDKit::MatchingAtomIterator_< Atom_, Mol_ >::MatchingAtomIterator_ ( Mol_ *  mol,
int  pos 
)

◆ ~MatchingAtomIterator_()

template<class Atom_ , class Mol_ >
RDKit::MatchingAtomIterator_< Atom_, Mol_ >::~MatchingAtomIterator_ ( )

◆ MatchingAtomIterator_() [4/4]

template<class Atom_ , class Mol_ >
RDKit::MatchingAtomIterator_< Atom_, Mol_ >::MatchingAtomIterator_ ( const ThisType other)

Member Function Documentation

◆ operator!=()

template<class Atom_ , class Mol_ >
bool RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator!= ( const ThisType other) const

◆ operator*()

template<class Atom_ , class Mol_ >
Atom_* RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator* ( ) const

◆ operator++() [1/2]

template<class Atom_ , class Mol_ >
ThisType& RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator++ ( )

◆ operator++() [2/2]

template<class Atom_ , class Mol_ >
ThisType RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator++ ( int  )

◆ operator--() [1/2]

template<class Atom_ , class Mol_ >
ThisType& RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator-- ( )

◆ operator--() [2/2]

template<class Atom_ , class Mol_ >
ThisType RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator-- ( int  )

◆ operator=()

template<class Atom_ , class Mol_ >
MatchingAtomIterator_& RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator= ( const ThisType other)

◆ operator==()

template<class Atom_ , class Mol_ >
bool RDKit::MatchingAtomIterator_< Atom_, Mol_ >::operator== ( const ThisType other) const

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