Alexandria
2.19
Please provide a description of the project.
|
Go to the documentation of this file.
25 #ifndef GRIDCONTAINER_GRIDCELLMANAGERTRAITS_H
26 #define GRIDCONTAINER_GRIDCELLMANAGERTRAITS_H
32 namespace GridContainer {
49 template <
typename Gr
idCellManager>
53 typedef typename GridCellManager::data_type
data_type;
57 typedef typename GridCellManager::iterator
iterator;
76 static size_t size(
const GridCellManager& cell_manager);
113 template <
typename T>
std::vector< T >::iterator iterator
static size_t size(const std::vector< T > &vector)
Returns the size of the vector.
static std::unique_ptr< GridCellManager > factory(size_t size)
static iterator begin(GridCellManager &cell_manager)
static const bool enable_boost_serialize
static iterator end(GridCellManager &cell_manager)
static iterator begin(std::vector< T > &vector)
Returns an iterator at the first element of the vector.
GridCellManager::iterator iterator
static iterator end(std::vector< T > &vector)
Returns an iterator right after the last element of the vector.
T data_type
The type of the data kept by the GridCellManager.
Class used by the GridContainer to access the different CellManagers.
static size_t size(const GridCellManager &cell_manager)
static std::unique_ptr< std::vector< T > > factory(size_t size)
Returns a vector containing "size" default constructed elements.
GridCellManager::data_type data_type
The type of the data kept by the GridCellManager.