Cadabra
Computer algebra system for field theory problems
Public Types | Public Member Functions | Public Attributes | List of all members
cadabra::iter_indices::iterator Struct Reference

#include <IndexIterator.hh>

Public Types

using value_type = index_iterator
 
using difference_type = ptrdiff_t
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = value_type *
 
using const_pointer = const value_type *
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 iterator (index_iterator it)
 
bool operator== (const iterator &other)
 
bool operator!= (const iterator &other)
 
reference operator* ()
 
pointer operator-> ()
 
reference operator++ ()
 
value_type operator++ (int)
 

Public Attributes

index_iterator it
 

Member Typedef Documentation

◆ const_pointer

◆ const_reference

◆ difference_type

◆ iterator_category

using cadabra::iter_indices::iterator::iterator_category = std::input_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

cadabra::iter_indices::iterator::iterator ( index_iterator  it)
inline

Member Function Documentation

◆ operator!=()

bool cadabra::iter_indices::iterator::operator!= ( const iterator other)
inline

◆ operator*()

reference cadabra::iter_indices::iterator::operator* ( )
inline

◆ operator++() [1/2]

reference cadabra::iter_indices::iterator::operator++ ( )
inline

◆ operator++() [2/2]

value_type cadabra::iter_indices::iterator::operator++ ( int  )
inline

◆ operator->()

pointer cadabra::iter_indices::iterator::operator-> ( )
inline

◆ operator==()

bool cadabra::iter_indices::iterator::operator== ( const iterator other)
inline

Member Data Documentation

◆ it

index_iterator cadabra::iter_indices::iterator::it

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