CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem Struct Reference

#include <OtherHashMaps.h>

Public Types

typedef KeyItem value_type
 

Public Member Functions

 KeyItem (KeyItem *next1, K const &key1, ValueItem *val1)
 
const value_typeoperator() () const
 

Public Attributes

key
 
KeyItemnext
 
ValueItemvalue
 

Detailed Description

template<typename K, typename V, typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
struct cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem

Definition at line 76 of file OtherHashMaps.h.

Member Typedef Documentation

◆ value_type

template<typename K , typename V , typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
typedef KeyItem cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem::value_type

Definition at line 81 of file OtherHashMaps.h.

Constructor & Destructor Documentation

◆ KeyItem()

template<typename K , typename V , typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem::KeyItem ( KeyItem next1,
K const &  key1,
ValueItem val1 
)
inline

Definition at line 77 of file OtherHashMaps.h.

77 : key(key1), next(next1), value(val1) {}

Member Function Documentation

◆ operator()()

template<typename K , typename V , typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
const value_type& cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem::operator() ( ) const
inline

Definition at line 82 of file OtherHashMaps.h.

82 { return *this; }

Member Data Documentation

◆ key

template<typename K , typename V , typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
K cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem::key

◆ next

template<typename K , typename V , typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
KeyItem* cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem::next

◆ value

template<typename K , typename V , typename Hasher = std::hash<K>, typename Equals = std::equal_to<K>, typename Alloc = std::allocator<V>>
ValueItem* cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem::value
cmsutil::SimpleAllocHashMultiMap::KeyItem::next
KeyItem * next
Definition: OtherHashMaps.h:79
cmsutil::SimpleAllocHashMultiMap::KeyItem::value
ValueItem * value
Definition: OtherHashMaps.h:80
cmsutil::SimpleAllocHashMultiMap::KeyItem::key
K key
Definition: OtherHashMaps.h:78