TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE > Class Template Reference

#include <TypeContainer.h>

Public Member Functions

template<class SPECIFIC_TYPE >
bool Insert (KEY_TYPE const &handle, SPECIFIC_TYPE *obj)
 
template<class SPECIFIC_TYPE >
bool Remove (KEY_TYPE const &handle)
 
template<class SPECIFIC_TYPE >
SPECIFIC_TYPE * Find (KEY_TYPE const &handle)
 
ContainerUnorderedMap
< OBJECT_TYPES, KEY_TYPE > & 
GetElements ()
 
ContainerUnorderedMap
< OBJECT_TYPES, KEY_TYPE >
const
GetElements () const
 

Private Attributes

ContainerUnorderedMap
< OBJECT_TYPES, KEY_TYPE > 
_elements
 

Member Function Documentation

template<class OBJECT_TYPES, class KEY_TYPE>
template<class SPECIFIC_TYPE >
SPECIFIC_TYPE* TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Find ( KEY_TYPE const handle)
inline
132  {
133  return Trinity::Find(_elements, handle, (SPECIFIC_TYPE*)NULL);
134  }
arena_t NULL
Definition: jemalloc_internal.h:624
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > _elements
Definition: TypeContainer.h:140
SPECIFIC_TYPE * Find(ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > const &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *)
Definition: TypeContainerFunctions.h:74

+ Here is the caller graph for this function:

template<class OBJECT_TYPES, class KEY_TYPE>
ContainerUnorderedMap<OBJECT_TYPES, KEY_TYPE>& TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::GetElements ( )
inline
136 { return _elements; }
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > _elements
Definition: TypeContainer.h:140

+ Here is the caller graph for this function:

template<class OBJECT_TYPES, class KEY_TYPE>
ContainerUnorderedMap<OBJECT_TYPES, KEY_TYPE> const& TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::GetElements ( ) const
inline
137 { return _elements; }
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > _elements
Definition: TypeContainer.h:140
template<class OBJECT_TYPES, class KEY_TYPE>
template<class SPECIFIC_TYPE >
bool TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Insert ( KEY_TYPE const handle,
SPECIFIC_TYPE *  obj 
)
inline
120  {
121  return Trinity::Insert(_elements, handle, obj);
122  }
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > _elements
Definition: TypeContainer.h:140
bool Insert(ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *obj)
Definition: TypeContainerFunctions.h:38

+ Here is the caller graph for this function:

template<class OBJECT_TYPES, class KEY_TYPE>
template<class SPECIFIC_TYPE >
bool TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Remove ( KEY_TYPE const handle)
inline
126  {
127  return Trinity::Remove(_elements, handle, (SPECIFIC_TYPE*)NULL);
128  }
bool Remove(ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *)
Definition: TypeContainerFunctions.h:104
arena_t NULL
Definition: jemalloc_internal.h:624
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > _elements
Definition: TypeContainer.h:140

+ Here is the caller graph for this function:

Member Data Documentation

template<class OBJECT_TYPES, class KEY_TYPE>
ContainerUnorderedMap<OBJECT_TYPES, KEY_TYPE> TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::_elements
private

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