Rice
3.0.0
|
#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. | |
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.
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.