19 #ifndef GRIDCONTAINER_GRIDCELLMANAGERVECTOROFVECTORS_H
20 #define GRIDCONTAINER_GRIDCELLMANAGERVECTOROFVECTORS_H
28 namespace GridContainer {
115 return {iter, iter + m_cell_size};
133 template <
typename T>
199 template <
typename T>
207 return Euclid::make_unique<GridCellManagerVectorOfVectors<T>>(
size, nested_values);
221 #endif // GRIDCONTAINER_GRIDCELLMANAGERVECTOROFVECTORS_H
GridCellManagerVectorOfVectors< T >::StrideIterator iterator
const_iterator end() const
typename std::vector< T >::const_iterator const_iterator
Class used by the GridContainer to access the different CellManagers.
std::vector< T > m_values
static iterator begin(GridCellManagerVectorOfVectors< T > &c)
GridCellManagerVectorOfVectors(size_t size, int nested_values)
static size_t size(const GridCellManager &cell_manager)
typename std::vector< T >::iterator iterator
const_iterator begin() const
static std::unique_ptr< GridCellManagerVectorOfVectors< T > > factory(size_t size, size_t nested_values)
VectorValueProxy & operator=(const VectorValueProxy &other)
~GridCellManagerVectorOfVectors()=default
std::vector< T >::iterator m_i
size_t getTotalSize() const
std::vector< T >::iterator m_end
bool operator!=(const StrideIterator &other) const
VectorValueProxy< T > operator[](int i)
std::vector< T >::iterator m_begin
bool operator!=(const VectorValueProxy &other) const
T & operator[](const size_t i)
std::vector< double > data_type
StrideIterator(typename std::vector< T >::iterator start, int stride)
VectorValueProxy< T > pointer_type
VectorValueProxy * operator->() const
VectorValueProxy< T > operator*()
bool operator>(const StrideIterator &other) const
VectorValueProxy(typename std::vector< T >::iterator begin_, typename std::vector< T >::iterator end_)
VectorValueProxy< T > reference_type
static iterator end(GridCellManagerVectorOfVectors< T > &c)
ptrdiff_t operator-(const StrideIterator &other) const
StrideIterator & operator+=(int diff)
const T & operator[](const size_t i) const
StrideIterator & operator++()
size_t getCellSize() const
VectorValueProxy< T > operator->()
bool operator==(const VectorValueProxy &other) const