ROOT  6.06/09
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

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

Definition at line 50 of file drr.cxx.

Referenced by drr_generic_method().

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

Definition at line 33 of file drr.cxx.

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

Definition at line 30 of file drr.cxx.

Enumeration Type Documentation

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

Definition at line 518 of file drr.cxx.

Function Documentation

static VALUE drr_as ( VALUE  self,
VALUE  klass 
)
static

Definition at line 620 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE drr_const_missing ( VALUE  self,
VALUE  klass 
)
static

Definition at line 726 of file drr.cxx.

Referenced by Init_libRuby().

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().

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

Definition at line 594 of file drr.cxx.

Referenced by drr_generic_method().

struct drr_func_cache* drr_func_cache_init ( drr_func_entry entry)

Definition at line 568 of file drr.cxx.

Referenced by drr_method_missing().

void drr_func_cache_push ( drr_func_cache cache,
drr_func_entry entry 
)

Definition at line 577 of file drr.cxx.

Referenced by drr_method_missing().

void drr_func_entry_free ( drr_func_entry entry)

Definition at line 607 of file drr.cxx.

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().

TObject* drr_grab_object ( VALUE  self)

Definition at line 390 of file drr.cxx.

Referenced by drr_generic_method(), and drr_method_missing().

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

Definition at line 646 of file drr.cxx.

Referenced by Init_libRuby().

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().

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

Definition at line 792 of file drr.cxx.

Referenced by Init_libRuby().

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().

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().

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().

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

Definition at line 745 of file drr.cxx.

Referenced by Init_libRuby().

void Init_libRuby ( )

Definition at line 922 of file drr.cxx.

VALUE rr_arrayc_new ( const TArrayC a)

Definition at line 84 of file drr.cxx.

VALUE rr_arrayd_new ( const TArrayD a)

Definition at line 139 of file drr.cxx.

VALUE rr_arrayf_new ( const TArrayF a)

Definition at line 128 of file drr.cxx.

VALUE rr_arrayi_new ( const TArrayI a)

Definition at line 106 of file drr.cxx.

VALUE rr_arrayl_new ( const TArrayL a)

Definition at line 117 of file drr.cxx.

VALUE rr_arrays_new ( const TArrayS a)

Definition at line 95 of file drr.cxx.

VALUE rr_ary_new ( TList l)

Definition at line 56 of file drr.cxx.

Referenced by drr_return(), and rr_to_ary().

VALUE rr_bool ( Bool_t  q)

Definition at line 166 of file drr.cxx.

Referenced by drr_return().

double rr_ctf1_fcn ( double x,
double par 
)

Definition at line 181 of file drr.cxx.

double rr_ctf2_fcn ( double x,
double par 
)

Definition at line 229 of file drr.cxx.

static VALUE rr_gapplication ( void  )
static

Definition at line 355 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_gbenchmark ( void  )
static

Definition at line 299 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_gdirectory ( void  )
static

Definition at line 332 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_gpad ( void  )
static

Definition at line 310 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_grandom ( void  )
static

Definition at line 288 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_groot ( void  )
static

Definition at line 343 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_gstyle ( void  )
static

Definition at line 321 of file drr.cxx.

Referenced by Init_libRuby().

static VALUE rr_gsystem ( void  )
static

Definition at line 277 of file drr.cxx.

Referenced by Init_libRuby().

void rr_register_ctf1_fcn ( char *  name,
ID  id 
)

Definition at line 214 of file drr.cxx.

void rr_register_ctf2_fcn ( char *  name,
ID  id 
)

Definition at line 262 of file drr.cxx.

VALUE rr_seqcollection_new ( TSeqCollection sc)

Definition at line 150 of file drr.cxx.

static VALUE rr_to_ary ( VALUE  self)
static

Definition at line 77 of file drr.cxx.

Referenced by Init_libRuby().

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

VALUE cTObject
VALUE drrAbstractClass

Definition at line 618 of file drr.cxx.

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

struct rr_fcn_info* rr_tf1_table[256]
static

Definition at line 178 of file drr.cxx.

int rr_tf1_tblptr = 0
static

Definition at line 179 of file drr.cxx.

Referenced by rr_ctf1_fcn(), and rr_register_ctf1_fcn().

struct rr_fcn_info* rr_tf2_table[256]
static

Definition at line 226 of file drr.cxx.

int rr_tf2_tblptr = 0
static

Definition at line 227 of file drr.cxx.

Referenced by rr_ctf2_fcn(), and rr_register_ctf2_fcn().