qpid::framing::Visit< T, R > Struct Template Reference

visit() interface for type T (optional return type R, default void. More...

#include <Visitor.h>

List of all members.

Public Types

typedef R ReturnType
typedef T VisitType

Public Member Functions

virtual R visit (T &)=0


Detailed Description

template<class T, class R = void>
struct qpid::framing::Visit< T, R >

visit() interface for type T (optional return type R, default void.

) To create a visitor for a set of types T1, T2 ... do this: struct MyVisitor : public Visit<T1>, public Visit<T2> ... {};

Parameters:
T Type to visit, must be forward declared, need not be defined.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 10 11:09:09 2008 for Qpid by  doxygen 1.4.7