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;
67 static std::unique_ptr<GridCellManager>
factory(
size_t size);
76 static size_t size(
const GridCellManager& cell_manager);
122 typedef typename std::vector<T>::iterator
iterator;
125 static std::unique_ptr<std::vector<T>>
factory(
size_t size);
128 static size_t size(
const std::vector<T>& vector);
std::vector< T >::iterator iterator
Class used by the GridContainer to access the different CellManagers.
static const bool enable_boost_serialize
T data_type
The type of the data kept by the GridCellManager.
static size_t size(const GridCellManager &cell_manager)
static std::unique_ptr< GridCellManager > factory(size_t size)
static iterator end(GridCellManager &cell_manager)
GridCellManager::iterator iterator
GridCellManager::data_type data_type
The type of the data kept by the GridCellManager.
static iterator begin(GridCellManager &cell_manager)