Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Class
[Ruby]


Functions

VALUE rb_class_boot (VALUE)
VALUE rb_class_new (VALUE)
VALUE rb_mod_init_copy (VALUE, VALUE)
VALUE rb_class_init_copy (VALUE, VALUE)
VALUE rb_singleton_class_clone (VALUE)
void rb_singleton_class_attached (VALUE, VALUE)
VALUE rb_make_metaclass (VALUE, VALUE)
void rb_check_inheritable (VALUE)
VALUE rb_class_inherited (VALUE, VALUE)
VALUE rb_define_class_id (ID, VALUE)
VALUE rb_module_new (void)
VALUE rb_define_module_id (ID)
VALUE rb_mod_included_modules (VALUE)
VALUE rb_mod_include_p (VALUE, VALUE)
VALUE rb_mod_ancestors (VALUE)
VALUE rb_class_instance_methods (int, VALUE *, VALUE)
VALUE rb_class_public_instance_methods (int, VALUE *, VALUE)
VALUE rb_class_protected_instance_methods (int, VALUE *, VALUE)
VALUE rb_class_private_instance_methods (int, VALUE *, VALUE)
VALUE rb_obj_singleton_methods (int, VALUE *, VALUE)
void rb_define_method_id (VALUE, ID, VALUE(*(ANYARGS), int))
void rb_frozen_class_p (VALUE)
void rb_undef (VALUE, ID)
void rb_define_protected_method (VALUE, const char *, VALUE(*(ANYARGS), int))
void rb_define_private_method (VALUE, const char *, VALUE(*(ANYARGS), int))
void rb_define_singleton_method (VALUE, const char *, VALUE(*(ANYARGS), int))
VALUE rb_singleton_class (VALUE)


Function Documentation

void rb_check_inheritable VALUE   ) 
 

Definition at line 189 of file class.c.

References FL_SINGLETON, rb_eTypeError, rb_obj_classname(), rb_raise(), RBASIC, T_CLASS, TYPE, and VALUE.

Referenced by rb_class_initialize(), and rb_eval().

VALUE rb_class_boot VALUE   ) 
 

Definition at line 22 of file class.c.

References NEWOBJ, OBJ_INFECT, OBJSETUP, rb_cClass, st_init_numtable(), T_CLASS, and VALUE.

Referenced by boot_defclass(), rb_class_new(), rb_class_s_alloc(), and rb_make_metaclass().

VALUE rb_class_inherited VALUE  ,
VALUE 
 

Definition at line 202 of file class.c.

References rb_cObject, rb_funcall(), rb_intern(), and VALUE.

Referenced by make_struct(), rb_class_initialize(), rb_define_class(), rb_define_class_under(), and rb_eval().

VALUE rb_class_init_copy VALUE  ,
VALUE 
 

Definition at line 91 of file class.c.

References FL_SINGLETON, FL_TEST, rb_eTypeError, rb_mod_init_copy(), rb_raise(), RCLASS, and VALUE.

Referenced by Init_Object().

VALUE rb_class_instance_methods int  ,
VALUE ,
VALUE 
 

Definition at line 664 of file class.c.

References class_instance_method_list(), ins_methods_i(), and VALUE.

Referenced by Init_Object(), and rb_obj_methods().

VALUE rb_class_new VALUE   ) 
 

Definition at line 38 of file class.c.

References Check_Type, FL_SINGLETON, FL_TEST, rb_cClass, rb_class_boot(), rb_eTypeError, rb_raise(), T_CLASS, and VALUE.

Referenced by make_struct(), and rb_define_class_id().

VALUE rb_class_private_instance_methods int  ,
VALUE ,
VALUE 
 

Definition at line 708 of file class.c.

References class_instance_method_list(), ins_methods_priv_i(), and VALUE.

Referenced by Init_Object(), and rb_obj_private_methods().

VALUE rb_class_protected_instance_methods int  ,
VALUE ,
VALUE 
 

Definition at line 682 of file class.c.

References class_instance_method_list(), ins_methods_prot_i(), and VALUE.

Referenced by Init_Object(), and rb_obj_protected_methods().

VALUE rb_class_public_instance_methods int  ,
VALUE ,
VALUE 
 

Definition at line 726 of file class.c.

References class_instance_method_list(), ins_methods_pub_i(), and VALUE.

Referenced by Init_Object(), and rb_obj_public_methods().

VALUE rb_define_class_id ID  ,
VALUE 
 

Definition at line 175 of file class.c.

References ID, rb_class_new(), rb_cObject, rb_make_metaclass(), RBASIC, and VALUE.

Referenced by rb_define_class(), rb_define_class_under(), and rb_eval().

void rb_define_method_id VALUE  ,
ID  ,
VALUE(*(ANYARGS), int) 
 

Referenced by make_struct().

VALUE rb_define_module_id ID   ) 
 

Definition at line 287 of file class.c.

References ID, rb_module_new(), rb_name_class(), and VALUE.

Referenced by rb_define_module(), rb_define_module_under(), and rb_eval().

void rb_define_private_method VALUE  ,
const char *  ,
VALUE(*(ANYARGS), int) 
 

Referenced by Init_eval(), Init_Object(), and rb_define_module_function().

void rb_define_protected_method VALUE  ,
const char *  ,
VALUE(*(ANYARGS), int) 
 

void rb_define_singleton_method VALUE  ,
const char *  ,
VALUE(*(ANYARGS), int) 
 

Referenced by define_filetest_function(), Init_Array(), Init_eval(), Init_Exception(), Init_File(), Init_GC(), Init_Hash(), Init_IO(), Init_Numeric(), Init_Object(), Init_Precision(), Init_Proc(), Init_process(), Init_Regexp(), Init_Struct(), Init_Thread(), Init_Time(), make_struct(), prec_included(), and rb_define_module_function().

void rb_frozen_class_p VALUE   ) 
 

Definition at line 1937 of file eval.c.

References FL_SINGLETON, FL_TEST, OBJ_FROZEN, rb_error_frozen(), T_CLASS, T_ICLASS, T_MODULE, TYPE, and VALUE.

Referenced by rb_alias(), rb_eval(), rb_include_module(), and rb_undef().

VALUE rb_make_metaclass VALUE  ,
VALUE 
 

Definition at line 151 of file class.c.

References BUILTIN_TYPE, FL_SET, FL_SINGLETON, FL_TEST, rb_class_boot(), rb_class_real(), rb_singleton_class_attached(), RBASIC, RCLASS, T_CLASS, and VALUE.

Referenced by Init_Object(), make_struct(), rb_class_initialize(), rb_define_class_id(), and rb_singleton_class().

VALUE rb_mod_ancestors VALUE   ) 
 

Definition at line 504 of file class.c.

References BUILTIN_TYPE, FL_SINGLETON, FL_TEST, rb_ary_new(), rb_ary_push(), RBASIC, RCLASS, T_ICLASS, and VALUE.

Referenced by Init_Object().

VALUE rb_mod_include_p VALUE  ,
VALUE 
 

Definition at line 472 of file class.c.

References BUILTIN_TYPE, Check_Type, Qfalse, Qtrue, RBASIC, RCLASS, T_ICLASS, T_MODULE, and VALUE.

Referenced by Init_Object().

VALUE rb_mod_included_modules VALUE   ) 
 

Definition at line 438 of file class.c.

References BUILTIN_TYPE, rb_ary_new(), rb_ary_push(), RBASIC, RCLASS, T_ICLASS, and VALUE.

Referenced by Init_Object().

VALUE rb_mod_init_copy VALUE  ,
VALUE 
 

Definition at line 63 of file class.c.

References CLASS_OF, clone_method(), FL_SINGLETON, FL_TEST, ID, rb_intern(), rb_obj_init_copy(), rb_singleton_class_clone(), RBASIC, RCLASS, st_copy(), st_data_t, st_delete(), st_foreach(), st_init_numtable(), and VALUE.

Referenced by Init_Object(), and rb_class_init_copy().

VALUE rb_module_new void   ) 
 

Definition at line 273 of file class.c.

References NEWOBJ, OBJSETUP, rb_cModule, st_init_numtable(), T_MODULE, and VALUE.

Referenced by rb_define_module_id(), rb_eval_string_wrap(), rb_load(), and rb_module_s_alloc().

VALUE rb_obj_singleton_methods int  ,
VALUE ,
VALUE 
 

Definition at line 767 of file class.c.

References CLASS_OF, FL_SINGLETON, FL_TEST, ins_methods_i(), method_entry(), Qtrue, rb_ary_new(), rb_scan_args(), RCLASS, RTEST, st_data_t, st_foreach(), st_free_table(), st_init_numtable(), T_ICLASS, TYPE, and VALUE.

Referenced by Init_Object(), and rb_obj_methods().

VALUE rb_singleton_class VALUE   ) 
 

Definition at line 857 of file class.c.

References ALLOW_INTS, DEFER_INTS, FIXNUM_P, FL_SINGLETON, FL_TAINT, FL_TEST, FL_UNSET, OBJ_FREEZE, OBJ_FROZEN, OBJ_TAINT, OBJ_TAINTED, Qfalse, Qnil, Qtrue, rb_bug(), rb_cFalseClass, rb_cNilClass, rb_cTrueClass, rb_eTypeError, rb_iv_get(), rb_make_metaclass(), rb_raise(), rb_special_const_p(), RBASIC, SPECIAL_SINGLETON, SYMBOL_P, and VALUE.

Referenced by rb_define_singleton_method(), rb_eval(), rb_extend_object(), rb_mod_modfunc(), and rb_obj_instance_eval().

void rb_singleton_class_attached VALUE  ,
VALUE 
 

Definition at line 139 of file class.c.

References FL_SINGLETON, FL_TEST, rb_intern(), RCLASS, st_init_numtable(), st_insert(), and VALUE.

Referenced by rb_make_metaclass(), and rb_singleton_class_clone().

VALUE rb_singleton_class_clone VALUE   ) 
 

Definition at line 104 of file class.c.

References BUILTIN_TYPE, clone_method(), FL_SET, FL_SINGLETON, FL_TEST, NEWOBJ, OBJSETUP, rb_singleton_class_attached(), RBASIC, RCLASS, st_copy(), st_data_t, st_foreach(), st_init_numtable(), T_CLASS, and VALUE.

Referenced by rb_mod_init_copy(), and rb_obj_clone().

void rb_undef VALUE  ,
ID 
 

Definition at line 1959 of file eval.c.

References __id__, __send__, FL_SINGLETON, FL_TEST, ID, ID2SYM, init, NODE, NOEX_PUBLIC, OBJ_TAINTED, rb_add_method(), rb_class2name(), rb_cObject, rb_eSecurityError, rb_frozen_class_p(), rb_funcall(), rb_id2name(), rb_iv_get(), rb_name_error(), rb_raise(), rb_secure(), rb_warn(), ruby_cbase, ruby_safe_level, search_method(), singleton_undefined, T_CLASS, T_MODULE, TYPE, undefined, and VALUE.

Referenced by rb_eval(), and rb_mod_undef_method().


Generated on Wed Jan 18 23:32:12 2006 for Ruby by doxygen 1.3.5