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. |
The documentation for this struct was generated from the following file:
- /home/jross/checkouts/qpid/cpp/src/qpid/framing/Visitor.h