Data Structures | Namespaces | Defines

/export/development/ViennaData/release/ViennaData-1.0.1/viennadata/config/key_dispatch.hpp File Reference

This file provides the default key dispatch method. More...

#include "viennadata/forwards.h"

Go to the source code of this file.

Data Structures

struct  key_dispatch< KeyType >
 A traits class that specifies whether data is accessed using full key dispatches (object and type), or using the key type only. More...

Namespaces

namespace  viennadata
namespace  viennadata::config

Defines

#define VIENNADATA_ENABLE_TYPE_BASED_KEY_DISPATCH(arg_CLASS)
 A convenience macro for enabling type-based key dispatch: arg_CLASS denotes the key type for which type-based dispatch should be enabled.

Detailed Description

This file provides the default key dispatch method.


Define Documentation

#define VIENNADATA_ENABLE_TYPE_BASED_KEY_DISPATCH (   arg_CLASS  ) 
Value:
namespace viennadata { namespace config { \
    template <> struct key_dispatch<arg_CLASS> { typedef type_key_dispatch_tag    tag; }; \
} }

A convenience macro for enabling type-based key dispatch: arg_CLASS denotes the key type for which type-based dispatch should be enabled.