ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions | Variables
Cppyy Namespace Reference

Typedefs

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

Functions

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

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 580 of file Cppyy.cxx.

Cppyy::TCppObject_t Cppyy::Allocate ( TCppType_t  type)
void * Cppyy::AllocateFunctionArgs ( size_t  nargs)

Definition at line 490 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.

Referenced by GILCallConstructor().

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.

Referenced by PyROOT::op_dealloc_nofree().

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.

Referenced by GILCallO().

void * Cppyy::CallR ( TCppMethod_t  method,
TCppObject_t  self,
void args 
)
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.

Referenced by PyROOT::op_dealloc_nofree().

void Cppyy::DeallocateFunctionArgs ( void args)

Definition at line 495 of file Cppyy.cxx.

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

Definition at line 245 of file Cppyy.cxx.

Referenced by PyROOT::op_dealloc_nofree().

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

Definition at line 181 of file Cppyy.cxx.

Referenced by PyROOT::BindCppObject().

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

Definition at line 565 of file Cppyy.cxx.

Referenced by BuildCppClassBases().

ptrdiff_t Cppyy::GetBaseOffset ( TCppType_t  derived,
TCppType_t  base,
TCppObject_t  address,
int  direction,
bool  rerror = false 
)
Cppyy::TCppIndex_t Cppyy::GetDatamemberIndex ( TCppScope_t  scope,
const std::string &  name 
)

Definition at line 935 of file Cppyy.cxx.

Referenced by PyROOT::BindCppGlobal(), and PyROOT::GetCppGlobal().

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

Definition at line 872 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::PropertyProxy::Set().

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

Definition at line 919 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::PropertyProxy::Set().

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

Definition at line 884 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::PropertyProxy::Set().

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

Definition at line 1009 of file Cppyy.cxx.

Referenced by PyROOT::PropertyProxy::Set().

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

Definition at line 500 of file Cppyy.cxx.

size_t Cppyy::GetFunctionArgTypeoffset ( )

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

Cppyy::TCppMethod_t Cppyy::GetMethod ( TCppScope_t  scope,
TCppIndex_t  imeth 
)
std::string Cppyy::GetMethodArgDefault ( TCppMethod_t  method,
int  iarg 
)
std::string Cppyy::GetMethodArgName ( TCppMethod_t  method,
int  iarg 
)
std::string Cppyy::GetMethodArgType ( TCppMethod_t  method,
int  iarg 
)
Cppyy::TCppIndex_t Cppyy::GetMethodIndexAt ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 658 of file Cppyy.cxx.

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

Definition at line 706 of file Cppyy.cxx.

Referenced by TMVA::MethodBoost::AdaBoost(), TMVA::MethodBDT::AdaBoost(), TMVA::MethodBDT::AdaBoostR2(), TMVA::MethodBDT::AdaCost(), TMVA::MethodBase::AddClassifierOutput(), TMVA::MethodBase::AddClassifierOutputProb(), TMVA::MethodCategory::AddMethod(), TMVA::MethodBase::AddMulticlassOutput(), TMVA::MethodBase::AddRegressionOutput(), TMVA::MethodBase::BaseDir(), TMVA::Factory::BookMethod(), TMVA::Reader::BookMVA(), TMVA::MethodBDT::BoostMonitor(), BuildScopeProxyDict(), TMVA::compareanapp(), TMVA::MethodBase::CreateMVAPdfs(), TMVA::deviations(), TMVA::MethodBoost::FindMVACut(), TMVA::MethodCuts::GetEfficiency(), TMVA::MethodBase::GetEfficiency(), TMVA::MethodBase::GetKSTrainingVsTest(), TMVA::MethodBase::GetMaximumSignificance(), TMVA::MethodBase::GetMulticlassEfficiency(), TMVA::MethodBase::GetMulticlassTrainingEfficiency(), PyROOT::TMethodHolder::GetPriority(), PyROOT::TMethodHolder::GetPrototype(), TMVA::MethodBase::GetRegressionDeviation(), TMVA::MethodCuts::GetTrainingEfficiency(), TMVA::MethodBase::GetTrainingEfficiency(), TMVA::MethodBase::GetWeightFileName(), TMVA::MethodCategory::InitCircularTree(), PyROOT::TMethodHolder::InitConverters_(), TMVA::MethodBoost::InitHistos(), TMVA::MethodTMlpANN::MakeClass(), TMVA::MethodBase::MakeClass(), TMVA::MethodBoost::MonitorBoost(), TMVA::mvas(), TMVA::mvasMulticlass(), PyROOT::TMethodHolder::PreProcessArgs(), TMVA::probas(), TMVA::MethodBase::ReadStateFromStream(), TMVA::MethodBase::ReadStateFromXML(), TMVA::MethodCompositeBase::ReadWeightsFromStream(), TMVA::MethodBDT::Reset(), TMVA::MethodBase::TestClassification(), TMVA::MethodBase::TestMulticlass(), TMVA::MethodBoost::Train(), TMVA::MethodBDT::Train(), TMVA::Factory::TrainAllMethods(), TMVA::MethodBase::WriteEvaluationHistosToFile(), TMVA::MethodBase::WriteStateToFile(), and TMVA::MethodBase::WriteStateToStream().

Cppyy::TCppIndex_t Cppyy::GetMethodNumArgs ( TCppMethod_t  method)
Cppyy::TCppIndex_t Cppyy::GetMethodNumTemplateArgs ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 802 of file Cppyy.cxx.

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

Definition at line 735 of file Cppyy.cxx.

Referenced by PyROOT::TMethodHolder::Initialize().

std::string Cppyy::GetMethodResultType ( TCppMethod_t  method)
std::vector< Cppyy::TCppMethod_t > Cppyy::GetMethodsFromName ( TCppScope_t  scope,
const std::string &  name 
)
std::string Cppyy::GetMethodSignature ( TCppScope_t  scope,
TCppIndex_t  imeth 
)

Definition at line 777 of file Cppyy.cxx.

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

Definition at line 808 of file Cppyy.cxx.

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

Definition at line 482 of file Cppyy.cxx.

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

Definition at line 556 of file Cppyy.cxx.

Referenced by BuildCppClassBases().

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

Definition at line 849 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict().

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

Definition at line 632 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::CreateScopeProxy().

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)
std::string Cppyy::GetScopedFinalName ( TCppType_t  type)
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 550 of file Cppyy.cxx.

Bool_t Cppyy::IsAbstract ( TCppType_t  type)

Definition at line 520 of file Cppyy.cxx.

Referenced by PyROOT::TConstructorHolder::Call().

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

Definition at line 199 of file Cppyy.cxx.

Referenced by PyROOT::TMethodHolder::GetPriority().

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

Definition at line 206 of file Cppyy.cxx.

Referenced by PyROOT::TMethodHolder::GetPriority().

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

Definition at line 981 of file Cppyy.cxx.

Referenced by PyROOT::PropertyProxy::Set().

Bool_t Cppyy::IsConstMethod ( TCppMethod_t  method)

Definition at line 782 of file Cppyy.cxx.

Referenced by PyROOT::TMethodHolder::GetPriority().

Bool_t Cppyy::IsConstructor ( TCppMethod_t  method)

Definition at line 821 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict().

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

Definition at line 528 of file Cppyy.cxx.

Referenced by PyROOT::CreateConverter(), and PyROOT::CreateExecutor().

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

Definition at line 995 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::PropertyProxy::Set().

Bool_t Cppyy::IsMethodTemplate ( TCppMethod_t  method)

Definition at line 792 of file Cppyy.cxx.

Bool_t Cppyy::IsNamespace ( TCppScope_t  scope)

Definition at line 512 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::CreateScopeProxy().

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

Definition at line 959 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict().

Bool_t Cppyy::IsPublicMethod ( TCppMethod_t  method)

Definition at line 830 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict().

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

Definition at line 584 of file Cppyy.cxx.

Referenced by PyROOT::CreateConverter(), and PyROOT::CreateExecutor().

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

Definition at line 970 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::PropertyProxy::Set().

Bool_t Cppyy::IsStaticMethod ( TCppMethod_t  method)

Definition at line 839 of file Cppyy.cxx.

Referenced by BuildScopeProxyDict(), and PyROOT::TMethodHolder::GetPrototype().

Bool_t Cppyy::IsSubtype ( TCppType_t  derived,
TCppType_t  base 
)
std::string Cppyy::ResolveName ( const std::string &  cppitem_name)
size_t Cppyy::SizeOf ( TCppType_t  klass)

Definition at line 192 of file Cppyy.cxx.

Referenced by PyROOT::TTupleOfInstances_New().

Variable Documentation

Cppyy::TCppScope_t Cppyy::gGlobalScope = GLOBAL_HANDLE