Public Types | Static Public Member Functions

container_storage< KeyType, DataType, ObjectType, ObjectIdentificationTag, KeyDispatchTag, StorageTag > Struct Template Reference

Helper class for the deduction of the correct storage type. Default case. More...

#include <data_container.hpp>

Public Types

typedef
viennadata::config::object_identifier
< ObjectType >::id_type 
id_type
typedef std::map< id_type,
typename
container_key_value_pair
< KeyType, DataType,
KeyDispatchTag >::key_DataType > 
container_type

Static Public Member Functions

static void reserve (container_type &cont, long num)
 Reserves memory for up to 'num' objects.

Detailed Description

template<typename KeyType, typename DataType, typename ObjectType, typename ObjectIdentificationTag, typename KeyDispatchTag, typename StorageTag>
struct viennadata::traits::container_storage< KeyType, DataType, ObjectType, ObjectIdentificationTag, KeyDispatchTag, StorageTag >

Helper class for the deduction of the correct storage type. Default case.


Member Typedef Documentation

typedef std::map< id_type, typename container_key_value_pair< KeyType, DataType, KeyDispatchTag >::key_DataType > container_type

Member Function Documentation

static void reserve ( container_type cont,
long  num 
) [inline, static]

Reserves memory for up to 'num' objects.


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