BioDynaMo  v1.05.119-a4ff3934
Public Member Functions | Public Attributes | List of all members
bdm::InlineVector< T, N >::Iterator< TT, TIV > Struct Template Reference

#include <inline_vector.h>

Public Member Functions

 Iterator (uint16_t index, TIV *iv)
 
 Iterator (const Iterator &other)
 
TT & operator* () const
 
Iteratoroperator= (const Iterator &other)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
Iteratoroperator+= (const Iterator &rhs)
 
Iterator operator+ (const Iterator &rhs)
 
Iteratoroperator+= (uint16_t i)
 
Iterator operator+ (uint16_t i)
 
Iteratoroperator-= (const Iterator &rhs)
 
Iterator operator- (const Iterator &rhs)
 
Iteratoroperator-= (uint16_t i)
 
Iterator operator- (uint16_t i)
 

Public Attributes

uint16_t index_ = 0
 
TIV * vector_
 

Detailed Description

template<typename T, uint16_t N>
template<typename TT, typename TIV>
struct bdm::InlineVector< T, N >::Iterator< TT, TIV >

Definition at line 52 of file inline_vector.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
bdm::InlineVector< T, N >::Iterator< TT, TIV >::Iterator ( uint16_t  index,
TIV *  iv 
)
inline

Definition at line 56 of file inline_vector.h.

◆ Iterator() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
bdm::InlineVector< T, N >::Iterator< TT, TIV >::Iterator ( const Iterator< TT, TIV > &  other)
inline

Definition at line 57 of file inline_vector.h.

Member Function Documentation

◆ operator!=()

template<typename T , uint16_t N>
template<typename TT , typename TIV >
bool bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator!= ( const Iterator< TT, TIV > &  other) const
inline

Definition at line 77 of file inline_vector.h.

◆ operator*()

template<typename T , uint16_t N>
template<typename TT , typename TIV >
TT& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator* ( ) const
inline

Definition at line 60 of file inline_vector.h.

◆ operator+() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator+ ( const Iterator< TT, TIV > &  rhs)
inline

Definition at line 109 of file inline_vector.h.

◆ operator+() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator+ ( uint16_t  i)
inline

Definition at line 121 of file inline_vector.h.

◆ operator++() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator++ ( )
inline

Definition at line 81 of file inline_vector.h.

◆ operator++() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator++ ( int  )
inline

Definition at line 86 of file inline_vector.h.

◆ operator+=() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator+= ( const Iterator< TT, TIV > &  rhs)
inline

Definition at line 103 of file inline_vector.h.

◆ operator+=() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator+= ( uint16_t  i)
inline

Definition at line 116 of file inline_vector.h.

◆ operator-() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator- ( const Iterator< TT, TIV > &  rhs)
inline

Definition at line 133 of file inline_vector.h.

◆ operator-() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator- ( uint16_t  i)
inline

Definition at line 145 of file inline_vector.h.

◆ operator--() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator-- ( )
inline

Definition at line 92 of file inline_vector.h.

◆ operator--() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator-- ( int  )
inline

Definition at line 97 of file inline_vector.h.

◆ operator-=() [1/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator-= ( const Iterator< TT, TIV > &  rhs)
inline

Definition at line 127 of file inline_vector.h.

◆ operator-=() [2/2]

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator-= ( uint16_t  i)
inline

Definition at line 140 of file inline_vector.h.

◆ operator=()

template<typename T , uint16_t N>
template<typename TT , typename TIV >
Iterator& bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator= ( const Iterator< TT, TIV > &  other)
inline

Definition at line 62 of file inline_vector.h.

◆ operator==()

template<typename T , uint16_t N>
template<typename TT , typename TIV >
bool bdm::InlineVector< T, N >::Iterator< TT, TIV >::operator== ( const Iterator< TT, TIV > &  other) const
inline

Definition at line 70 of file inline_vector.h.

Member Data Documentation

◆ index_

template<typename T , uint16_t N>
template<typename TT , typename TIV >
uint16_t bdm::InlineVector< T, N >::Iterator< TT, TIV >::index_ = 0

Definition at line 53 of file inline_vector.h.

◆ vector_

template<typename T , uint16_t N>
template<typename TT , typename TIV >
TIV* bdm::InlineVector< T, N >::Iterator< TT, TIV >::vector_

Definition at line 54 of file inline_vector.h.


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