ROOT
6.06/09
Reference Guide
|
Functions | |
def | _set_backend (backend) |
def | set_pythonization_scope (scope) |
def | add_pythonization (pythonizor) |
def | pin_type (derived_type, base_type) |
def | make_interface (base_type) |
def | ignore_type_pinning (some_type) |
def | cast (some_object, new_type) |
def | add_exception_mapping (cpp_exception, py_exception) |
def | set_gil_policy |
def | set_ownership_policy (match_class, match_method, python_owns_result) |
def | set_smart_ptr_policy |
def | rename_attribute |
def | add_overload (match_class, match_method, overload) |
def | compose_method (match_class, match_method, g) |
def | set_method_property (match_class, match_method, prop, value) |
def | make_property |
Variables | |
attr | |
match_class | |
match_attr | |
new_attr | |
keep_orig | |
match_method | |
overload | |
g | |
prop | |
value | |
match_get | |
match_set | |
match_del | |
match_many | |
prop_name | |
getter | |
setter | |
Pythonization API.
|
private |
Definition at line 12 of file _pythonization.py.
def _pythonization.add_exception_mapping | ( | cpp_exception, | |
py_exception | |||
) |
Definition at line 52 of file _pythonization.py.
def _pythonization.add_overload | ( | match_class, | |
match_method, | |||
overload | |||
) |
Definition at line 138 of file _pythonization.py.
def _pythonization.add_pythonization | ( | pythonizor | ) |
Takes a callable that should take two arguments -- the class proxy, and its C++ name -- and which is called the first time the named class is bound.
Definition at line 22 of file _pythonization.py.
def _pythonization.cast | ( | some_object, | |
new_type | |||
) |
Definition at line 48 of file _pythonization.py.
Referenced by ROOT::Vc::AVX::StaticCastHelper< float, short >.cast(), ROOT::Vc::AVX::StaticCastHelper< float, unsigned short >.cast(), ROOT::Vc::AVX::StaticCastHelper< sfloat, short >.cast(), ROOT::Vc::AVX::StaticCastHelper< sfloat, unsigned short >.cast(), TXMLPlayer.ElementGetter(), and ROOT::Vc::SSE::Vector< T >.staticCast().
def _pythonization.compose_method | ( | match_class, | |
match_method, | |||
g | |||
) |
Definition at line 161 of file _pythonization.py.
def _pythonization.ignore_type_pinning | ( | some_type | ) |
Definition at line 44 of file _pythonization.py.
def _pythonization.make_interface | ( | base_type | ) |
Definition at line 40 of file _pythonization.py.
def _pythonization.make_property | ( | match_class, | |
match_get, | |||
match_set = None , |
|||
match_del = None , |
|||
prop_name = None |
|||
) |
Definition at line 208 of file _pythonization.py.
def _pythonization.pin_type | ( | derived_type, | |
base_type | |||
) |
Definition at line 36 of file _pythonization.py.
Referenced by make_interface().
def _pythonization.rename_attribute | ( | match_class, | |
orig_attribute, | |||
new_attribute, | |||
keep_orig = False |
|||
) |
Definition at line 74 of file _pythonization.py.
def _pythonization.set_gil_policy | ( | match_class, | |
match_method, | |||
release_gil = True |
|||
) |
Definition at line 59 of file _pythonization.py.
def _pythonization.set_method_property | ( | match_class, | |
match_method, | |||
prop, | |||
value | |||
) |
Definition at line 186 of file _pythonization.py.
Referenced by set_gil_policy(), set_ownership_policy(), and set_smart_ptr_policy().
def _pythonization.set_ownership_policy | ( | match_class, | |
match_method, | |||
python_owns_result | |||
) |
Definition at line 63 of file _pythonization.py.
def _pythonization.set_pythonization_scope | ( | scope | ) |
Definition at line 16 of file _pythonization.py.
def _pythonization.set_smart_ptr_policy | ( | match_class, | |
match_method, | |||
manage_smart_ptr = False |
|||
) |
Definition at line 67 of file _pythonization.py.
_pythonization.attr |
Definition at line 78 of file _pythonization.py.
Referenced by TXMLEngine.AllocateAttr(), TGDMLParse.AssProcess(), BuildScopeProxyDict(), ClassImp(), TLDAPResult.CreateEntry(), TGLWidget.CreateWindow(), TGDMLParse.EleProcess(), TGX11.FindUsableVisual(), TXMLEngine.FreeAllAttr(), TXMLEngine.FreeAttr(), TXMLEngine.FreeNode(), TXMLEngine.GetAttr(), TPyClassGenerator.GetClass(), TXMLEngine.GetFirstAttr(), TGCocoa.GetGeometry(), TXMLEngine.GetIntAttr(), ROOT.GetRuleIncludes(), TGCocoa.GetWindowSize(), TGuiBldDragManager.GrabFrame(), TXMLEngine.HasAttr(), TX11GLManager.InitGLWindow(), TGCocoa.InitWindow(), TStreamerInfo.InsertArtificialElements(), TGWindow.IsMapped(), TGDMLParse.IsoProcess(), TLDAPEntry.IsReferral(), TGCocoa.MakeOpenGLContextCurrent(), TFile.MakeProject(), mg_start_thread(), mg_start_thread_with_id(), TXMLEngine.NewAttr(), XMLReader.Parse(), TGDMLParse.ParseGDML(), TLDAPEntry.Print(), BaseSelectionRule.PrintAttributes(), TXMLEngine.ReadNode(), TXMLEngine.SaveNode(), TGNumberEntryField.SetFormat(), TGNumberEntry.SetFormat(), TGNumberEntry.SetNumAttr(), TGToolTip.TGToolTip(), TGuiBldDragManager.TGuiBldDragManager(), TClingClassInfo.Title(), TGDMLParse.VolProcess(), and RooAbsArg.~RooAbsArg().
_pythonization.g |
Definition at line 167 of file _pythonization.py.
Referenced by TH2Poly.AddBin(), allMasks(), TColor.AsHexString(), assertdir(), TGeoMixture.AverageProperties(), TMVA.bdtcontrolplots(), BroadcastPriority(), TSpline3.BuildCoeff(), Rgl::Mc::TMeshBuilder< DataSource, ValueType >.BuildMesh(), TGLH2PolyPainter.CacheGeometry(), TPostScript.CellArrayFill(), changeown(), XrdProofdClientMgr.CheckClient(), XrdProofdManager.CheckUser(), TMath.ChisquareQuantile(), ClassImp(), CreateActiveList(), TGColorPick.CreateDitheredImage(), TColor.CreateGradientColorTable(), TGeoPainter.DefineColors(), ROOT::Math::GSLMultiRootFunctionAdapter< FuncVector >.Df(), ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector >.Df(), TDecompSVD.Diag_3(), TMultiGraph.DistancetoPrimitive(), TAdvancedGraphicsDialog.DrawConfidenceLevels(), TGQuartz.DrawFTGlyphIntoPixmap(), TASImage.DrawGlyph(), TGX11TTF.DrawImage(), TGWin32.DrawImage(), drawPoints(), TMVA::StatDialogBDT.DrawTree(), ROOT::Math::GSLMultiFit.Edm(), ErrorBand(), ROOT::Fit::FitUtil.EvaluateChi2Gradient(), ROOT::Fit::FitUtil.EvaluateLogLGradient(), ROOT::Fit::FitUtil.EvaluatePoissonLogLGradient(), XrdProofGroupMgr.Export(), ROOT::Math::GSLMultiRootFunctionAdapter< FuncVector >.FDf(), ROOT::Math::GSLMultiFitFunctionAdapter< FuncVector >.FDf(), TROOT.FindObjectClassName(), RooStats::HistFactory.FitModelAndPlot(), FitUsingRooFit2(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >.GausBM(), RooNDKeysPdf.gauss(), genPoisson2(), TH2PolyBin.GetArea(), TASImage.GetArray(), GetAverage(), TRootGuiBuilder.GetBgnd(), XrdProofdClientMgr.GetClient(), TColor.GetColor(), TGeoPainter.GetColor(), TColor.GetColorBright(), TGHtml.GetColorByValue(), TColor.GetColorDark(), HFit.GetDrawingRange(), RooStats::HypoTestInverterResult.GetExpectedLimit(), TEveManager.GetGeometry(), ROOT::Minuit2::ParametricFunction.GetGradient(), RooStats::HypoTestInverterResult.GetLimitDistribution(), RooStats::ProfileInspector.GetListOfProfilePlots(), TF1.GetMaximum(), TF1.GetMaximumX(), XrdProofSched.GetNumWorkers(), TColorWheel.GetObjectInfo(), TASImage.GetPixels(), TRootGuiBuilder.GetPopupBgnd(), TRootGuiBuilder.GetPopupHlght(), ROOT::Math::GoFTest.GetSigmaN(), TSVDUnfold.GetUnfoldCovMatrix(), XrdProofGroupMgr.GetUserGroup(), TF1.GetX(), TH2PolyBin.GetXMax(), TH2PolyBin.GetXMin(), TH2PolyBin.GetYMax(), TH2PolyBin.GetYMin(), TMVA::GeneticPopulation.GiveHint(), gl2psPrintPDFPixmapStreamData(), gl2psSVGGetColorString(), ROOT::Minuit2::Quad4FGrad.Gradient(), ROOT::Math::GSLMultiMinimizer.Gradient(), TASImage.Gray(), TGCompositeFrame.HandleDragEnter(), TPainter3dAlgorithms.ImplicitFunction(), TMultiGraph.InitGaus(), TColor.InitializeColors(), TGColorPick.InitImages(), TH2PolyBin.IsInside(), TMultiGraph.IsInside(), TH2Poly.IsIntersecting(), TMultiGraph.LeastSquareFit(), TMultiGraph.LeastSquareLinearFit(), TMatrixDSymEigen.MakeEigenVectors(), TMatrixDEigen.MakeHessenBerg(), TMatrixDSymEigen.MakeTridiagonal(), TListOfDataMembers.MapObject(), TPainter3dAlgorithms.MarchingCubeMiddlePoint(), XpdEnv.Matches(), TGraphErrors.Merge(), TGraphAsymmErrors.Merge(), TGraph.Merge(), ROOT::Math::GSLMinimizer.Minimize(), ROOT::Minuit2::VariableMetricBuilder.Minimum(), ROOT::Minuit2::FumiliBuilder.Minimum(), mvfile(), TMultiGraph.Paint(), TGraph2DPainter.PaintContour(), THistPainter.PaintH3Iso(), TMultiGraph.PaintPads(), TMultiGraph.PaintPolyLine3D(), THistPainter.PaintSurface(), THistPainter.PaintTH2PolyBins(), THistPainter.PaintTH2PolyColorLevels(), THistPainter.PaintTH2PolyScatterPlot(), XrdProofGroupMgr.ParseInfoFrom(), ROOT::MacOSX::X11::ColorParser.ParseRGBTriplet(), TColor.PixelAsHexString(), TRandom.Poisson(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >.Poisson(), TRandom.PoissonD(), ROOT::Math::RandomFunctionsImpl< TRandomEngine >.PoissonD(), TMultiGraph.Print(), XrdProofGroupMgr.Print(), XpdEnv.Print(), TGColorDialog.ProcessMessage(), TGX11.QueryColors(), TGWin32.QueryColors(), RooFitResult.randomizePars(), XrdProofGroupMgr.ReadPriorities(), TPad.RedrawAxis(), TGLOverlayButton.Render(), TColor.RGB2HLS(), TColor.RGB2HSV(), TColor.SaveColor(), TMultiGraph.SavePrimitive(), ROOT::Vc::AVX::VectorHelper< float >.set(), ROOT::Vc::AVX::VectorHelper< int >.set(), ROOT::Vc::AVX::VectorHelper< unsigned int >.set(), ROOT::Vc::AVX::VectorHelper< signed short >.set(), ROOT::Vc::SSE::VectorHelper< signed short >.set(), ROOT::Vc::AVX::VectorHelper< unsigned short >.set(), ROOT::Vc::SSE::VectorHelper< unsigned short >.set(), TMVA::DecisionTreeNode.SetAlphaMinSubtree(), TEveFrameBox.SetBackColorRGBA(), TTeXDump.SetColor(), TPDF.SetColor(), TPostScript.SetColor(), TGColorPick.SetColor(), TGLColor.SetColor(), TEveUtil.SetColorBrightness(), TSpectrum2Painter.SetColorIncrements(), TEveRGBAPalette.SetDefaultColorRGBA(), TEveFrameBox.SetFrameColorRGBA(), XrdProofdClient.SetGroup(), XrdProofdProofServ.SetGroup(), XrdProofdPriorityMgr.SetGroupPriority(), TEveRGBAPalette.SetOverColorRGBA(), TGeoMaterial.SetRadLen(), TColor.SetRGB(), XrdProofdAdmin.SetROOTVersion(), TGColorPick.SetSliderColor(), TEveTriangleSet.SetTriangleColor(), TEveRGBAPalette.SetUnderColorRGBA(), TGeoTorus.SolveQuartic(), TColor.TColor(), ROOT::Math::GSLMultiMinimizer.TestGradient(), TestSpeed(), TGColorDialog.TGColorDialog(), TGraph2D.TGraph2D(), TGraphDelaunay.TGraphDelaunay(), TListOfDataMembers.UnmapObject(), TListOfDataMembers.Update(), TGColorPick.UpdateCurrentColor(), TGColorDialog.UpdateHLSentries(), TCling.UpdateListsOnUnloaded(), TGColorDialog.UpdateRGBentries(), TASImage.Vectorize(), TGX11.WriteGIF(), TGWin32.WriteGIF(), and TMultiGraph.~TMultiGraph().
_pythonization.getter |
Definition at line 245 of file _pythonization.py.
Referenced by TClassDocOutput.ListFunctions(), and rename_attribute().
_pythonization.keep_orig |
Definition at line 99 of file _pythonization.py.
_pythonization.match_attr |
Definition at line 97 of file _pythonization.py.
_pythonization.match_class |
Definition at line 96 of file _pythonization.py.
_pythonization.match_del |
Definition at line 226 of file _pythonization.py.
_pythonization.match_get |
Definition at line 214 of file _pythonization.py.
_pythonization.match_many |
Definition at line 233 of file _pythonization.py.
_pythonization.match_method |
Definition at line 143 of file _pythonization.py.
_pythonization.match_set |
Definition at line 218 of file _pythonization.py.
_pythonization.new_attr |
Definition at line 98 of file _pythonization.py.
_pythonization.overload |
Definition at line 144 of file _pythonization.py.
_pythonization.prop |
Definition at line 192 of file _pythonization.py.
Referenced by TLatex.Analyse(), TStructNodeEditor.ColorSelectedSlot(), TStructViewerGUI.ColorSelectedSlot(), TStructNodeProperty.Compare(), TStructNodeEditor.DefaultButtonSlot(), TStructNodeEditor.FindNodeProperty(), TStructViewerGUI.FindNodeProperty(), TStructViewer.GetColor(), TStructViewerGUI.GetColor(), TGuiBldDragManager.GetGlobalFontDialog(), gl2psPDFgroupListWriteObjects(), TGTextEditor.ProcessMessage(), TDataMember.Property(), RooSharedPropertiesList.registerProperties(), TGWin32.SetClassHints(), TStructViewer.SetColor(), TGX11.SetMWMHints(), TEveTrack.SetPropagator(), TEveTrackList.SetPropagator(), RooSharedPropertiesList.unregisterProperties(), TGenCollectionProxy::Value.Value(), TGWin32.WMDeleteNotify(), and RooSharedPropertiesList.~RooSharedPropertiesList().
_pythonization.prop_name |
Definition at line 240 of file _pythonization.py.
_pythonization.setter |
Definition at line 254 of file _pythonization.py.
Referenced by TMVA::MethodBase.DisableWriting().
_pythonization.value |
Definition at line 193 of file _pythonization.py.