Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
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.

Member Function Documentation

◆ begin() [1/2]

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

◆ begin() [2/2]

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

◆ cbegin()

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

◆ cend()

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

◆ end() [1/2]

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

◆ end() [2/2]

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

◆ operator std::vector< T >()

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

◆ operator!=()

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

◆ operator->()

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

Definition at line 166 of file GridCellManagerVectorOfVectors.h.

◆ operator=()

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

◆ operator==()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ 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.

Member Data Documentation

◆ m_begin

template<typename T >
std::vector<T>::iterator Euclid::GridContainer::VectorValueProxy< T >::m_begin
private

◆ m_end

template<typename T >
std::vector<T>::iterator Euclid::GridContainer::VectorValueProxy< T >::m_end
private

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