Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <GridCellManagerVectorOfVectors.h>
Classes | |
struct | StrideIterator |
Public Member Functions | |
GridCellManagerVectorOfVectors (size_t size, int nested_values) | |
~GridCellManagerVectorOfVectors ()=default | |
GridCellManagerVectorOfVectors (const GridCellManagerVectorOfVectors &)=delete | |
GridCellManagerVectorOfVectors (GridCellManagerVectorOfVectors &&)=default | |
VectorValueProxy< T > | operator[] (int i) |
size_t | getCellSize () const |
size_t | getTotalSize () const |
Private Attributes | |
std::vector< T > | m_values |
int | m_cell_size |
Friends | |
struct | GridCellManagerTraits< GridCellManagerVectorOfVectors > |
It allocates a conceptual vector of vectors container as a single vector traversed in strides.
Definition at line 38 of file GridCellManagerVectorOfVectors.h.
|
inline |
Constructor
size | Number of cells |
nested_values | Number of values per cell |
Definition at line 88 of file GridCellManagerVectorOfVectors.h.
|
default |
Destructor
|
delete |
Non-copyable to avoid expensive copies by mistake
|
default |
Movable
|
inline |
Definition at line 118 of file GridCellManagerVectorOfVectors.h.
References Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::m_cell_size.
|
inline |
Definition at line 122 of file GridCellManagerVectorOfVectors.h.
References Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::m_values.
|
inline |
Access cell
i | Cell index |
Definition at line 113 of file GridCellManagerVectorOfVectors.h.
References Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::m_cell_size, and Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::m_values.
|
friend |
Definition at line 128 of file GridCellManagerVectorOfVectors.h.
|
private |
Definition at line 128 of file GridCellManagerVectorOfVectors.h.
Referenced by Euclid::GridContainer::GridCellManagerTraits< GridCellManagerVectorOfVectors< T > >::begin(), Euclid::GridContainer::GridCellManagerTraits< GridCellManagerVectorOfVectors< T > >::end(), Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::getCellSize(), and Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::operator[]().
|
private |
Definition at line 127 of file GridCellManagerVectorOfVectors.h.
Referenced by Euclid::GridContainer::GridCellManagerTraits< GridCellManagerVectorOfVectors< T > >::begin(), Euclid::GridContainer::GridCellManagerTraits< GridCellManagerVectorOfVectors< T > >::end(), Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::getTotalSize(), and Euclid::GridContainer::GridCellManagerVectorOfVectors< T >::operator[]().