ROOT  6.06/08
Reference Guide
Macros | Enumerations | Functions | Variables
drr.cxx File Reference
#include "RConfigOptions.h"
#include "TROOT.h"
#include "TClass.h"
#include "TApplication.h"
#include "TSystem.h"
#include "TRandom.h"
#include "TF2.h"
#include "TBenchmark.h"
#include "TVirtualPad.h"
#include "TStyle.h"
#include "CallFunc.h"
#include "Class.h"
#include "strlcpy.h"
#include "ruby.h"
#include "rrcommon.h"
#include "rrenums.h"
+ Include dependency graph for drr.cxx:

Go to the source code of this file.

Macros

#define RSTRING_PTR(s)   (RSTRING(s)->ptr)
 
#define RFLOAT_VALUE(v)   (RFLOAT(v)->value)
 
#define RARRAY_LEN(s)   (RARRAY(s)->len)
 
#define rb_frame_this_func   rb_frame_last_func
 

Enumerations

enum  Ektype {
  kint, kfloat, kchar, kunknown,
  kvoid, kintary, kfloatary, kstring,
  kroot, kbool
}
 

Functions

VALUE rr_ary_new (TList *l)
 
static VALUE rr_to_ary (VALUE self)
 
VALUE rr_arrayc_new (const TArrayC *a)
 
VALUE rr_arrays_new (const TArrayS *a)
 
VALUE rr_arrayi_new (const TArrayI *a)
 
VALUE rr_arrayl_new (const TArrayL *a)
 
VALUE rr_arrayf_new (const TArrayF *a)
 
VALUE rr_arrayd_new (const TArrayD *a)
 
VALUE rr_seqcollection_new (TSeqCollection *sc)
 
VALUE rr_bool (Bool_t q)
 
double rr_ctf1_fcn (double *x, double *par)
 
void rr_register_ctf1_fcn (char *name, ID id)
 
double rr_ctf2_fcn (double *x, double *par)
 
void rr_register_ctf2_fcn (char *name, ID id)
 
static VALUE rr_gsystem (void)
 
static VALUE rr_grandom (void)
 
static VALUE rr_gbenchmark (void)
 
static VALUE rr_gpad (void)
 
static VALUE rr_gstyle (void)
 
static VALUE rr_gdirectory (void)
 
static VALUE rr_groot (void)
 
static VALUE rr_gapplication (void)
 
static VALUE via (VALUE self, VALUE ameth, VALUE bmeth, VALUE parms)
 
TObjectdrr_grab_object (VALUE self)
 
UInt_t drr_map_args2 (VALUE inargs, char *cproto, int cproto_size, G__CallFunc *f, Long_t offset=1, UInt_t reference_map=0x0)
 
void drr_find_method_prototype (G__ClassInfo *klass, char *methname, VALUE inargs, char *cproto, int cproto_size, Long_t offset)
 
void drr_set_method_args (VALUE inargs, G__CallFunc *func, Long_t offset=1)
 
int drr_parse_ret_type (const char *ret)
 
struct drr_func_cachedrr_func_cache_init (struct drr_func_entry *entry)
 
void drr_func_cache_push (struct drr_func_cache *cache, struct drr_func_entry *entry)
 
struct drr_func_entrydrr_func_cache_find (struct drr_func_cache *cache, char *name)
 
void drr_func_entry_free (struct drr_func_entry *entry)
 
static VALUE drr_as (VALUE self, VALUE klass)
 
static VALUE drr_init (int argc, VALUE argv[], VALUE self)
 
static VALUE drr_return (int rtype, Long_t value_address, double dvalue_address, VALUE self)
 
static VALUE drr_const_missing (VALUE self, VALUE klass)
 
static VALUE drr_singleton_missing (int argc, VALUE argv[], VALUE self)
 
static VALUE drr_method_missing (int argc, VALUE argv[], VALUE self)
 
static VALUE drr_generic_method (int argc, VALUE argv[], VALUE self)
 
void Init_libRuby ()
 

Variables

VALUE cTObject
 
static struct rr_fcn_inforr_tf1_table [256]
 
static int rr_tf1_tblptr = 0
 
static struct rr_fcn_inforr_tf2_table [256]
 
static int rr_tf2_tblptr = 0
 
VALUE drrAbstractClass
 

Macro Definition Documentation

§ RARRAY_LEN

#define RARRAY_LEN (   s)    (RARRAY(s)->len)

§ rb_frame_this_func

#define rb_frame_this_func   rb_frame_last_func

Definition at line 50 of file drr.cxx.

Referenced by drr_generic_method().

§ RFLOAT_VALUE

#define RFLOAT_VALUE (   v)    (RFLOAT(v)->value)

Definition at line 33 of file drr.cxx.

§ RSTRING_PTR

#define RSTRING_PTR (   s)    (RSTRING(s)->ptr)

Definition at line 30 of file drr.cxx.

Enumeration Type Documentation

§ Ektype

enum Ektype
Enumerator
kint 
kfloat 
kchar 
kunknown 
kvoid 
kintary 
kfloatary 
kstring 
kroot 
kbool 

Definition at line 518 of file drr.cxx.

Function Documentation

§ drr_as()

static VALUE drr_as ( VALUE  self,
VALUE  klass 
)
static

Definition at line 620 of file drr.cxx.

Referenced by Init_libRuby().

§ drr_const_missing()

static VALUE drr_const_missing ( VALUE  self,
VALUE  klass 
)
static

Definition at line 726 of file drr.cxx.

Referenced by Init_libRuby().

§ drr_find_method_prototype()

void drr_find_method_prototype ( G__ClassInfo *  klass,
char *  methname,
VALUE  inargs,
char *  cproto,
int  cproto_size,
Long_t  offset 
)

Definition at line 476 of file drr.cxx.

Referenced by drr_generic_method(), drr_init(), drr_method_missing(), and drr_singleton_missing().

§ drr_func_cache_find()

struct drr_func_entry* drr_func_cache_find ( struct drr_func_cache cache,
char *  name 
)

Definition at line 594 of file drr.cxx.

Referenced by drr_generic_method().

§ drr_func_cache_init()

struct drr_func_cache* drr_func_cache_init ( struct drr_func_entry entry)

Definition at line 568 of file drr.cxx.

Referenced by drr_method_missing().

§ drr_func_cache_push()

void drr_func_cache_push ( struct drr_func_cache cache,
struct drr_func_entry entry 
)

Definition at line 577 of file drr.cxx.

Referenced by drr_method_missing().

§ drr_func_entry_free()

void drr_func_entry_free ( struct drr_func_entry entry)

Definition at line 607 of file drr.cxx.

§ drr_generic_method()

static VALUE drr_generic_method ( int  argc,
VALUE  argv[],
VALUE  self 
)
static

Definition at line 869 of file drr.cxx.

Referenced by drr_method_missing().

§ drr_grab_object()

TObject* drr_grab_object ( VALUE  self)

Definition at line 390 of file drr.cxx.

Referenced by drr_generic_method(), and drr_method_missing().

§ drr_init()

static VALUE drr_init ( int  argc,
VALUE  argv[],
VALUE  self 
)
static

Definition at line 646 of file drr.cxx.

Referenced by Init_libRuby().

§ drr_map_args2()

UInt_t drr_map_args2 ( VALUE  inargs,
char *  cproto,
int  cproto_size,
G__CallFunc *  f,
Long_t  offset = 1,
UInt_t  reference_map = 0x0 
)

Definition at line 397 of file drr.cxx.

Referenced by drr_find_method_prototype(), and drr_set_method_args().

§ drr_method_missing()

static VALUE drr_method_missing ( int  argc,
VALUE  argv[],
VALUE  self 
)
static

Definition at line 792 of file drr.cxx.

Referenced by Init_libRuby().

§ drr_parse_ret_type()

int drr_parse_ret_type ( const char *  ret)

Definition at line 520 of file drr.cxx.

Referenced by drr_method_missing(), and drr_singleton_missing().

§ drr_return()

static VALUE drr_return ( int  rtype,
Long_t  value_address,
double  dvalue_address,
VALUE  self 
)
static

Definition at line 682 of file drr.cxx.

Referenced by drr_generic_method(), drr_method_missing(), and drr_singleton_missing().

§ drr_set_method_args()

void drr_set_method_args ( VALUE  inargs,
G__CallFunc *  func,
Long_t  offset = 1 
)

Definition at line 513 of file drr.cxx.

Referenced by drr_generic_method(), drr_init(), drr_method_missing(), and drr_singleton_missing().

§ drr_singleton_missing()

static VALUE drr_singleton_missing ( int  argc,
VALUE  argv[],
VALUE  self 
)
static

Definition at line 745 of file drr.cxx.

Referenced by Init_libRuby().

§ Init_libRuby()

void Init_libRuby ( )

Definition at line 922 of file drr.cxx.

§ rr_arrayc_new()

VALUE rr_arrayc_new ( const TArrayC a)

Definition at line 84 of file drr.cxx.

§ rr_arrayd_new()

VALUE rr_arrayd_new ( const TArrayD a)

Definition at line 139 of file drr.cxx.

§ rr_arrayf_new()

VALUE rr_arrayf_new ( const TArrayF a)

Definition at line 128 of file drr.cxx.

§ rr_arrayi_new()

VALUE rr_arrayi_new ( const TArrayI a)

Definition at line 106 of file drr.cxx.

§ rr_arrayl_new()

VALUE rr_arrayl_new ( const TArrayL a)

Definition at line 117 of file drr.cxx.

§ rr_arrays_new()

VALUE rr_arrays_new ( const TArrayS a)

Definition at line 95 of file drr.cxx.

§ rr_ary_new()

VALUE rr_ary_new ( TList l)

Definition at line 56 of file drr.cxx.

Referenced by drr_return(), and rr_to_ary().

§ rr_bool()

VALUE rr_bool ( Bool_t  q)

Definition at line 166 of file drr.cxx.

Referenced by drr_return().

§ rr_ctf1_fcn()

double rr_ctf1_fcn ( double *  x,
double *  par 
)

Definition at line 181 of file drr.cxx.

§ rr_ctf2_fcn()

double rr_ctf2_fcn ( double *  x,
double *  par 
)

Definition at line 229 of file drr.cxx.

§ rr_gapplication()

static VALUE rr_gapplication ( void  )
static

Definition at line 355 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_gbenchmark()

static VALUE rr_gbenchmark ( void  )
static

Definition at line 299 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_gdirectory()

static VALUE rr_gdirectory ( void  )
static

Definition at line 332 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_gpad()

static VALUE rr_gpad ( void  )
static

Definition at line 310 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_grandom()

static VALUE rr_grandom ( void  )
static

Definition at line 288 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_groot()

static VALUE rr_groot ( void  )
static

Definition at line 343 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_gstyle()

static VALUE rr_gstyle ( void  )
static

Definition at line 321 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_gsystem()

static VALUE rr_gsystem ( void  )
static

Definition at line 277 of file drr.cxx.

Referenced by Init_libRuby().

§ rr_register_ctf1_fcn()

void rr_register_ctf1_fcn ( char *  name,
ID  id 
)

Definition at line 214 of file drr.cxx.

§ rr_register_ctf2_fcn()

void rr_register_ctf2_fcn ( char *  name,
ID  id 
)

Definition at line 262 of file drr.cxx.

§ rr_seqcollection_new()

VALUE rr_seqcollection_new ( TSeqCollection sc)

Definition at line 150 of file drr.cxx.

§ rr_to_ary()

static VALUE rr_to_ary ( VALUE  self)
static

Definition at line 77 of file drr.cxx.

Referenced by Init_libRuby().

§ via()

static VALUE via ( VALUE  self,
VALUE  ameth,
VALUE  bmeth,
VALUE  parms 
)
static

Definition at line 367 of file drr.cxx.

Referenced by Init_libRuby().

Variable Documentation

§ cTObject

VALUE cTObject

§ drrAbstractClass

VALUE drrAbstractClass

Definition at line 618 of file drr.cxx.

Referenced by drr_as(), drr_const_missing(), and Init_libRuby().

§ rr_tf1_table

struct rr_fcn_info* rr_tf1_table[256]
static

Definition at line 178 of file drr.cxx.

§ rr_tf1_tblptr

int rr_tf1_tblptr = 0
static

Definition at line 179 of file drr.cxx.

Referenced by rr_ctf1_fcn(), and rr_register_ctf1_fcn().

§ rr_tf2_table

struct rr_fcn_info* rr_tf2_table[256]
static

Definition at line 226 of file drr.cxx.

§ rr_tf2_tblptr

int rr_tf2_tblptr = 0
static

Definition at line 227 of file drr.cxx.

Referenced by rr_ctf2_fcn(), and rr_register_ctf2_fcn().