AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
TypeContainerVisitor< VISITOR, TYPE_CONTAINER > Class Template Reference

#include "TypeContainerVisitor.h"

Public Member Functions

 TypeContainerVisitor (VISITOR &v)
 
void Visit (TYPE_CONTAINER &c)
 
void Visit (const TYPE_CONTAINER &c) const
 

Private Attributes

VISITOR & i_visitor
 

Detailed Description

template<class VISITOR, class TYPE_CONTAINER>
class TypeContainerVisitor< VISITOR, TYPE_CONTAINER >

Constructor & Destructor Documentation

◆ TypeContainerVisitor()

template<class VISITOR , class TYPE_CONTAINER >
TypeContainerVisitor< VISITOR, TYPE_CONTAINER >::TypeContainerVisitor ( VISITOR &  v)
inline
86: i_visitor(v) { }
VISITOR & i_visitor
Definition: TypeContainerVisitor.h:99

Member Function Documentation

◆ Visit() [1/2]

template<class VISITOR , class TYPE_CONTAINER >
void TypeContainerVisitor< VISITOR, TYPE_CONTAINER >::Visit ( const TYPE_CONTAINER &  c) const
inline
94 {
96 }
void VisitorHelper(VISITOR &v, TYPE_CONTAINER &c)
Definition: TypeContainerVisitor.h:33

References TypeContainerVisitor< VISITOR, TYPE_CONTAINER >::i_visitor, and VisitorHelper().

◆ Visit() [2/2]

template<class VISITOR , class TYPE_CONTAINER >
void TypeContainerVisitor< VISITOR, TYPE_CONTAINER >::Visit ( TYPE_CONTAINER &  c)
inline

Member Data Documentation

◆ i_visitor

template<class VISITOR , class TYPE_CONTAINER >
VISITOR& TypeContainerVisitor< VISITOR, TYPE_CONTAINER >::i_visitor
private