ROOT
6.12/07
Reference Guide
bindings
pyroot
src
TConstructorHolder.h
Go to the documentation of this file.
1
// @(#)root/pyroot:$Id$
2
// Author: Wim Lavrijsen, Apr 2004
3
4
#ifndef PYROOT_TCONSTRUCTORHOLDER_H
5
#define PYROOT_TCONSTRUCTORHOLDER_H
6
7
// Bindings
8
#include "
TMethodHolder.h
"
9
10
11
namespace
PyROOT
{
12
13
class
TConstructorHolder
:
public
TMethodHolder
{
14
public
:
15
using
TMethodHolder::TMethodHolder
;
16
17
public
:
18
virtual
PyObject
*
GetDocString
();
19
virtual
PyCallable
*
Clone
() {
return
new
TConstructorHolder
( *
this
); }
20
21
public
:
22
virtual
PyObject
*
Call
(
23
ObjectProxy
*&
self
,
PyObject
* args,
PyObject
* kwds,
TCallContext
* ctxt = 0 );
24
25
protected
:
26
virtual
Bool_t
InitExecutor_
(
TExecutor
*&,
TCallContext
* ctxt = 0 );
27
};
28
29
}
// namespace PyROOT
30
31
#endif // !PYROOT_TCONSTRUCTORHOLDER_H
PyROOT::TConstructorHolder::Clone
virtual PyCallable * Clone()
Definition:
TConstructorHolder.h:19
PyROOT::TConstructorHolder::InitExecutor_
virtual Bool_t InitExecutor_(TExecutor *&, TCallContext *ctxt=0)
install executor conform to the return type
Definition:
TConstructorHolder.cxx:16
PyROOT::TCallContext
Definition:
TCallContext.h:32
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
PyROOT::TMethodHolder
Definition:
TMethodHolder.h:20
PyROOT::TExecutor
Definition:
Executors.h:16
TMethodHolder.h
PyROOT::TConstructorHolder
Definition:
TConstructorHolder.h:13
PyROOT::TConstructorHolder::Call
virtual PyObject * Call(ObjectProxy *&self, PyObject *args, PyObject *kwds, TCallContext *ctxt=0)
preliminary check in case keywords are accidently used (they are ignored otherwise) ...
Definition:
TConstructorHolder.cxx:35
PyROOT::PyCallable
Definition:
PyCallable.h:15
PyROOT::TMethodHolder::TMethodHolder
TMethodHolder(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
Definition:
TMethodHolder.cxx:246
PyROOT
Definition:
TPyException.h:40
PyROOT::TConstructorHolder::GetDocString
virtual PyObject * GetDocString()
Definition:
TConstructorHolder.cxx:24
PyROOT::ObjectProxy
Definition:
ObjectProxy.h:28
PyObject
_object PyObject
Definition:
TPyArg.h:20