ROOT  6.06/09
Reference Guide
Classes | Functions | Variables
cppyy Namespace Reference

Classes

class  _Double
 
class  _global_cpp
 
class  _ns_meta
 
class  _stdmeta
 
class  double
 
class  long_int
 
class  short
 
class  Template
 
More...
 
class  unsigned_int
 
class  unsigned_long
 
class  unsigned_short
 

Functions

def get_version ()
 helper to get the version number from root-config More...
 
def _CreateScopeProxy (self, name)
 
def _LookupCppEntity (self, name)
 
def _AddressOf (self, obj)
 
def with_metaclass (meta, bases)
 

– metaclass helper from six ------------------------------------------—— – https://bitbucket.org/gutworth/six/src/8a545f4e906f6f479a6eb8837f31d03731597687/six.py?at=default#cl-800 More...

 
def loadDictionary (name)
 
def load_reflection_info (name)
 
def Namespace (name)
 
def makeClass (name)
 
def addressOf (obj)
 
def getAllClasses ()
 
def add_smart_pointer (typename)
 

Variables

 _builtin_cppyy = True
 PyPy has 'cppyy' builtin (if enabled, that is) More...
 
list _thismodule = sys.modules[ __name__ ]
 
 _backend = _thismodule.gbl
 
tuple needsGlobal = ( 0 <= sys.platform.find( 'linux' ) )
 
tuple dlflags = sys.getdlopenflags()
 
 loadDict = loadDictionary
 
 makeNamespace = Namespace
 
 addressof = _backend.addressof
 
 gbl = _global_cpp
 
int NULL = 0
 
 bind_object = _backend.BindObject
 

Detailed Description

Dynamic C++ bindings generator.

Function Documentation

def cppyy._AddressOf (   self,
  obj 
)
private

Definition at line 42 of file cppyy.py.

def cppyy._CreateScopeProxy (   self,
  name 
)
private

Definition at line 31 of file cppyy.py.

def cppyy._LookupCppEntity (   self,
  name 
)
private

Definition at line 35 of file cppyy.py.

def cppyy.add_smart_pointer (   typename)
Add a smart pointer to the list of known smart pointer types.

Definition at line 222 of file cppyy.py.

def cppyy.addressOf (   obj)

Definition at line 208 of file cppyy.py.

def cppyy.get_version ( )

helper to get the version number from root-config

Definition at line 7 of file cppyy.py.

def cppyy.getAllClasses ( )

Definition at line 212 of file cppyy.py.

def cppyy.load_reflection_info (   name)

Definition at line 153 of file cppyy.py.

def cppyy.loadDictionary (   name)

Definition at line 145 of file cppyy.py.

def cppyy.makeClass (   name)

Definition at line 205 of file cppyy.py.

Referenced by getAllClasses(), RooClassFactory.makeFunction(), and RooClassFactory.makePdf().

def cppyy.Namespace (   name)
def cppyy.with_metaclass (   meta,
  bases 
)


– metaclass helper from six ------------------------------------------—— – https://bitbucket.org/gutworth/six/src/8a545f4e906f6f479a6eb8837f31d03731597687/six.py?at=default#cl-800

Copyright (c) 2010-2015 Benjamin Peterson

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Create a base class with a metaclass.

Definition at line 101 of file cppyy.py.

Variable Documentation

cppyy._backend = _thismodule.gbl

Definition at line 28 of file cppyy.py.

cppyy._builtin_cppyy = True

PyPy has 'cppyy' builtin (if enabled, that is)

Definition at line 20 of file cppyy.py.

list cppyy._thismodule = sys.modules[ __name__ ]

Definition at line 27 of file cppyy.py.

cppyy.addressof = _backend.addressof

Definition at line 210 of file cppyy.py.

cppyy.bind_object = _backend.BindObject

Definition at line 245 of file cppyy.py.

tuple cppyy.dlflags = sys.getdlopenflags()

Definition at line 57 of file cppyy.py.

cppyy.gbl = _global_cpp

Definition at line 228 of file cppyy.py.

cppyy.loadDict = loadDictionary

Definition at line 151 of file cppyy.py.

cppyy.makeNamespace = Namespace

Definition at line 203 of file cppyy.py.

tuple cppyy.needsGlobal = ( 0 <= sys.platform.find( 'linux' ) )

Definition at line 53 of file cppyy.py.

int cppyy.NULL = 0

Definition at line 230 of file cppyy.py.