RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::AtomIterator_< T1, T2 > Class Template Reference

A general random access iterator. More...

#include <AtomIterators.h>

Public Types

typedef AtomIterator_< Atom_, Mol_ > ThisType
 

Public Member Functions

 AtomIterator_ ()
 
 AtomIterator_ (Mol_ *mol)
 
 AtomIterator_ (Mol_ *mol, int pos)
 
 AtomIterator_ (const ThisType &other)
 
AtomIterator_operator= (const ThisType &other)
 
AtomIterator_operator+= (int val)
 
AtomIterator_operator-= (int val)
 
AtomIterator_ operator+ (int val) const
 
AtomIterator_ operator- (int val) const
 
int operator- (ThisType &other) const
 
Atom_ * operator* () const
 
Atom_ * operator[] (const int which) const
 
bool operator== (const ThisType &other) const
 
bool operator!= (const ThisType &other) const
 
bool operator< (const ThisType &other) const
 
bool operator<= (const ThisType &other) const
 
bool operator> (const ThisType &other) const
 
bool operator>= (const ThisType &other) const
 
ThisTypeoperator++ ()
 
ThisType operator++ (int)
 
ThisTypeoperator-- ()
 
ThisType operator-- (int)
 

Detailed Description

template<class T1, class T2>
class RDKit::AtomIterator_< T1, T2 >

A general random access iterator.

Definition at line 63 of file ROMol.h.

Member Typedef Documentation

◆ ThisType

template<class T1 , class T2 >
AtomIterator_<Atom_, Mol_> RDKit::AtomIterator_< T1, T2 >::ThisType

Definition at line 33 of file AtomIterators.h.

Constructor & Destructor Documentation

◆ AtomIterator_() [1/4]

template<class T1 , class T2 >
RDKit::AtomIterator_< T1, T2 >::AtomIterator_ ( )
inline

Definition at line 34 of file AtomIterators.h.

◆ AtomIterator_() [2/4]

template<class T1 , class T2 >
RDKit::AtomIterator_< T1, T2 >::AtomIterator_ ( Mol_ * mol)

◆ AtomIterator_() [3/4]

template<class T1 , class T2 >
RDKit::AtomIterator_< T1, T2 >::AtomIterator_ ( Mol_ * mol,
int pos )

◆ AtomIterator_() [4/4]

template<class T1 , class T2 >
RDKit::AtomIterator_< T1, T2 >::AtomIterator_ ( const ThisType & other)

Member Function Documentation

◆ operator!=()

template<class T1 , class T2 >
bool RDKit::AtomIterator_< T1, T2 >::operator!= ( const ThisType & other) const

◆ operator*()

template<class T1 , class T2 >
Atom_ * RDKit::AtomIterator_< T1, T2 >::operator* ( ) const

◆ operator+()

template<class T1 , class T2 >
AtomIterator_ RDKit::AtomIterator_< T1, T2 >::operator+ ( int val) const

◆ operator++() [1/2]

template<class T1 , class T2 >
ThisType & RDKit::AtomIterator_< T1, T2 >::operator++ ( )

◆ operator++() [2/2]

template<class T1 , class T2 >
ThisType RDKit::AtomIterator_< T1, T2 >::operator++ ( int )

◆ operator+=()

template<class T1 , class T2 >
AtomIterator_ & RDKit::AtomIterator_< T1, T2 >::operator+= ( int val)

◆ operator-() [1/2]

template<class T1 , class T2 >
AtomIterator_ RDKit::AtomIterator_< T1, T2 >::operator- ( int val) const

◆ operator-() [2/2]

template<class T1 , class T2 >
int RDKit::AtomIterator_< T1, T2 >::operator- ( ThisType & other) const

◆ operator--() [1/2]

template<class T1 , class T2 >
ThisType & RDKit::AtomIterator_< T1, T2 >::operator-- ( )

◆ operator--() [2/2]

template<class T1 , class T2 >
ThisType RDKit::AtomIterator_< T1, T2 >::operator-- ( int )

◆ operator-=()

template<class T1 , class T2 >
AtomIterator_ & RDKit::AtomIterator_< T1, T2 >::operator-= ( int val)

◆ operator<()

template<class T1 , class T2 >
bool RDKit::AtomIterator_< T1, T2 >::operator< ( const ThisType & other) const

◆ operator<=()

template<class T1 , class T2 >
bool RDKit::AtomIterator_< T1, T2 >::operator<= ( const ThisType & other) const

◆ operator=()

template<class T1 , class T2 >
AtomIterator_ & RDKit::AtomIterator_< T1, T2 >::operator= ( const ThisType & other)

◆ operator==()

template<class T1 , class T2 >
bool RDKit::AtomIterator_< T1, T2 >::operator== ( const ThisType & other) const

◆ operator>()

template<class T1 , class T2 >
bool RDKit::AtomIterator_< T1, T2 >::operator> ( const ThisType & other) const

◆ operator>=()

template<class T1 , class T2 >
bool RDKit::AtomIterator_< T1, T2 >::operator>= ( const ThisType & other) const

◆ operator[]()

template<class T1 , class T2 >
Atom_ * RDKit::AtomIterator_< T1, T2 >::operator[] ( const int which) const

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