Logo ROOT   6.14/05
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)
 
std::string GetName (const std::string &scope_name)
 
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

◆ TCppIndex_t

Definition at line 17 of file Cppyy.h.

◆ TCppMethod_t

typedef ptrdiff_t Cppyy::TCppMethod_t

Definition at line 15 of file Cppyy.h.

◆ TCppMethPtrGetter_t

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

Definition at line 18 of file Cppyy.h.

◆ TCppObject_t

Definition at line 14 of file Cppyy.h.

◆ TCppScope_t

typedef ptrdiff_t Cppyy::TCppScope_t

Definition at line 12 of file Cppyy.h.

◆ TCppType_t

Definition at line 13 of file Cppyy.h.

Function Documentation

◆ AddSmartPtrType()

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

Definition at line 607 of file Cppyy.cxx.

◆ Allocate()

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

Definition at line 254 of file Cppyy.cxx.

◆ AllocateFunctionArgs()

void * Cppyy::AllocateFunctionArgs ( size_t  nargs)

Definition at line 517 of file Cppyy.cxx.

◆ CallB()

UChar_t Cppyy::CallB ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallC()

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

◆ CallConstructor()

Cppyy::TCppObject_t Cppyy::CallConstructor ( TCppMethod_t  method,
TCppType_t  type,
void args 
)

Definition at line 484 of file Cppyy.cxx.

◆ CallD()

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

◆ CallDestructor()

void Cppyy::CallDestructor ( TCppType_t  type,
TCppObject_t  self 
)

Definition at line 492 of file Cppyy.cxx.

◆ CallF()

Float_t Cppyy::CallF ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallH()

Short_t Cppyy::CallH ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallI()

Int_t Cppyy::CallI ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallL()

Long_t Cppyy::CallL ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallLD()

LongDouble_t Cppyy::CallLD ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallLL()

Long64_t Cppyy::CallLL ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)

◆ CallO()

Cppyy::TCppObject_t Cppyy::CallO ( TCppMethod_t  method,
TCppObject_t  self,
void args,
TCppType_t  result_type 
)

Definition at line 498 of file Cppyy.cxx.

◆ CallR()

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

Definition at line 468 of file Cppyy.cxx.

◆ CallS()

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

Definition at line 476 of file Cppyy.cxx.

◆ CallV()

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

Definition at line 452 of file Cppyy.cxx.

◆ Construct()

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

Definition at line 265 of file Cppyy.cxx.

◆ Deallocate()

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

Definition at line 260 of file Cppyy.cxx.

◆ DeallocateFunctionArgs()

void Cppyy::DeallocateFunctionArgs ( void args)

Definition at line 522 of file Cppyy.cxx.

◆ Destruct()

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

Definition at line 271 of file Cppyy.cxx.

◆ GetActualClass()

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

Definition at line 207 of file Cppyy.cxx.

◆ GetBaseName()

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

Definition at line 592 of file Cppyy.cxx.

◆ GetBaseOffset()

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

Definition at line 620 of file Cppyy.cxx.

◆ GetDatamemberIndex()

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

Definition at line 962 of file Cppyy.cxx.

◆ GetDatamemberName()

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

Definition at line 899 of file Cppyy.cxx.

◆ GetDatamemberOffset()

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

Definition at line 946 of file Cppyy.cxx.

◆ GetDatamemberType()

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

Definition at line 911 of file Cppyy.cxx.

◆ GetDimensionSize()

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

Definition at line 1036 of file Cppyy.cxx.

◆ GetFinalName()

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

Definition at line 561 of file Cppyy.cxx.

◆ GetFunctionArgSizeof()

size_t Cppyy::GetFunctionArgSizeof ( )

Definition at line 527 of file Cppyy.cxx.

◆ GetFunctionArgTypeoffset()

size_t Cppyy::GetFunctionArgTypeoffset ( )

Definition at line 532 of file Cppyy.cxx.

◆ GetGlobalOperator()

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

Definition at line 841 of file Cppyy.cxx.

◆ GetMethod()

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

Definition at line 727 of file Cppyy.cxx.

◆ GetMethodArgDefault()

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

Definition at line 791 of file Cppyy.cxx.

◆ GetMethodArgName()

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

Definition at line 771 of file Cppyy.cxx.

◆ GetMethodArgType()

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

Definition at line 781 of file Cppyy.cxx.

◆ GetMethodIndexAt()

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

Definition at line 685 of file Cppyy.cxx.

◆ GetMethodName()

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

Definition at line 733 of file Cppyy.cxx.

◆ GetMethodNumArgs()

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

Definition at line 755 of file Cppyy.cxx.

◆ GetMethodNumTemplateArgs()

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

Definition at line 829 of file Cppyy.cxx.

◆ GetMethodReqArgs()

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

Definition at line 762 of file Cppyy.cxx.

◆ GetMethodResultType()

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

Definition at line 744 of file Cppyy.cxx.

◆ GetMethodsFromName()

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

Definition at line 690 of file Cppyy.cxx.

◆ GetMethodSignature()

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

Definition at line 804 of file Cppyy.cxx.

◆ GetMethodTemplateArgName()

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

Definition at line 835 of file Cppyy.cxx.

◆ GetMethPtrGetter()

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

Definition at line 509 of file Cppyy.cxx.

◆ GetName()

std::string Cppyy::GetName ( const std::string &  scope_name)

Definition at line 145 of file Cppyy.cxx.

◆ GetNumBases()

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

Definition at line 583 of file Cppyy.cxx.

◆ GetNumDatamembers()

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

Definition at line 876 of file Cppyy.cxx.

◆ GetNumMethods()

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

Definition at line 659 of file Cppyy.cxx.

◆ GetNumScopes()

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

Definition at line 125 of file Cppyy.cxx.

◆ GetScope()

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

Definition at line 176 of file Cppyy.cxx.

◆ GetScopedFinalName()

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

Definition at line 570 of file Cppyy.cxx.

◆ GetScopeName()

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

Definition at line 133 of file Cppyy.cxx.

◆ GetTemplate()

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

Definition at line 202 of file Cppyy.cxx.

◆ HasComplexHierarchy()

Bool_t Cppyy::HasComplexHierarchy ( TCppType_t  type)

Definition at line 577 of file Cppyy.cxx.

◆ IsAbstract()

Bool_t Cppyy::IsAbstract ( TCppType_t  type)

Definition at line 547 of file Cppyy.cxx.

◆ IsBuiltin()

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

Definition at line 225 of file Cppyy.cxx.

◆ IsComplete()

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

Definition at line 232 of file Cppyy.cxx.

◆ IsConstData()

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

Definition at line 1008 of file Cppyy.cxx.

◆ IsConstMethod()

Bool_t Cppyy::IsConstMethod ( TCppMethod_t  method)

Definition at line 809 of file Cppyy.cxx.

◆ IsConstructor()

Bool_t Cppyy::IsConstructor ( TCppMethod_t  method)

Definition at line 848 of file Cppyy.cxx.

◆ IsEnum()

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

Definition at line 555 of file Cppyy.cxx.

◆ IsEnumData()

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

Definition at line 1022 of file Cppyy.cxx.

◆ IsMethodTemplate()

Bool_t Cppyy::IsMethodTemplate ( TCppMethod_t  method)

Definition at line 819 of file Cppyy.cxx.

◆ IsNamespace()

Bool_t Cppyy::IsNamespace ( TCppScope_t  scope)

Definition at line 539 of file Cppyy.cxx.

◆ IsPublicData()

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

Definition at line 986 of file Cppyy.cxx.

◆ IsPublicMethod()

Bool_t Cppyy::IsPublicMethod ( TCppMethod_t  method)

Definition at line 857 of file Cppyy.cxx.

◆ IsSmartPtr()

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

Definition at line 611 of file Cppyy.cxx.

◆ IsStaticData()

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

Definition at line 997 of file Cppyy.cxx.

◆ IsStaticMethod()

Bool_t Cppyy::IsStaticMethod ( TCppMethod_t  method)

Definition at line 866 of file Cppyy.cxx.

◆ IsSubtype()

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

Definition at line 598 of file Cppyy.cxx.

◆ ResolveName()

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

Definition at line 166 of file Cppyy.cxx.

◆ SizeOf()

size_t Cppyy::SizeOf ( TCppType_t  klass)

Definition at line 218 of file Cppyy.cxx.

Variable Documentation

◆ gGlobalScope

Cppyy::TCppScope_t Cppyy::gGlobalScope = GLOBAL_HANDLE

Definition at line 63 of file Cppyy.cxx.