#include <base.h>
Public Member Functions | |
virtual void | set_constructor (Object &genfunc)=0 |
virtual void | add_genfunc (const std::string &name, Object &genfunc)=0 |
virtual void | add_class_genfunc (const std::string &name, Object &genfunc)=0 |
virtual void | add_setter (const std::string &name, Object &genfunc)=0 |
virtual void | add_getter (const std::string &name, Object &genfunc)=0 |
This interface is implemented by wrapped C++ class object.
|
Add a generic function to the class itself. The generic function implements a method that behave like a C++ static method, that is, it belongs to the class itself, not it's instances. The generic function should take no arguments.
|
|
Add a generic function to the instances of the class. The generic function may be called for instances of the class. It must take at least one argument, its type being of this class.
|
|
Add a getter function to the instances of the class.
|
|
Add a getter function to the instances of the class.
|
|
Set the class constructor.
|