JniProxyVisitTable< Visitor > Class Template Reference

JniProxyVisitTable implements a template-driven dispatch table for binding proxy types to visit methods. More...

#include <JniProxy.h>

Inheritance diagram for JniProxyVisitTable< Visitor >:

JniProxyVisitTableBase

Classes

struct  VisitorMethodImpl
 Functor implementation binding a JniProxy subclass (instantiating ProxyImpl) to a Visitor::visit method. More...

Detailed Description

template<class Visitor>
class JniProxyVisitTable< Visitor >

JniProxyVisitTable implements a template-driven dispatch table for binding proxy types to visit methods.

The Visitor parameter is instantiated by code generation to be a class derived from JniProxyVisitor that declares virtual visit methods for all proxy types.

TODO: see if boost can provide some of this machinery, maybe generalizing to multiple parameters and a return type

Definition at line 312 of file JniProxy.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 22 04:00:33 2009 for Fennel by  doxygen 1.5.1