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

#include <ROMol.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = Edge
 
using pointer = Edge *
 
using reference = Edge &
 

Public Member Functions

 CXXBondIter (Graph *graph, Iterator pos)
 
reference operator* ()
 
CXXBondIteroperator++ ()
 
bool operator== (const CXXBondIter &it) const
 
bool operator!= (const CXXBondIter &it) const
 

Public Attributes

Graph * graph
 
Iterator pos
 
Bondcurrent
 

Detailed Description

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

Definition at line 162 of file ROMol.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 164 of file ROMol.h.

◆ iterator_category

template<class Graph , class Edge , class Iterator = typename Graph::edge_iterator>
using RDKit::CXXBondIterator< Graph, Edge, Iterator >::CXXBondIter::iterator_category = std::forward_iterator_tag

Definition at line 163 of file ROMol.h.

◆ pointer

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

Definition at line 166 of file ROMol.h.

◆ reference

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

Definition at line 167 of file ROMol.h.

◆ value_type

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

Definition at line 165 of file ROMol.h.

Constructor & Destructor Documentation

◆ CXXBondIter()

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

Definition at line 173 of file ROMol.h.

Member Function Documentation

◆ operator!=()

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

◆ operator*()

template<class Graph , class Edge , class Iterator = typename Graph::edge_iterator>
reference RDKit::CXXBondIterator< Graph, Edge, Iterator >::CXXBondIter::operator* ( )
inline

◆ operator++()

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

◆ operator==()

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

Member Data Documentation

◆ current

template<class Graph , class Edge , class Iterator = typename Graph::edge_iterator>
Bond* RDKit::CXXBondIterator< Graph, Edge, Iterator >::CXXBondIter::current

◆ graph

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

Definition at line 169 of file ROMol.h.

◆ pos


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