RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter Struct Reference

#include <ROMol.h>

Public Types

using iterator_category = std::random_access_iterator_tag
using difference_type = std::ptrdiff_t
using value_type = Vertex
using pointer = Vertex *
using reference = Vertex &
using const_reference = Vertex const &

Public Member Functions

 CXXAtomIter ()
 CXXAtomIter (Graph *graph, Iterator pos)
const_reference operator* () const
const_reference operator[] (difference_type n) const
CXXAtomIteroperator++ ()
CXXAtomIter operator++ (int)
CXXAtomIteroperator-- ()
CXXAtomIter operator+ (difference_type n) const
CXXAtomIter operator- (difference_type n) const
CXXAtomIter operator-- (int)
CXXAtomIteroperator+= (difference_type n)
CXXAtomIteroperator-= (difference_type n)
difference_type operator- (const CXXAtomIter &other) const
bool operator== (const CXXAtomIter &other) const
bool operator!= (const CXXAtomIter &other) const
bool operator< (const CXXAtomIter &other) const
bool operator<= (const CXXAtomIter &other) const
bool operator> (const CXXAtomIter &other) const
bool operator>= (const CXXAtomIter &other) const

Public Attributes

Graph * graph = nullptr
Iterator pos

Friends

CXXAtomIter operator+ (difference_type n, const CXXAtomIter &it)

Detailed Description

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
struct RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter

Definition at line 121 of file ROMol.h.

Member Typedef Documentation

◆ const_reference

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
using RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::const_reference = Vertex const &

Definition at line 127 of file ROMol.h.

◆ difference_type

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
using RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::difference_type = std::ptrdiff_t

Definition at line 123 of file ROMol.h.

◆ iterator_category

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
using RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::iterator_category = std::random_access_iterator_tag

Definition at line 122 of file ROMol.h.

◆ pointer

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
using RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::pointer = Vertex *

Definition at line 125 of file ROMol.h.

◆ reference

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
using RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::reference = Vertex &

Definition at line 126 of file ROMol.h.

◆ value_type

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
using RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::value_type = Vertex

Definition at line 124 of file ROMol.h.

Constructor & Destructor Documentation

◆ CXXAtomIter() [1/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::CXXAtomIter ( )
inline

◆ CXXAtomIter() [2/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::CXXAtomIter ( Graph * graph,
Iterator pos )
inline

Definition at line 134 of file ROMol.h.

References graph, and pos.

Member Function Documentation

◆ operator!=()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
bool RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator!= ( const CXXAtomIter & other) const
inline

Definition at line 188 of file ROMol.h.

References CXXAtomIter().

◆ operator*()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
const_reference RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator* ( ) const
inline

Definition at line 138 of file ROMol.h.

References graph, and pos.

◆ operator+()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator+ ( difference_type n) const
inline

Definition at line 158 of file ROMol.h.

References CXXAtomIter(), graph, and pos.

◆ operator++() [1/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter & RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator++ ( )
inline

Definition at line 145 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator++() [2/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator++ ( int )
inline

Definition at line 149 of file ROMol.h.

References CXXAtomIter().

◆ operator+=()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter & RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator+= ( difference_type n)
inline

Definition at line 170 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator-() [1/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
difference_type RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator- ( const CXXAtomIter & other) const
inline

Definition at line 178 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator-() [2/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator- ( difference_type n) const
inline

Definition at line 161 of file ROMol.h.

References CXXAtomIter(), graph, and pos.

◆ operator--() [1/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter & RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator-- ( )
inline

Definition at line 154 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator--() [2/2]

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator-- ( int )
inline

Definition at line 165 of file ROMol.h.

References CXXAtomIter().

◆ operator-=()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter & RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator-= ( difference_type n)
inline

Definition at line 174 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator<()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
bool RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator< ( const CXXAtomIter & other) const
inline

Definition at line 191 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator<=()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
bool RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator<= ( const CXXAtomIter & other) const
inline

Definition at line 192 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator==()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
bool RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator== ( const CXXAtomIter & other) const
inline

Definition at line 185 of file ROMol.h.

References CXXAtomIter(), graph, and pos.

◆ operator>()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
bool RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator> ( const CXXAtomIter & other) const
inline

Definition at line 193 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator>=()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
bool RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator>= ( const CXXAtomIter & other) const
inline

Definition at line 194 of file ROMol.h.

References CXXAtomIter(), and pos.

◆ operator[]()

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
const_reference RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::operator[] ( difference_type n) const
inline

Definition at line 141 of file ROMol.h.

References graph, and pos.

◆ operator+

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
CXXAtomIter operator+ ( difference_type n,
const CXXAtomIter & it )
friend

Definition at line 181 of file ROMol.h.

References CXXAtomIter(), graph, and pos.

Member Data Documentation

◆ graph

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
Graph* RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::graph = nullptr

Definition at line 129 of file ROMol.h.

Referenced by CXXAtomIter(), operator*(), operator+(), operator+, operator-(), operator==(), and operator[]().

◆ pos

template<class Graph, class Vertex, class Iterator = typename Graph::vertex_iterator>
Iterator RDKit::CXXAtomIterator< Graph, Vertex, Iterator >::CXXAtomIter::pos

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