19 #ifndef TRINITY_TYPECONTAINERVISITOR_H
20 #define TRINITY_TYPECONTAINERVISITOR_H
35 template<
class VISITOR,
class TYPE_CONTAINER>
void VisitorHelper(VISITOR &v, TYPE_CONTAINER &c)
62 template<
class VISITOR,
class KEY_TYPE>
65 template<
class VISITOR,
class KEY_TYPE,
class T>
71 template<
class VISITOR,
class KEY_TYPE,
class H,
class T>
78 template<
class VISITOR,
class OBJECT_TYPES,
class KEY_TYPE>
84 template<
class VISITOR,
class TYPE_CONTAINER>
95 void Visit(
const TYPE_CONTAINER &c)
const
ContainerUnorderedMap< OBJECT_TYPES, KEY_TYPE > & GetElements()
Definition: TypeContainer.h:136
void Visit(TYPE_CONTAINER &c)
Definition: TypeContainerVisitor.h:90
Definition: TypeContainerVisitor.h:32
VISITOR & i_visitor
Definition: TypeContainerVisitor.h:101
Definition: TypeList.h:31
Definition: TypeContainer.h:115
Definition: TypeContainer.h:47
Definition: TypeContainer.h:86
ContainerMapList< OBJECT_TYPES > & GetElements(void)
Removes the object from the container, and returns the removed object.
Definition: TypeContainer.h:107
void VisitorHelper(VISITOR &v, TYPE_CONTAINER &c)
Definition: TypeContainerVisitor.h:35
Definition: TypeContainer.h:65
GridRefManager< OBJECT > _element
Definition: TypeContainer.h:43
TypeContainerVisitor(VISITOR &v)
Definition: TypeContainerVisitor.h:88
std::unordered_map< KEY_TYPE, OBJECT * > _element
Definition: TypeContainer.h:61
void Visit(const TYPE_CONTAINER &c) const
Definition: TypeContainerVisitor.h:95