Rice  1.5.2
 All Classes Files Functions Variables Typedefs Friends Pages
Public Member Functions | List of all members
Rice::Director Class Reference

#include <Director.hpp>

Public Member Functions

 Director (Object self)
 Construct new Director. Needs the Ruby object so that the.
 
void raisePureVirtual () const
 Raise a ruby exception when a call comes through for a pure virtual method. More...
 
Object getSelf () const
 Get the Ruby object linked to this C++ instance.
 

Detailed Description

A Director works exactly as a SWIG director works (thus the name). You use this class to help build proxy classes so that polymorphism works from C++ into Ruby. See the main README for how this class works.

Member Function Documentation

void Rice::Director::raisePureVirtual ( ) const

Raise a ruby exception when a call comes through for a pure virtual method.

If a Ruby script calls 'super' on a method that's otherwise a pure virtual method, use this method to throw an exception in this case.


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