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

visit() interface for type T (optional return type R, default is 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 is 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. This must be forward declared, and need not be defined.

Definition at line 38 of file Visitor.h.


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

Generated on Thu Oct 16 13:38:36 2008 for Qpid by  doxygen 1.5.6