Alexandria 2.31.2
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::GridContainer::VectorValueProxy< T > Struct Template Reference

#include <GridCellManagerVectorOfVectors.h>

Public Types

using iterator = typename std::vector<T>::iterator
 
using const_iterator = typename std::vector<T>::const_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
std::size_t size () const
 
VectorValueProxyoperator-> () const
 
VectorValueProxyoperator= (const VectorValueProxy &other)
 
bool operator== (const VectorValueProxy &other) const
 
bool operator!= (const VectorValueProxy &other) const
 
 operator std::vector< T > () const
 
T & operator[] (const size_t i)
 
const T & operator[] (const size_t i) const
 

Private Member Functions

 VectorValueProxy (typename std::vector< T >::iterator begin_, typename std::vector< T >::iterator end_)
 

Private Attributes

std::vector< T >::iterator m_begin
 
std::vector< T >::iterator m_end
 

Friends

struct GridCellManagerVectorOfVectors< T >
 

Detailed Description

template<typename T>
struct Euclid::GridContainer::VectorValueProxy< T >

Definition at line 134 of file GridCellManagerVectorOfVectors.h.

Member Typedef Documentation

◆ const_iterator

template<typename T>
using Euclid::GridContainer::VectorValueProxy< T >::const_iterator = typename std::vector<T>::const_iterator

Definition at line 136 of file GridCellManagerVectorOfVectors.h.

◆ iterator

template<typename T>
using Euclid::GridContainer::VectorValueProxy< T >::iterator = typename std::vector<T>::iterator

Definition at line 135 of file GridCellManagerVectorOfVectors.h.

Constructor & Destructor Documentation

◆ VectorValueProxy()

template<typename T>
Euclid::GridContainer::VectorValueProxy< T >::VectorValueProxy ( typename std::vector< T >::iterator begin_,
typename std::vector< T >::iterator end_ )
inlineprivate

Definition at line 196 of file GridCellManagerVectorOfVectors.h.

References m_begin, and m_end.

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

Member Function Documentation

◆ begin() [1/2]

template<typename T>
iterator Euclid::GridContainer::VectorValueProxy< T >::begin ( )
inline

Definition at line 138 of file GridCellManagerVectorOfVectors.h.

References m_begin.

Referenced by operator std::vector< T >(), and operator=().

◆ begin() [2/2]

template<typename T>
const_iterator Euclid::GridContainer::VectorValueProxy< T >::begin ( ) const
inline

Definition at line 146 of file GridCellManagerVectorOfVectors.h.

References m_begin.

◆ cbegin()

template<typename T>
const_iterator Euclid::GridContainer::VectorValueProxy< T >::cbegin ( ) const
inline

Definition at line 154 of file GridCellManagerVectorOfVectors.h.

References m_begin.

◆ cend()

template<typename T>
const_iterator Euclid::GridContainer::VectorValueProxy< T >::cend ( ) const
inline

Definition at line 158 of file GridCellManagerVectorOfVectors.h.

References m_end.

◆ end() [1/2]

template<typename T>
iterator Euclid::GridContainer::VectorValueProxy< T >::end ( )
inline

Definition at line 142 of file GridCellManagerVectorOfVectors.h.

References m_end.

Referenced by operator std::vector< T >(), and operator=().

◆ end() [2/2]

template<typename T>
const_iterator Euclid::GridContainer::VectorValueProxy< T >::end ( ) const
inline

Definition at line 150 of file GridCellManagerVectorOfVectors.h.

References m_end.

◆ operator std::vector< T >()

template<typename T>
Euclid::GridContainer::VectorValueProxy< T >::operator std::vector< T > ( ) const
inline

Definition at line 183 of file GridCellManagerVectorOfVectors.h.

References begin(), and end().

Here is the call graph for this function:

◆ operator!=()

template<typename T>
bool Euclid::GridContainer::VectorValueProxy< T >::operator!= ( const VectorValueProxy< T > & other) const
inline

Definition at line 179 of file GridCellManagerVectorOfVectors.h.

References std::equal(), m_begin, m_end, size(), and VectorValueProxy().

Here is the call graph for this function:

◆ operator->()

template<typename T>
VectorValueProxy * Euclid::GridContainer::VectorValueProxy< T >::operator-> ( ) const
inline

Definition at line 166 of file GridCellManagerVectorOfVectors.h.

References VectorValueProxy().

Here is the call graph for this function:

◆ operator=()

template<typename T>
VectorValueProxy & Euclid::GridContainer::VectorValueProxy< T >::operator= ( const VectorValueProxy< T > & other)
inline

Definition at line 170 of file GridCellManagerVectorOfVectors.h.

References begin(), std::copy(), end(), and VectorValueProxy().

Here is the call graph for this function:

◆ operator==()

template<typename T>
bool Euclid::GridContainer::VectorValueProxy< T >::operator== ( const VectorValueProxy< T > & other) const
inline

Definition at line 175 of file GridCellManagerVectorOfVectors.h.

References std::equal(), m_begin, m_end, size(), and VectorValueProxy().

Here is the call graph for this function:

◆ operator[]() [1/2]

template<typename T>
T & Euclid::GridContainer::VectorValueProxy< T >::operator[] ( const size_t i)
inline

Definition at line 187 of file GridCellManagerVectorOfVectors.h.

References m_begin.

◆ operator[]() [2/2]

template<typename T>
const T & Euclid::GridContainer::VectorValueProxy< T >::operator[] ( const size_t i) const
inline

Definition at line 191 of file GridCellManagerVectorOfVectors.h.

References m_begin.

◆ size()

template<typename T>
std::size_t Euclid::GridContainer::VectorValueProxy< T >::size ( ) const
inline

Friends And Related Symbol Documentation

◆ GridCellManagerVectorOfVectors< T >

template<typename T>
friend struct GridCellManagerVectorOfVectors< T >
friend

Definition at line 199 of file GridCellManagerVectorOfVectors.h.

References m_begin, and m_end.

Member Data Documentation

◆ m_begin

◆ m_end


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