Logo ROOT   6.19/01
Reference Guide
Cppyy Namespace Reference

Typedefs

typedef voidTCppEnum_t
 
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)
 
bool ExistsMethodTemplate (TCppScope_t scope, const std::string &name)
 
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)
 
TCppEnum_t GetEnum (TCppScope_t scope, const std::string &enum_name)
 
std::string GetEnumDataName (TCppEnum_t, TCppIndex_t idata)
 
long long GetEnumDataValue (TCppEnum_t, TCppIndex_t idata)
 
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, bool alsoInBases=false)
 
std::string GetMethodSignature (TCppScope_t scope, TCppIndex_t imeth)
 
TCppMethod_t GetMethodTemplate (TCppScope_t scope, const std::string &name, const std::string &proto)
 
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 GetNumEnumData (TCppEnum_t)
 
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 ResolveEnum (const TEnum *en)
 
std::string ResolveEnum (const std::string &enum_type)
 
std::string ResolveName (const std::string &cppitem_name)
 
size_t SizeOf (TCppType_t klass)
 

Variables

TCppScope_t gGlobalScope = GLOBAL_HANDLE
 

Typedef Documentation

◆ TCppEnum_t

Definition at line 19 of file Cppyy.h.

◆ TCppIndex_t

Definition at line 21 of file Cppyy.h.

◆ TCppMethod_t

typedef ptrdiff_t Cppyy::TCppMethod_t

Definition at line 18 of file Cppyy.h.

◆ TCppMethPtrGetter_t

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

Definition at line 22 of file Cppyy.h.

◆ TCppObject_t

Definition at line 17 of file Cppyy.h.

◆ TCppScope_t

typedef ptrdiff_t Cppyy::TCppScope_t

Definition at line 15 of file Cppyy.h.

◆ TCppType_t

Definition at line 16 of file Cppyy.h.

Function Documentation

◆ AddSmartPtrType()

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

Definition at line 627 of file Cppyy.cxx.

◆ Allocate()

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

Definition at line 271 of file Cppyy.cxx.

◆ AllocateFunctionArgs()

void * Cppyy::AllocateFunctionArgs ( size_t  nargs)

Definition at line 534 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 501 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 509 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 515 of file Cppyy.cxx.

◆ CallR()

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

Definition at line 485 of file Cppyy.cxx.

◆ CallS()

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

Definition at line 493 of file Cppyy.cxx.

◆ CallV()

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

Definition at line 469 of file Cppyy.cxx.

◆ Construct()

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

Definition at line 282 of file Cppyy.cxx.

◆ Deallocate()

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

Definition at line 277 of file Cppyy.cxx.

◆ DeallocateFunctionArgs()

void Cppyy::DeallocateFunctionArgs ( void args)

Definition at line 539 of file Cppyy.cxx.

◆ Destruct()

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

Definition at line 288 of file Cppyy.cxx.

◆ ExistsMethodTemplate()

bool Cppyy::ExistsMethodTemplate ( TCppScope_t  scope,
const std::string &  name 
)

Definition at line 839 of file Cppyy.cxx.

◆ GetActualClass()

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

Definition at line 224 of file Cppyy.cxx.

◆ GetBaseName()

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

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

◆ GetDatamemberIndex()

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

Definition at line 1009 of file Cppyy.cxx.

◆ GetDatamemberName()

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

Definition at line 946 of file Cppyy.cxx.

◆ GetDatamemberOffset()

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

Definition at line 993 of file Cppyy.cxx.

◆ GetDatamemberType()

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

Definition at line 958 of file Cppyy.cxx.

◆ GetDimensionSize()

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

Definition at line 1083 of file Cppyy.cxx.

◆ GetEnum()

Cppyy::TCppEnum_t Cppyy::GetEnum ( TCppScope_t  scope,
const std::string &  enum_name 
)

Definition at line 1098 of file Cppyy.cxx.

◆ GetEnumDataName()

std::string Cppyy::GetEnumDataName ( TCppEnum_t  etype,
TCppIndex_t  idata 
)

Definition at line 1115 of file Cppyy.cxx.

◆ GetEnumDataValue()

long long Cppyy::GetEnumDataValue ( TCppEnum_t  etype,
TCppIndex_t  idata 
)

Definition at line 1120 of file Cppyy.cxx.

◆ GetFinalName()

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

Definition at line 581 of file Cppyy.cxx.

◆ GetFunctionArgSizeof()

size_t Cppyy::GetFunctionArgSizeof ( )

Definition at line 544 of file Cppyy.cxx.

◆ GetFunctionArgTypeoffset()

size_t Cppyy::GetFunctionArgTypeoffset ( )

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

◆ GetMethod()

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

Definition at line 747 of file Cppyy.cxx.

◆ GetMethodArgDefault()

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

Definition at line 811 of file Cppyy.cxx.

◆ GetMethodArgName()

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

Definition at line 791 of file Cppyy.cxx.

◆ GetMethodArgType()

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

Definition at line 801 of file Cppyy.cxx.

◆ GetMethodIndexAt()

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

Definition at line 705 of file Cppyy.cxx.

◆ GetMethodName()

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

Definition at line 753 of file Cppyy.cxx.

◆ GetMethodNumArgs()

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

Definition at line 775 of file Cppyy.cxx.

◆ GetMethodNumTemplateArgs()

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

Definition at line 876 of file Cppyy.cxx.

◆ GetMethodReqArgs()

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

Definition at line 782 of file Cppyy.cxx.

◆ GetMethodResultType()

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

Definition at line 764 of file Cppyy.cxx.

◆ GetMethodsFromName()

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

Definition at line 710 of file Cppyy.cxx.

◆ GetMethodSignature()

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

Definition at line 824 of file Cppyy.cxx.

◆ GetMethodTemplate()

Cppyy::TCppMethod_t Cppyy::GetMethodTemplate ( TCppScope_t  scope,
const std::string &  name,
const std::string &  proto 
)

Definition at line 852 of file Cppyy.cxx.

◆ GetMethodTemplateArgName()

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

Definition at line 882 of file Cppyy.cxx.

◆ GetMethPtrGetter()

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

Definition at line 526 of file Cppyy.cxx.

◆ GetName()

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

Definition at line 146 of file Cppyy.cxx.

◆ GetNumBases()

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

Definition at line 603 of file Cppyy.cxx.

◆ GetNumDatamembers()

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

Definition at line 923 of file Cppyy.cxx.

◆ GetNumEnumData()

Cppyy::TCppIndex_t Cppyy::GetNumEnumData ( TCppEnum_t  etype)

Definition at line 1110 of file Cppyy.cxx.

◆ GetNumMethods()

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

Definition at line 679 of file Cppyy.cxx.

◆ GetNumScopes()

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

Definition at line 126 of file Cppyy.cxx.

◆ GetScope()

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

Definition at line 193 of file Cppyy.cxx.

◆ GetScopedFinalName()

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

Definition at line 590 of file Cppyy.cxx.

◆ GetScopeName()

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

Definition at line 134 of file Cppyy.cxx.

◆ GetTemplate()

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

Definition at line 219 of file Cppyy.cxx.

◆ HasComplexHierarchy()

Bool_t Cppyy::HasComplexHierarchy ( TCppType_t  type)

Definition at line 597 of file Cppyy.cxx.

◆ IsAbstract()

Bool_t Cppyy::IsAbstract ( TCppType_t  type)

Definition at line 567 of file Cppyy.cxx.

◆ IsBuiltin()

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

Definition at line 242 of file Cppyy.cxx.

◆ IsComplete()

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

Definition at line 249 of file Cppyy.cxx.

◆ IsConstData()

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

Definition at line 1055 of file Cppyy.cxx.

◆ IsConstMethod()

Bool_t Cppyy::IsConstMethod ( TCppMethod_t  method)

Definition at line 829 of file Cppyy.cxx.

◆ IsConstructor()

Bool_t Cppyy::IsConstructor ( TCppMethod_t  method)

Definition at line 895 of file Cppyy.cxx.

◆ IsEnum()

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

Definition at line 575 of file Cppyy.cxx.

◆ IsEnumData()

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

Definition at line 1069 of file Cppyy.cxx.

◆ IsMethodTemplate()

Bool_t Cppyy::IsMethodTemplate ( TCppMethod_t  method)

Definition at line 866 of file Cppyy.cxx.

◆ IsNamespace()

Bool_t Cppyy::IsNamespace ( TCppScope_t  scope)

Definition at line 556 of file Cppyy.cxx.

◆ IsPublicData()

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

Definition at line 1033 of file Cppyy.cxx.

◆ IsPublicMethod()

Bool_t Cppyy::IsPublicMethod ( TCppMethod_t  method)

Definition at line 904 of file Cppyy.cxx.

◆ IsSmartPtr()

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

Definition at line 631 of file Cppyy.cxx.

◆ IsStaticData()

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

Definition at line 1044 of file Cppyy.cxx.

◆ IsStaticMethod()

Bool_t Cppyy::IsStaticMethod ( TCppMethod_t  method)

Definition at line 913 of file Cppyy.cxx.

◆ IsSubtype()

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

Definition at line 618 of file Cppyy.cxx.

◆ ResolveEnum() [1/2]

std::string Cppyy::ResolveEnum ( const TEnum en)

Definition at line 177 of file Cppyy.cxx.

◆ ResolveEnum() [2/2]

std::string Cppyy::ResolveEnum ( const std::string &  enum_type)

Definition at line 188 of file Cppyy.cxx.

◆ ResolveName()

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

Definition at line 167 of file Cppyy.cxx.

◆ SizeOf()

size_t Cppyy::SizeOf ( TCppType_t  klass)

Definition at line 235 of file Cppyy.cxx.

Variable Documentation

◆ gGlobalScope

Cppyy::TCppScope_t Cppyy::gGlobalScope = GLOBAL_HANDLE

Definition at line 64 of file Cppyy.cxx.