#include <Converters.h>
Inheritance diagram for PyROOT::TCStringConverter:

Public Member Functions | |
| TCStringConverter (UInt_t maxSize=UINT_MAX) | |
| virtual Bool_t | SetArg (PyObject *, TParameter &, G__CallFunc *=0, Long_t=0) |
| virtual PyObject * | FromMemory (void *address) |
| virtual Bool_t | ToMemory (PyObject *value, void *address) |
Private Attributes | |
| std::string | fBuffer |
| UInt_t | fMaxSize |
Definition at line 115 of file Converters.h.
| PyROOT::TCStringConverter::TCStringConverter | ( | UInt_t | maxSize = UINT_MAX |
) | [inline] |
Definition at line 117 of file Converters.h.
| Bool_t PyROOT::TCStringConverter::SetArg | ( | PyObject * | , | |
| TParameter & | , | |||
| G__CallFunc * | = 0, |
|||
| Long_t | = 0 | |||
| ) | [virtual] |
Implements PyROOT::TConverter.
Definition at line 463 of file Converters.cxx.
References fBuffer, fMaxSize, func(), kFALSE, kTRUE, para(), PyROOT_PyUnicode_AsStringChecked, and s.
| PyObject * PyROOT::TCStringConverter::FromMemory | ( | void * | address | ) | [virtual] |
Reimplemented from PyROOT::TConverter.
Definition at line 486 of file Converters.cxx.
References buf, fMaxSize, PyROOT::PyStrings::gEmptyString, and PyROOT_PyUnicode_FromString.
Reimplemented from PyROOT::TConverter.
Definition at line 503 of file Converters.cxx.
References fMaxSize, kFALSE, kTRUE, PyROOT_PyUnicode_AsStringChecked, PyROOT_PyUnicode_GET_SIZE, s, and strcpy().
UInt_t PyROOT::TCStringConverter::fMaxSize [private] |
1.5.1