Logo ROOT  
Reference Guide
TPyBufferFactory.h
Go to the documentation of this file.
1// @(#)root/pyroot:$Id$
2// Author: Wim Lavrijsen, Apr 2004
3
4#ifndef PYROOT_TPYBUFFERFACTORY_H
5#define PYROOT_TPYBUFFERFACTORY_H
6
7
8namespace PyROOT {
9
10/** Factory for python buffers of non-string type
11 @author WLAV
12 @date 10/28/2004
13 @version 1.5
14*/
15
17public:
18 static TPyBufferFactory* Instance();
19
31 PyObject* PyBuffer_FromMemory( Int_t* buf, PyObject* sizeCallback );
42
43protected:
46};
47
49
50} // namespace PyROOT
51
52
53#endif // !PYROOT_TPYBUFFERFACTORY_H
int Py_ssize_t
Definition: PyROOT.h:171
unsigned short UShort_t
Definition: RtypesCore.h:36
int Int_t
Definition: RtypesCore.h:41
unsigned char UChar_t
Definition: RtypesCore.h:34
char Char_t
Definition: RtypesCore.h:29
unsigned int UInt_t
Definition: RtypesCore.h:42
unsigned long ULong_t
Definition: RtypesCore.h:51
long Long_t
Definition: RtypesCore.h:50
bool Bool_t
Definition: RtypesCore.h:59
short Short_t
Definition: RtypesCore.h:35
double Double_t
Definition: RtypesCore.h:55
float Float_t
Definition: RtypesCore.h:53
_object PyObject
Definition: TPyArg.h:20
Factory for python buffers of non-string type.
PyObject * PyBuffer_FromMemory(UChar_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(UShort_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(Float_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(Long_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(Bool_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(ULong_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(Char_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Double_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(UInt_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(UInt_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(ULong_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Double_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Int_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Bool_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Long_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Char_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(UChar_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(Short_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Float_t *buf, Py_ssize_t size=-1)
static TPyBufferFactory * Instance()
PyObject * PyBuffer_FromMemory(UShort_t *buf, Py_ssize_t size=-1)
PyObject * PyBuffer_FromMemory(Int_t *buf, PyObject *sizeCallback)
PyObject * PyBuffer_FromMemory(Short_t *buf, PyObject *sizeCallback)
TPyBufferFactory BufFac_t