ViennaGrid - The Vienna Grid Library  2.1.0
Public Types
collection< typemap_ > Class Template Reference

A collection is a compile-time map which returns objects of (possibly distinct) type based on the provided key type. More...

#include <collection.hpp>

Public Types

typedef
detail::collection_layer
< typemap
base
typedef typemap_ typemap

Detailed Description

template<typename typemap_>
class viennagrid::collection< typemap_ >

A collection is a compile-time map which returns objects of (possibly distinct) type based on the provided key type.

For example, collection may return objects of type std::deque<VertexType>, std::deque<EdgeType>, or std::vector<TriangleType> based on the tag provided.


Member Typedef Documentation

typedef detail::collection_layer< typemap > base
typedef typemap_ typemap

The documentation for this class was generated from the following file: