Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

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 ~Visit ()
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.


Member Typedef Documentation

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

Definition at line 39 of file Visitor.h.

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

Definition at line 40 of file Visitor.h.


Constructor & Destructor Documentation

template<class T, class R = void>
virtual qpid::framing::Visit< T, R >::~Visit (  )  [inline, virtual]

Definition at line 42 of file Visitor.h.


Member Function Documentation

template<class T, class R = void>
virtual R qpid::framing::Visit< T, R >::visit ( T &   )  [pure virtual]


The documentation for this struct was generated from the following file:
Qpid C++ API Reference
Generated on Tue Dec 8 15:39:37 2009 for Qpid C++ Client API by doxygen 1.4.7