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

#include <Module_impl.hpp>

Inheritance diagram for Rice::Module_base:
Rice::Object Rice::Module_impl< Module_base, Module > Rice::Module Rice::Module_impl< Module, Class > Rice::Class Rice::Module_impl< Class, Data_Type_Base > Rice::Module_impl< Class, Struct > Rice::Data_Type_Base Rice::Struct Rice::Module_impl< Data_Type_Base, Data_Type< T > > Rice::Data_Type< T >

Public Member Functions

 Module_base (VALUE v=rb_cObject)
 Module_base (Module_base const &other)
Module_baseoperator= (Module_base const &other)
void swap (Module_base &other)
- Public Member Functions inherited from Rice::Object
 Object (VALUE value=Qnil)
 Encapsulate an existing ruby object.
 Object (Object const &other)
 Copy constructor.
virtual ~Object ()
bool test () const
 operator bool () const
bool is_nil () const
 Returns true if the object is nil, false otherwise.
 operator VALUE () const
 Implicit conversion to VALUE.
VALUE const volatile & value () const
 Explicitly get the encapsulated VALUE.
Class class_of () const
 Get the class of an object. More...
int compare (Object const &other) const
 Compare this object to another object. More...
String to_s () const
 Return a string representation of an object. More...
String inspect () const
 Inspect the object. More...
void freeze ()
 Freeze the object.
bool is_frozen () const
 Determine if the object is frozen. More...
void swap (Object &other)
 Swap with another Object.
Object instance_eval (String const &s)
 Evaluate the given string in the context of the object. More...
int rb_type () const
 Return the type of the underlying C object. More...
bool is_a (Object klass) const
 Determine whether the object is an instance of a class/module. More...
bool respond_to (Identifier id) const
 Determine if the objects responds to a method. More...
bool is_instance_of (Object klass) const
 Determine whether class is the object's class. More...
template<typename T >
void iv_set (Identifier name, T const &value)
 Set an instance variable. More...
Object iv_get (Identifier name) const
 Get the value of an instance variable. More...
Object attr_get (Identifier name) const
 Get the value of an instance variable, but don't warn if it is. More...
template<typename Retval_T >
Retval_T call (Identifier id, T1 arg1, T2 arg2,...) const
 Call the Ruby method specified by 'id' on object 'obj'. More...
Object call (Identifier id, T1 arg1, T2 arg2,...) const
 Version of call which defaults to Object return type.
Object vcall (Identifier id, Array args)
 Vectorized call. More...
void mark () const
 Mark the object with the garbage collector.

Protected Member Functions

template<typename Exception_T , typename Functor_T >
void add_handler (Functor_T functor)
Object handler () const
- Protected Member Functions inherited from Rice::Object
void set_value (VALUE v)
 Set the encapsulated value.

Detailed Description

Holds all member data of Module_impl so it only exists in one place in the hierarchy.

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