![]() |
TrinityCore
|
#include <TypeContainer.h>
Public Types | |
| template<typename ObjectType > | |
| using | ValueType = typename UnderlyingContainer< ObjectType >::ValueType |
Public Member Functions | |
| template<typename ObjectType > requires TypeExists<ObjectType> | |
| bool | Insert (ValueType< ObjectType > object) |
| template<typename ObjectType > requires TypeExists<ObjectType> | |
| bool | Remove (ValueType< ObjectType > object) |
| template<typename ObjectType > requires TypeExists<ObjectType> | |
| std::size_t | Size () const |
| template<typename ObjectType > requires TypeExists<ObjectType> && requires { typename UnderlyingContainer<ObjectType>::KeyType; } | |
| ValueType< ObjectType > | Find (typename UnderlyingContainer< ObjectType >::KeyType const &key) const |
Public Attributes | |
| TypeListContainerStorage< UnderlyingContainer, Types... > | Data |
Static Public Attributes | |
| template<typename ObjectType > | |
| static constexpr bool | TypeExists = Trinity::has_type_in_list_v<ObjectType, Types...> |
Definition at line 61 of file TypeContainer.h.
| using TypeListContainer< UnderlyingContainer, Types >::ValueType = typename UnderlyingContainer<ObjectType>::ValueType |
Definition at line 69 of file TypeContainer.h.
|
inline |
|
inline |
|
inline |
|
inline |
| TypeListContainerStorage<UnderlyingContainer, Types...> TypeListContainer< UnderlyingContainer, Types >::Data |
Definition at line 63 of file TypeContainer.h.
|
staticconstexpr |
Definition at line 66 of file TypeContainer.h.