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

Object
[Ruby]


Functions

int rb_eql (VALUE, VALUE)
VALUE rb_any_to_s (VALUE)
VALUE rb_inspect (VALUE)
VALUE rb_obj_is_instance_of (VALUE, VALUE)
VALUE rb_obj_is_kind_of (VALUE, VALUE)
VALUE rb_obj_alloc (VALUE)
VALUE rb_obj_clone (VALUE)
VALUE rb_obj_dup (VALUE)
VALUE rb_obj_init_copy (VALUE, VALUE)
VALUE rb_obj_taint (VALUE)
VALUE rb_obj_tainted (VALUE)
VALUE rb_obj_untaint (VALUE)
VALUE rb_obj_freeze (VALUE)
VALUE rb_obj_id (VALUE)
VALUE rb_obj_class (VALUE)
VALUE rb_class_real (VALUE)
VALUE rb_convert_type (VALUE, int, const char *, const char *)
VALUE rb_check_convert_type (VALUE, int, const char *, const char *)
VALUE rb_to_int (VALUE)
VALUE rb_Integer (VALUE)
VALUE rb_Float (VALUE)
VALUE rb_String (VALUE)
VALUE rb_Array (VALUE)
double rb_cstr_to_dbl (const char *, int)
double rb_str_to_dbl (VALUE, int)


Function Documentation

VALUE rb_any_to_s VALUE   ) 
 

Definition at line 354 of file object.c.

References OBJ_TAINT, OBJ_TAINTED, rb_obj_classname(), rb_str_new(), RSTRING, snprintf(), and VALUE.

Referenced by Init_Object(), Init_Regexp(), name_err_mesg_to_str(), rb_io_inspect(), rb_mod_to_s(), and rb_obj_as_string().

VALUE rb_Array VALUE   ) 
 

Definition at line 2743 of file eval.c.

References CLASS_OF, ID, NIL_P, rb_ary_new3(), rb_check_array_type(), rb_eTypeError, rb_funcall(), rb_intern(), rb_mKernel, rb_raise(), RCLASS, search_method(), T_ARRAY, TYPE, and VALUE.

Referenced by rb_f_array(), and splat_value().

VALUE rb_check_convert_type VALUE  ,
int  ,
const char *  ,
const char * 
 

Definition at line 2154 of file object.c.

References convert_type(), NIL_P, Qfalse, Qnil, rb_eTypeError, rb_obj_classname(), rb_raise(), T_DATA, TYPE, and VALUE.

Referenced by block_pass(), rb_check_array_type(), rb_check_string_type(), rb_file_initialize(), rb_io_check_io(), rb_reg_s_union(), and rb_stat().

VALUE rb_class_real VALUE   ) 
 

Definition at line 157 of file object.c.

References FL_SINGLETON, FL_TEST, RCLASS, T_ICLASS, TYPE, and VALUE.

Referenced by class2path(), is_defined(), rb_call(), rb_class_name(), rb_define_class(), rb_define_class_under(), rb_eval(), rb_make_metaclass(), rb_obj_alloc(), rb_obj_class(), rb_obj_type(), w_class(), and w_uclass().

VALUE rb_convert_type VALUE  ,
int  ,
const char *  ,
const char * 
 

Definition at line 2137 of file object.c.

References convert_type(), Qtrue, rb_eTypeError, rb_obj_classname(), rb_raise(), TYPE, and VALUE.

Referenced by enum_zip(), rb_ary_to_ary(), rb_Float(), rb_io_get_io(), rb_str_to_str(), rb_String(), to_ary(), and to_hash().

double rb_cstr_to_dbl const char *  ,
int 
 

int rb_eql VALUE  ,
VALUE 
 

Definition at line 58 of file object.c.

References id_eql, rb_funcall(), RTEST, and VALUE.

Referenced by eql(), range_eql(), rb_ary_eql(), and rb_struct_eql().

VALUE rb_Float VALUE   ) 
 

Definition at line 2344 of file object.c.

References FIX2LONG, isnan(), Qtrue, rb_big2dbl(), rb_convert_type(), rb_eArgError, rb_eTypeError, rb_float_new(), rb_raise(), rb_str_to_dbl(), RFLOAT, T_BIGNUM, T_FIXNUM, T_FLOAT, T_NIL, T_STRING, TYPE, and VALUE.

Referenced by flo_coerce(), num_ceil(), num_coerce(), num_floor(), num_round(), num_truncate(), pack_pack(), rb_f_float(), rb_f_sprintf(), and rb_num2dbl().

VALUE rb_inspect VALUE   ) 
 

Definition at line 371 of file object.c.

References id_inspect, rb_funcall(), rb_obj_as_string(), and VALUE.

Referenced by check_autoload_table(), coerce_rescue(), env_inspect(), inspect_ary(), inspect_i(), inspect_struct(), method_inspect(), name_err_mesg_to_str(), range_inspect(), rb_cmperr(), rb_f_sprintf(), rb_mod_to_s(), rb_p(), rb_reg_s_union(), rb_stat_inspect(), and rb_to_id().

VALUE rb_Integer VALUE   ) 
 

Definition at line 2194 of file object.c.

References convert_type(), FIXNUM_MAX, FIXNUM_MIN, NIL_P, Qfalse, Qtrue, rb_dbl2big(), rb_str_to_inum(), rb_to_integer(), RFLOAT, T_BIGNUM, T_FIXNUM, T_FLOAT, T_STRING, TYPE, and VALUE.

Referenced by num_div(), rb_f_integer(), rb_f_rand(), and rb_f_sprintf().

VALUE rb_obj_alloc VALUE   ) 
 

Definition at line 1558 of file object.c.

References FL_SINGLETON, FL_TEST, ID_ALLOCATOR, rb_class_real(), rb_eTypeError, rb_funcall(), rb_obj_class(), rb_raise(), RCLASS, and VALUE.

Referenced by Init_Hash(), Init_IO(), Init_Object(), Init_Thread(), last_status_set(), r_object0(), rb_class_new_instance(), rb_io_s_for_fd(), rb_obj_clone(), rb_obj_dup(), and rb_range_new().

VALUE rb_obj_class VALUE   ) 
 

Definition at line 197 of file object.c.

References CLASS_OF, rb_class_real(), and VALUE.

Referenced by Init_Object(), inspect_struct(), match_init_copy(), proc_clone(), proc_dup(), proc_invoke(), range_eq(), range_eql(), rb_ary_subseq(), rb_ary_times(), rb_ary_to_a(), rb_class_path(), rb_obj_alloc(), rb_obj_clone(), rb_obj_dup(), rb_obj_init_copy(), rb_obj_is_instance_of(), rb_reg_init_copy(), rb_stat_cmp(), rb_stat_init_copy(), rb_str_dup(), rb_str_new3(), rb_str_new4(), rb_str_new5(), rb_str_to_s(), rb_struct_eql(), rb_struct_equal(), rb_struct_hash(), rb_struct_init_copy(), rb_struct_initialize(), rb_struct_inspect(), rb_struct_members(), rb_struct_members_m(), str_gsub(), and syserr_initialize().

VALUE rb_obj_clone VALUE   ) 
 

Definition at line 256 of file object.c.

References FL_FINALIZE, FL_FREEZE, FL_TAINT, FL_TEST, init_copy(), rb_eTypeError, rb_obj_alloc(), rb_obj_class(), rb_obj_classname(), rb_raise(), rb_singleton_class_clone(), rb_special_const_p(), RBASIC, and VALUE.

Referenced by exc_exception(), Init_Object(), rb_eval_string_wrap(), and rb_load().

VALUE rb_obj_dup VALUE   ) 
 

Definition at line 292 of file object.c.

References init_copy(), rb_eTypeError, rb_obj_alloc(), rb_obj_class(), rb_obj_classname(), rb_raise(), rb_special_const_p(), and VALUE.

Referenced by Init_Object(), rb_hash_merge(), rb_hash_reject(), and rb_thread_join().

VALUE rb_obj_freeze VALUE   ) 
 

Definition at line 738 of file object.c.

References OBJ_FREEZE, OBJ_FROZEN, OBJ_TAINTED, rb_eSecurityError, rb_raise(), rb_safe_level, and VALUE.

Referenced by env_str_new(), Init_File(), Init_Object(), Init_version(), rb_ary_freeze(), rb_f_getenv(), rb_hash_freeze(), rb_mod_freeze(), and rb_str_freeze().

VALUE rb_obj_id VALUE   ) 
 

Definition at line 132 of file object.c.

References FIXNUM_FLAG, LONG2NUM, SPECIAL_CONST_P, and VALUE.

Referenced by flatten(), Init_Object(), rb_inspecting_p(), rb_obj_id_obsolete(), rb_protect_inspect(), and run_final().

VALUE rb_obj_init_copy VALUE  ,
VALUE 
 

Definition at line 308 of file object.c.

References rb_check_frozen(), rb_eTypeError, rb_obj_class(), rb_raise(), TYPE, and VALUE.

Referenced by Init_Object(), and rb_mod_init_copy().

VALUE rb_obj_is_instance_of VALUE  ,
VALUE 
 

Definition at line 469 of file object.c.

References Qfalse, Qtrue, rb_eTypeError, rb_obj_class(), rb_raise(), T_CLASS, T_ICLASS, T_MODULE, TYPE, and VALUE.

Referenced by Init_Object(), match_init_copy(), range_eq(), range_eql(), rb_reg_init_copy(), rb_stat_init_copy(), and rb_struct_init_copy().

VALUE rb_obj_is_kind_of VALUE  ,
VALUE 
 

Definition at line 513 of file object.c.

References CLASS_OF, Qfalse, Qtrue, rb_eTypeError, rb_raise(), RCLASS, T_CLASS, T_ICLASS, T_MODULE, TYPE, and VALUE.

Referenced by errinfo_setter(), error_handle(), handle_rescue(), Init_Object(), is_defined(), os_obj_of(), range_step(), rb_call(), rb_longjmp(), rb_make_exception(), rb_mod_eqq(), rb_range_beg_len(), rb_rescue2(), rb_stat_cmp(), rb_thread_start_0(), rb_thread_switch(), rb_to_integer(), ruby_cleanup(), syserr_eqq(), and umethod_bind().

VALUE rb_obj_taint VALUE   ) 
 

Definition at line 675 of file object.c.

References OBJ_FROZEN, OBJ_TAINT, OBJ_TAINTED, rb_error_frozen(), rb_secure(), and VALUE.

Referenced by Init_Object().

VALUE rb_obj_tainted VALUE   ) 
 

Definition at line 657 of file object.c.

References OBJ_TAINTED, Qfalse, Qtrue, and VALUE.

Referenced by Init_Object().

VALUE rb_obj_untaint VALUE   ) 
 

Definition at line 697 of file object.c.

References FL_TAINT, FL_UNSET, OBJ_FROZEN, OBJ_TAINTED, rb_error_frozen(), rb_secure(), and VALUE.

Referenced by Init_Object().

double rb_str_to_dbl VALUE  ,
int 
 

Definition at line 2318 of file object.c.

References ALLOCA_N, MEMCPY, rb_cstr_to_dbl(), rb_eArgError, rb_raise(), RSTRING, StringValue, and VALUE.

Referenced by rb_Float(), and rb_str_to_f().

VALUE rb_String VALUE   ) 
 

Definition at line 2431 of file object.c.

References rb_convert_type(), T_STRING, and VALUE.

Referenced by rb_f_string().

VALUE rb_to_int VALUE   ) 
 

Definition at line 2187 of file object.c.

References rb_to_integer(), and VALUE.

Referenced by num2i32(), pack_pack(), rand_init(), rb_big_and(), rb_big_or(), rb_big_xor(), rb_num2ll(), rb_num2long(), and rb_quad_pack().


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