Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
TypeMapContainer< OBJECT_TYPES > Class Template Reference

#include <TypeContainer.h>

Collaboration diagram for TypeMapContainer< OBJECT_TYPES >:

Public Member Functions

template<class SPECIFIC_TYPE>
size_t Count () const
ContainerMapList< OBJECT_TYPES > & GetElements (void)
 Removes the object from the container, and returns the removed object.
const ContainerMapList< OBJECT_TYPES > & GetElements (void) const
template<class SPECIFIC_TYPE>
bool insert (SPECIFIC_TYPE *obj)
 inserts a specific object into the container

Private Attributes

ContainerMapList< OBJECT_TYPES > i_elements

Detailed Description

template<class OBJECT_TYPES>
class TypeMapContainer< OBJECT_TYPES >

Definition at line 85 of file TypeContainer.h.

Member Function Documentation

◆ Count()

template<class OBJECT_TYPES>
template<class SPECIFIC_TYPE>
size_t TypeMapContainer< OBJECT_TYPES >::Count ( ) const
inline

Definition at line 88 of file TypeContainer.h.

◆ GetElements() [1/2]

template<class OBJECT_TYPES>
ContainerMapList< OBJECT_TYPES > & TypeMapContainer< OBJECT_TYPES >::GetElements ( void )
inline

Removes the object from the container, and returns the removed object.

Definition at line 104 of file TypeContainer.h.

Referenced by VisitorHelper().

◆ GetElements() [2/2]

template<class OBJECT_TYPES>
const ContainerMapList< OBJECT_TYPES > & TypeMapContainer< OBJECT_TYPES >::GetElements ( void ) const
inline

Definition at line 105 of file TypeContainer.h.

◆ insert()

template<class OBJECT_TYPES>
template<class SPECIFIC_TYPE>
bool TypeMapContainer< OBJECT_TYPES >::insert ( SPECIFIC_TYPE * obj)
inline

inserts a specific object into the container

Definition at line 91 of file TypeContainer.h.

Member Data Documentation

◆ i_elements

template<class OBJECT_TYPES>
ContainerMapList<OBJECT_TYPES> TypeMapContainer< OBJECT_TYPES >::i_elements
private

Definition at line 108 of file TypeContainer.h.


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