Logo ROOT   6.08/07
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 602 of file Cppyy.cxx.

◆ Allocate()

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

Definition at line 249 of file Cppyy.cxx.

◆ AllocateFunctionArgs()

void * Cppyy::AllocateFunctionArgs ( size_t  nargs)

Definition at line 512 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 479 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 487 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 493 of file Cppyy.cxx.

◆ CallR()

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

Definition at line 463 of file Cppyy.cxx.

◆ CallS()

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

Definition at line 471 of file Cppyy.cxx.

◆ CallV()

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

Definition at line 447 of file Cppyy.cxx.

◆ Construct()

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

Definition at line 260 of file Cppyy.cxx.

◆ Deallocate()

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

Definition at line 255 of file Cppyy.cxx.

◆ DeallocateFunctionArgs()

void Cppyy::DeallocateFunctionArgs ( void args)

Definition at line 517 of file Cppyy.cxx.

◆ Destruct()

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

Definition at line 266 of file Cppyy.cxx.

◆ GetActualClass()

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

Definition at line 202 of file Cppyy.cxx.

◆ GetBaseName()

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

Definition at line 587 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 615 of file Cppyy.cxx.

◆ GetDatamemberIndex()

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

Definition at line 957 of file Cppyy.cxx.

◆ GetDatamemberName()

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

Definition at line 894 of file Cppyy.cxx.

◆ GetDatamemberOffset()

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

Definition at line 941 of file Cppyy.cxx.

◆ GetDatamemberType()

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

Definition at line 906 of file Cppyy.cxx.

◆ GetDimensionSize()

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

Definition at line 1031 of file Cppyy.cxx.

◆ GetFinalName()

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

Definition at line 556 of file Cppyy.cxx.

◆ GetFunctionArgSizeof()

size_t Cppyy::GetFunctionArgSizeof ( )

Definition at line 522 of file Cppyy.cxx.

◆ GetFunctionArgTypeoffset()

size_t Cppyy::GetFunctionArgTypeoffset ( )

Definition at line 527 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 836 of file Cppyy.cxx.

◆ GetMethod()

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

Definition at line 722 of file Cppyy.cxx.

◆ GetMethodArgDefault()

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

Definition at line 786 of file Cppyy.cxx.

◆ GetMethodArgName()

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

Definition at line 766 of file Cppyy.cxx.

◆ GetMethodArgType()

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

Definition at line 776 of file Cppyy.cxx.

◆ GetMethodIndexAt()

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

Definition at line 680 of file Cppyy.cxx.

◆ GetMethodName()

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

Definition at line 728 of file Cppyy.cxx.

◆ GetMethodNumArgs()

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

Definition at line 750 of file Cppyy.cxx.

◆ GetMethodNumTemplateArgs()

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

Definition at line 824 of file Cppyy.cxx.

◆ GetMethodReqArgs()

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

Definition at line 757 of file Cppyy.cxx.

◆ GetMethodResultType()

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

Definition at line 739 of file Cppyy.cxx.

◆ GetMethodsFromName()

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

Definition at line 685 of file Cppyy.cxx.

◆ GetMethodSignature()

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

Definition at line 799 of file Cppyy.cxx.

◆ GetMethodTemplateArgName()

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

Definition at line 830 of file Cppyy.cxx.

◆ GetMethPtrGetter()

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

Definition at line 504 of file Cppyy.cxx.

◆ GetName()

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

Definition at line 140 of file Cppyy.cxx.

◆ GetNumBases()

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

Definition at line 578 of file Cppyy.cxx.

◆ GetNumDatamembers()

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

Definition at line 871 of file Cppyy.cxx.

◆ GetNumMethods()

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

Definition at line 654 of file Cppyy.cxx.

◆ GetNumScopes()

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

Definition at line 120 of file Cppyy.cxx.

◆ GetScope()

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

Definition at line 171 of file Cppyy.cxx.

◆ GetScopedFinalName()

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

Definition at line 565 of file Cppyy.cxx.

◆ GetScopeName()

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

Definition at line 128 of file Cppyy.cxx.

◆ GetTemplate()

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

Definition at line 197 of file Cppyy.cxx.

◆ HasComplexHierarchy()

Bool_t Cppyy::HasComplexHierarchy ( TCppType_t  type)

Definition at line 572 of file Cppyy.cxx.

◆ IsAbstract()

Bool_t Cppyy::IsAbstract ( TCppType_t  type)

Definition at line 542 of file Cppyy.cxx.

◆ IsBuiltin()

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

Definition at line 220 of file Cppyy.cxx.

◆ IsComplete()

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

Definition at line 227 of file Cppyy.cxx.

◆ IsConstData()

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

Definition at line 1003 of file Cppyy.cxx.

◆ IsConstMethod()

Bool_t Cppyy::IsConstMethod ( TCppMethod_t  method)

Definition at line 804 of file Cppyy.cxx.

◆ IsConstructor()

Bool_t Cppyy::IsConstructor ( TCppMethod_t  method)

Definition at line 843 of file Cppyy.cxx.

◆ IsEnum()

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

Definition at line 550 of file Cppyy.cxx.

◆ IsEnumData()

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

Definition at line 1017 of file Cppyy.cxx.

◆ IsMethodTemplate()

Bool_t Cppyy::IsMethodTemplate ( TCppMethod_t  method)

Definition at line 814 of file Cppyy.cxx.

◆ IsNamespace()

Bool_t Cppyy::IsNamespace ( TCppScope_t  scope)

Definition at line 534 of file Cppyy.cxx.

◆ IsPublicData()

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

Definition at line 981 of file Cppyy.cxx.

◆ IsPublicMethod()

Bool_t Cppyy::IsPublicMethod ( TCppMethod_t  method)

Definition at line 852 of file Cppyy.cxx.

◆ IsSmartPtr()

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

Definition at line 606 of file Cppyy.cxx.

◆ IsStaticData()

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

Definition at line 992 of file Cppyy.cxx.

◆ IsStaticMethod()

Bool_t Cppyy::IsStaticMethod ( TCppMethod_t  method)

Definition at line 861 of file Cppyy.cxx.

◆ IsSubtype()

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

Definition at line 593 of file Cppyy.cxx.

◆ ResolveName()

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

Definition at line 161 of file Cppyy.cxx.

◆ SizeOf()

size_t Cppyy::SizeOf ( TCppType_t  klass)

Definition at line 213 of file Cppyy.cxx.

Variable Documentation

◆ gGlobalScope

Cppyy::TCppScope_t Cppyy::gGlobalScope = GLOBAL_HANDLE

Definition at line 58 of file Cppyy.cxx.