Logo ROOT   6.07/09
Reference Guide
Typedefs | Functions | Variables
Cppyy Namespace Reference

Typedefs

typedef Long_t TCppIndex_t
 
typedef ptrdiff_t TCppMethod_t
 
typedef void *(* TCppMethPtrGetter_t) (TCppObject_t)
 
typedef voidTCppObject_t
 
typedef ptrdiff_t TCppScope_t
 
typedef TCppScope_t TCppType_t
 

Functions

void AddSmartPtrType (const std::string &)
 
TCppObject_t Allocate (TCppType_t type)
 
voidAllocateFunctionArgs (size_t nargs)
 
UChar_t CallB (TCppMethod_t method, TCppObject_t self, void *args)
 
Char_t CallC (TCppMethod_t method, TCppObject_t self, void *args)
 
TCppObject_t CallConstructor (TCppMethod_t method, TCppType_t type, void *args)
 
Double_t CallD (TCppMethod_t method, TCppObject_t self, void *args)
 
void CallDestructor (TCppType_t type, TCppObject_t self)
 
Float_t CallF (TCppMethod_t method, TCppObject_t self, void *args)
 
Short_t CallH (TCppMethod_t method, TCppObject_t self, void *args)
 
Int_t CallI (TCppMethod_t method, TCppObject_t self, void *args)
 
Long_t CallL (TCppMethod_t method, TCppObject_t self, void *args)
 
LongDouble_t CallLD (TCppMethod_t method, TCppObject_t self, void *args)
 
Long64_t CallLL (TCppMethod_t method, TCppObject_t self, void *args)
 
TCppObject_t CallO (TCppMethod_t method, TCppObject_t self, void *args, TCppType_t result_type)
 
voidCallR (TCppMethod_t method, TCppObject_t self, void *args)
 
Char_tCallS (TCppMethod_t method, TCppObject_t self, void *args)
 
void CallV (TCppMethod_t method, TCppObject_t self, void *args)
 
TCppObject_t Construct (TCppType_t type)
 
void Deallocate (TCppType_t type, TCppObject_t instance)
 
void DeallocateFunctionArgs (void *args)
 
void Destruct (TCppType_t type, TCppObject_t instance)
 
TCppType_t GetActualClass (TCppType_t klass, TCppObject_t obj)
 
std::string GetBaseName (TCppType_t type, TCppIndex_t ibase)
 
ptrdiff_t GetBaseOffset (TCppType_t derived, TCppType_t base, TCppObject_t address, int direction, bool rerror=false)
 
TCppIndex_t GetDatamemberIndex (TCppScope_t scope, const std::string &name)
 
std::string GetDatamemberName (TCppScope_t scope, TCppIndex_t idata)
 
ptrdiff_t GetDatamemberOffset (TCppScope_t scope, TCppIndex_t idata)
 
std::string GetDatamemberType (TCppScope_t scope, TCppIndex_t idata)
 
Int_t GetDimensionSize (TCppScope_t scope, TCppIndex_t idata, int dimension)
 
std::string GetFinalName (TCppType_t type)
 
size_t GetFunctionArgSizeof ()
 
size_t GetFunctionArgTypeoffset ()
 
TCppIndex_t GetGlobalOperator (TCppType_t scope, TCppType_t lc, TCppScope_t rc, const std::string &op)
 
TCppMethod_t GetMethod (TCppScope_t scope, TCppIndex_t imeth)
 
std::string GetMethodArgDefault (TCppMethod_t, int iarg)
 
std::string GetMethodArgName (TCppMethod_t, int iarg)
 
std::string GetMethodArgType (TCppMethod_t, int iarg)
 
TCppIndex_t GetMethodIndexAt (TCppScope_t scope, TCppIndex_t imeth)
 
std::string GetMethodName (TCppMethod_t)
 
TCppIndex_t GetMethodNumArgs (TCppMethod_t)
 
TCppIndex_t GetMethodNumTemplateArgs (TCppScope_t scope, TCppIndex_t imeth)
 
TCppIndex_t GetMethodReqArgs (TCppMethod_t)
 
std::string GetMethodResultType (TCppMethod_t)
 
std::vector< TCppMethod_tGetMethodsFromName (TCppScope_t scope, const std::string &name)
 
std::string GetMethodSignature (TCppScope_t scope, TCppIndex_t imeth)
 
std::string GetMethodTemplateArgName (TCppScope_t scope, TCppIndex_t imeth, TCppIndex_t iarg)
 
TCppMethPtrGetter_t GetMethPtrGetter (TCppScope_t scope, TCppIndex_t imeth)
 
TCppIndex_t GetNumBases (TCppType_t type)
 
TCppIndex_t GetNumDatamembers (TCppScope_t scope)
 
TCppIndex_t GetNumMethods (TCppScope_t scope)
 
TCppIndex_t GetNumScopes (TCppScope_t parent)
 
TCppScope_t GetScope (const std::string &scope_name)
 
std::string GetScopedFinalName (TCppType_t type)
 
std::string GetScopeName (TCppScope_t parent, TCppIndex_t iscope)
 
TCppType_t GetTemplate (const std::string &template_name)
 
Bool_t HasComplexHierarchy (TCppType_t type)
 
Bool_t IsAbstract (TCppType_t type)
 
Bool_t IsBuiltin (const std::string &type_name)
 
Bool_t IsComplete (const std::string &type_name)
 
Bool_t IsConstData (TCppScope_t scope, TCppIndex_t idata)
 
Bool_t IsConstMethod (TCppMethod_t)
 
Bool_t IsConstructor (TCppMethod_t method)
 
Bool_t IsEnum (const std::string &type_name)
 
Bool_t IsEnumData (TCppScope_t scope, TCppIndex_t idata)
 
Bool_t IsMethodTemplate (TCppMethod_t)
 
Bool_t IsNamespace (TCppScope_t scope)
 
Bool_t IsPublicData (TCppScope_t scope, TCppIndex_t idata)
 
Bool_t IsPublicMethod (TCppMethod_t method)
 
Bool_t IsSmartPtr (const std::string &)
 
Bool_t IsStaticData (TCppScope_t scope, TCppIndex_t idata)
 
Bool_t IsStaticMethod (TCppMethod_t method)
 
Bool_t IsSubtype (TCppType_t derived, TCppType_t base)
 
std::string ResolveName (const std::string &cppitem_name)
 
size_t SizeOf (TCppType_t klass)
 

Variables

TCppScope_t gGlobalScope = GLOBAL_HANDLE
 

Typedef Documentation

Definition at line 17 of file Cppyy.h.

typedef ptrdiff_t Cppyy::TCppMethod_t

Definition at line 15 of file Cppyy.h.

typedef void*(* Cppyy::TCppMethPtrGetter_t) (TCppObject_t)

Definition at line 18 of file Cppyy.h.

Definition at line 14 of file Cppyy.h.

typedef ptrdiff_t Cppyy::TCppScope_t

Definition at line 12 of file Cppyy.h.

Definition at line 13 of file Cppyy.h.

Function Documentation

void Cppyy::AddSmartPtrType ( const std::string &  type_name)

Definition at line 581 of file Cppyy.cxx.

Cppyy::TCppObject_t Cppyy::Allocate ( TCppType_t  type)

Definition at line 228 of file Cppyy.cxx.

void * Cppyy::AllocateFunctionArgs ( size_t  nargs)

Definition at line 491 of file Cppyy.cxx.

UChar_t Cppyy::CallB ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Char_t Cppyy::CallC ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Cppyy::TCppObject_t Cppyy::CallConstructor ( TCppMethod_t  method,
TCppType_t  type,
void args 
)

Definition at line 458 of file Cppyy.cxx.

Double_t Cppyy::CallD ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
void Cppyy::CallDestructor ( TCppType_t  type,
TCppObject_t  self 
)

Definition at line 466 of file Cppyy.cxx.

Float_t Cppyy::CallF ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Short_t Cppyy::CallH ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Int_t Cppyy::CallI ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Long_t Cppyy::CallL ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
LongDouble_t Cppyy::CallLD ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Long64_t Cppyy::CallLL ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
Cppyy::TCppObject_t Cppyy::CallO ( TCppMethod_t  method,
TCppObject_t  self,
void args,
TCppType_t  result_type 
)

Definition at line 472 of file Cppyy.cxx.

void * Cppyy::CallR ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

Definition at line 442 of file Cppyy.cxx.

Char_t * Cppyy::CallS ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

Definition at line 450 of file Cppyy.cxx.

void Cppyy::CallV ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

Definition at line 426 of file Cppyy.cxx.

Cppyy::TCppObject_t Cppyy::Construct ( TCppType_t  type)

Definition at line 239 of file Cppyy.cxx.

void Cppyy::Deallocate ( TCppType_t  type,
TCppObject_t  instance 
)

Definition at line 234 of file Cppyy.cxx.

void Cppyy::DeallocateFunctionArgs ( void args)

Definition at line 496 of file Cppyy.cxx.

void Cppyy::Destruct ( TCppType_t  type,
TCppObject_t  instance 
)

Definition at line 245 of file Cppyy.cxx.

Cppyy::TCppType_t Cppyy::GetActualClass ( TCppType_t  klass,
TCppObject_t  obj 
)

Definition at line 181 of file Cppyy.cxx.

std::string Cppyy::GetBaseName ( TCppType_t  type,
TCppIndex_t  ibase 
)

Definition at line 566 of file Cppyy.cxx.

ptrdiff_t Cppyy::GetBaseOffset ( TCppType_t  derived,
TCppType_t  base,
TCppObject_t  address,
int  direction,
bool  rerror = false 
)

Definition at line 594 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetDatamemberIndex ( TCppScope_t  scope,
const std::string &  name 
)

Definition at line 936 of file Cppyy.cxx.

std::string Cppyy::GetDatamemberName ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 873 of file Cppyy.cxx.

ptrdiff_t Cppyy::GetDatamemberOffset ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 920 of file Cppyy.cxx.

std::string Cppyy::GetDatamemberType ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 885 of file Cppyy.cxx.

Int_t Cppyy::GetDimensionSize ( TCppScope_t  scope,
TCppIndex_t  idata,
int  dimension 
)

Definition at line 1010 of file Cppyy.cxx.

std::string Cppyy::GetFinalName ( TCppType_t  type)

Definition at line 535 of file Cppyy.cxx.

size_t Cppyy::GetFunctionArgSizeof ( )

Definition at line 501 of file Cppyy.cxx.

size_t Cppyy::GetFunctionArgTypeoffset ( )

Definition at line 506 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetGlobalOperator ( TCppType_t  scope,
TCppType_t  lc,
TCppScope_t  rc,
const std::string &  op 
)

Definition at line 815 of file Cppyy.cxx.

Cppyy::TCppMethod_t Cppyy::GetMethod ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 701 of file Cppyy.cxx.

std::string Cppyy::GetMethodArgDefault ( TCppMethod_t  method,
int  iarg 
)

Definition at line 765 of file Cppyy.cxx.

std::string Cppyy::GetMethodArgName ( TCppMethod_t  method,
int  iarg 
)

Definition at line 745 of file Cppyy.cxx.

std::string Cppyy::GetMethodArgType ( TCppMethod_t  method,
int  iarg 
)

Definition at line 755 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetMethodIndexAt ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 659 of file Cppyy.cxx.

std::string Cppyy::GetMethodName ( TCppMethod_t  method)

Definition at line 707 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetMethodNumArgs ( TCppMethod_t  method)

Definition at line 729 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetMethodNumTemplateArgs ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 803 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetMethodReqArgs ( TCppMethod_t  method)

Definition at line 736 of file Cppyy.cxx.

std::string Cppyy::GetMethodResultType ( TCppMethod_t  method)

Definition at line 718 of file Cppyy.cxx.

std::vector< Cppyy::TCppMethod_t > Cppyy::GetMethodsFromName ( TCppScope_t  scope,
const std::string &  name 
)

Definition at line 664 of file Cppyy.cxx.

std::string Cppyy::GetMethodSignature ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 778 of file Cppyy.cxx.

std::string Cppyy::GetMethodTemplateArgName ( TCppScope_t  scope,
TCppIndex_t  imeth,
TCppIndex_t  iarg 
)

Definition at line 809 of file Cppyy.cxx.

Cppyy::TCppMethPtrGetter_t Cppyy::GetMethPtrGetter ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 483 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetNumBases ( TCppType_t  type)

Definition at line 557 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetNumDatamembers ( TCppScope_t  scope)

Definition at line 850 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetNumMethods ( TCppScope_t  scope)

Definition at line 633 of file Cppyy.cxx.

Cppyy::TCppIndex_t Cppyy::GetNumScopes ( TCppScope_t  parent)

Definition at line 120 of file Cppyy.cxx.

Cppyy::TCppScope_t Cppyy::GetScope ( const std::string &  scope_name)

Definition at line 150 of file Cppyy.cxx.

std::string Cppyy::GetScopedFinalName ( TCppType_t  type)

Definition at line 544 of file Cppyy.cxx.

std::string Cppyy::GetScopeName ( TCppScope_t  parent,
TCppIndex_t  iscope 
)

Definition at line 128 of file Cppyy.cxx.

Cppyy::TCppType_t Cppyy::GetTemplate ( const std::string &  template_name)

Definition at line 176 of file Cppyy.cxx.

Bool_t Cppyy::HasComplexHierarchy ( TCppType_t  type)

Definition at line 551 of file Cppyy.cxx.

Bool_t Cppyy::IsAbstract ( TCppType_t  type)

Definition at line 521 of file Cppyy.cxx.

Bool_t Cppyy::IsBuiltin ( const std::string &  type_name)

Definition at line 199 of file Cppyy.cxx.

Bool_t Cppyy::IsComplete ( const std::string &  type_name)

Definition at line 206 of file Cppyy.cxx.

Bool_t Cppyy::IsConstData ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 982 of file Cppyy.cxx.

Bool_t Cppyy::IsConstMethod ( TCppMethod_t  method)

Definition at line 783 of file Cppyy.cxx.

Bool_t Cppyy::IsConstructor ( TCppMethod_t  method)

Definition at line 822 of file Cppyy.cxx.

Bool_t Cppyy::IsEnum ( const std::string &  type_name)

Definition at line 529 of file Cppyy.cxx.

Bool_t Cppyy::IsEnumData ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 996 of file Cppyy.cxx.

Bool_t Cppyy::IsMethodTemplate ( TCppMethod_t  method)

Definition at line 793 of file Cppyy.cxx.

Bool_t Cppyy::IsNamespace ( TCppScope_t  scope)

Definition at line 513 of file Cppyy.cxx.

Bool_t Cppyy::IsPublicData ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 960 of file Cppyy.cxx.

Bool_t Cppyy::IsPublicMethod ( TCppMethod_t  method)

Definition at line 831 of file Cppyy.cxx.

Bool_t Cppyy::IsSmartPtr ( const std::string &  type_name)

Definition at line 585 of file Cppyy.cxx.

Bool_t Cppyy::IsStaticData ( TCppScope_t  scope,
TCppIndex_t  idata 
)

Definition at line 971 of file Cppyy.cxx.

Bool_t Cppyy::IsStaticMethod ( TCppMethod_t  method)

Definition at line 840 of file Cppyy.cxx.

Bool_t Cppyy::IsSubtype ( TCppType_t  derived,
TCppType_t  base 
)

Definition at line 572 of file Cppyy.cxx.

std::string Cppyy::ResolveName ( const std::string &  cppitem_name)

Definition at line 140 of file Cppyy.cxx.

size_t Cppyy::SizeOf ( TCppType_t  klass)

Definition at line 192 of file Cppyy.cxx.

Variable Documentation

Cppyy::TCppScope_t Cppyy::gGlobalScope = GLOBAL_HANDLE

Definition at line 58 of file Cppyy.cxx.