RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter Struct Reference

#include <ROMol.h>

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = Edge
 
using pointer = Edge *
 
using reference = Edge &
 
using const_reference = Edge const &
 

Public Member Functions

 CXXBondIter ()
 
 CXXBondIter (Graph *graph, Iterator pos)
 
const_reference operator* () const
 
CXXBondIteroperator++ ()
 
CXXBondIter operator++ (int)
 
CXXBondIteroperator-- ()
 
CXXBondIter operator-- (int)
 
bool operator== (const CXXBondIter &other) const
 
bool operator!= (const CXXBondIter &other) const
 

Public Attributes

Graph * graph = nullptr
 
Iterator pos
 
size_t osize {0}
 

Detailed Description

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
struct RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter

Definition at line 241 of file ROMol.h.

Member Typedef Documentation

◆ const_reference

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
using RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::const_reference = Edge const &

Definition at line 247 of file ROMol.h.

◆ difference_type

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
using RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::difference_type = std::ptrdiff_t

Definition at line 243 of file ROMol.h.

◆ iterator_category

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
using RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::iterator_category = std::bidirectional_iterator_tag

Definition at line 242 of file ROMol.h.

◆ pointer

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
using RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::pointer = Edge *

Definition at line 245 of file ROMol.h.

◆ reference

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
using RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::reference = Edge &

Definition at line 246 of file ROMol.h.

◆ value_type

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
using RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::value_type = Edge

Definition at line 244 of file ROMol.h.

Constructor & Destructor Documentation

◆ CXXBondIter() [1/2]

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::CXXBondIter ( )
inline

Definition at line 253 of file ROMol.h.

Referenced by operator!=(), operator++(), operator++(), operator--(), operator--(), and operator==().

◆ CXXBondIter() [2/2]

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::CXXBondIter ( Graph * graph,
Iterator pos )
inline

Definition at line 255 of file ROMol.h.

References graph, osize, and pos.

Member Function Documentation

◆ operator!=()

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
bool RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator!= ( const CXXBondIter & other) const
inline

Definition at line 291 of file ROMol.h.

References CXXBondIter().

◆ operator*()

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
const_reference RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator* ( ) const
inline

Definition at line 262 of file ROMol.h.

References graph, osize, and pos.

◆ operator++() [1/2]

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
CXXBondIter & RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator++ ( )
inline

Definition at line 270 of file ROMol.h.

References CXXBondIter(), and pos.

◆ operator++() [2/2]

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
CXXBondIter RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator++ ( int )
inline

Definition at line 274 of file ROMol.h.

References CXXBondIter().

◆ operator--() [1/2]

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
CXXBondIter & RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator-- ( )
inline

Definition at line 279 of file ROMol.h.

References CXXBondIter(), and pos.

◆ operator--() [2/2]

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
CXXBondIter RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator-- ( int )
inline

Definition at line 283 of file ROMol.h.

References CXXBondIter().

◆ operator==()

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
bool RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::operator== ( const CXXBondIter & other) const
inline

Definition at line 288 of file ROMol.h.

References CXXBondIter(), graph, and pos.

Member Data Documentation

◆ graph

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
Graph* RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::graph = nullptr

Definition at line 249 of file ROMol.h.

Referenced by CXXBondIter(), operator*(), and operator==().

◆ osize

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
size_t RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::osize {0}

Definition at line 251 of file ROMol.h.

Referenced by CXXBondIter(), and operator*().

◆ pos

template<class Graph, class Edge, class Iterator = typename Graph::edge_iterator, bool Checked = false>
Iterator RDKit::CXXBondIterator< Graph, Edge, Iterator, Checked >::CXXBondIter::pos

Definition at line 250 of file ROMol.h.

Referenced by CXXBondIter(), operator*(), operator++(), operator--(), and operator==().


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