TrinityCore
TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE > Class Template Reference

#include <TypeContainer.h>

Public Member Functions

 TypeUnorderedMapContainer ()
 
 TypeUnorderedMapContainer (TypeUnorderedMapContainer const &)=default
 
 TypeUnorderedMapContainer (TypeUnorderedMapContainer &&) noexcept=default
 
TypeUnorderedMapContaineroperator= (TypeUnorderedMapContainer const &)=default
 
TypeUnorderedMapContaineroperator= (TypeUnorderedMapContainer &&) noexcept=default
 
 ~TypeUnorderedMapContainer ()
 
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)
 
template<class SPECIFIC_TYPE >
std::size_t Size () const
 
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > & GetElements ()
 
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > const & GetElements () const
 

Private Attributes

ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > _elements
 

Detailed Description

template<class OBJECT_TYPES, class KEY_TYPE>
class TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >

Definition at line 148 of file TypeContainer.h.

Constructor & Destructor Documentation

◆ TypeUnorderedMapContainer() [1/3]

template<class OBJECT_TYPES , class KEY_TYPE >
TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::TypeUnorderedMapContainer ( )
default

◆ TypeUnorderedMapContainer() [2/3]

template<class OBJECT_TYPES , class KEY_TYPE >
TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::TypeUnorderedMapContainer ( TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE > const &  )
default

◆ TypeUnorderedMapContainer() [3/3]

template<class OBJECT_TYPES , class KEY_TYPE >
TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::TypeUnorderedMapContainer ( TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE > &&  )
defaultnoexcept

◆ ~TypeUnorderedMapContainer()

template<class OBJECT_TYPES , class KEY_TYPE >
TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::~TypeUnorderedMapContainer ( )
default

Member Function Documentation

◆ Find()

template<class OBJECT_TYPES , class KEY_TYPE >
template<class SPECIFIC_TYPE >
SPECIFIC_TYPE * TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Find ( KEY_TYPE const &  handle)

Definition at line 199 of file TypeContainer.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetElements() [1/2]

template<class OBJECT_TYPES , class KEY_TYPE >
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > & TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::GetElements ( void  )

Definition at line 214 of file TypeContainer.h.

+ Here is the caller graph for this function:

◆ GetElements() [2/2]

template<class OBJECT_TYPES , class KEY_TYPE >
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > const & TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::GetElements ( void  ) const

Definition at line 220 of file TypeContainer.h.

◆ Insert()

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 
)

Definition at line 185 of file TypeContainer.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

template<class OBJECT_TYPES , class KEY_TYPE >
TypeUnorderedMapContainer & TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::operator= ( TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE > &&  )
defaultnoexcept

◆ operator=() [2/2]

template<class OBJECT_TYPES , class KEY_TYPE >
TypeUnorderedMapContainer & TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::operator= ( TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE > const &  )
default

◆ Remove()

template<class OBJECT_TYPES , class KEY_TYPE >
template<class SPECIFIC_TYPE >
bool TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Remove ( KEY_TYPE const &  handle)

Definition at line 192 of file TypeContainer.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Size()

template<class OBJECT_TYPES , class KEY_TYPE >
template<class SPECIFIC_TYPE >
std::size_t TypeUnorderedMapContainer< OBJECT_TYPES, KEY_TYPE >::Size

Definition at line 206 of file TypeContainer.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _elements

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

Definition at line 174 of file TypeContainer.h.


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