Rice  3.0.0
Director.hpp
1 #ifndef Rice__Director__hpp_
2 #define Rice__Director__hpp_
3 
4 #include "Object.hpp"
5 
6 namespace Rice {
7 
13  class Director
14  {
15  public:
17  // proxy class can call methods on that object.
19 
20  virtual ~Director() { }
21 
23 
26  void raisePureVirtual() const;
27 
29  Object getSelf() const { return self_; }
30 
31  private:
32 
33  // Save the Ruby object related to the instance of this class
34  Object self_;
35 
36  };
37 }
38 
39 #endif // Rice__Director__hpp_
Definition: Director.hpp:14
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.
Object getSelf() const
Get the Ruby object linked to this C++ instance.
Definition: Director.hpp:29
The base class for all Objects.
Definition: Object_defn.hpp:25