Alexandria
2.16
Please provide a description of the project.
|
#include <GridCellManagerTraits.h>
Public Types | |
typedef T | data_type |
The type of the data kept by the GridCellManager. More... | |
typedef std::vector< T >::iterator | iterator |
Static Public Member Functions | |
static std::unique_ptr < std::vector< T > > | factory (size_t size) |
Returns a vector containing "size" default constructed elements. More... | |
static size_t | size (const std::vector< T > &vector) |
Returns the size of the vector. More... | |
static iterator | begin (std::vector< T > &vector) |
Returns an iterator at the first element of the vector. More... | |
static iterator | end (std::vector< T > &vector) |
Returns an iterator right after the last element of the vector. More... | |
Static Public Attributes | |
static const bool | enable_boost_serialize = true |
Enables boost serialization of Grids using vectors as GridCellManagers. More... | |
Specialization of the GridCellManagerTraits for vector CellManagers. It uses all the default operations but it changes the serialization flag to true to declare that vector GridCellManagers can be serialized. Note that the type T of the data managed has to also be serializable.
T | the type of the data kept by the vector |
Definition at line 115 of file GridCellManagerTraits.h.
typedef T Euclid::GridContainer::GridCellManagerTraits< std::vector< T > >::data_type |
The type of the data kept by the GridCellManager.
Definition at line 118 of file GridCellManagerTraits.h.
typedef std::vector<T>::iterator Euclid::GridContainer::GridCellManagerTraits< std::vector< T > >::iterator |
The iterator type which is used to iterate through the data kept in the cell manager
Definition at line 122 of file GridCellManagerTraits.h.
|
static |
Returns an iterator at the first element of the vector.
Definition at line 59 of file GridCellManagerTraits.icpp.
References Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::begin().
|
static |
Returns an iterator right after the last element of the vector.
Definition at line 64 of file GridCellManagerTraits.icpp.
References Euclid::GridContainer::GridCellManagerTraits< GridCellManager >::end().
|
static |
Returns a vector containing "size" default constructed elements.
Definition at line 49 of file GridCellManagerTraits.icpp.
|
static |
Returns the size of the vector.
Definition at line 54 of file GridCellManagerTraits.icpp.
References std::vector< T >::size().
|
static |
Enables boost serialization of Grids using vectors as GridCellManagers.
Definition at line 137 of file GridCellManagerTraits.h.