Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
PyROOT::TCStringConverter Class Reference

Definition at line 104 of file Converters.h.

Public Member Functions

 TCStringConverter (UInt_t maxSize=UINT_MAX)
virtual PyObjectFromMemory (void *address)
virtual Bool_t SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)
 construct a new string and copy it in new memory More...
virtual Bool_t ToMemory (PyObject *value, void *address)
 could happen if no derived class override More...
- Public Member Functions inherited from PyROOT::TConverter
virtual ~TConverter ()

Protected Attributes

std::string fBuffer
UInt_t fMaxSize

#include </mnt/build/workspace/root-makedoc-v610/rootspi/rdoc/src/v6-10-00-patches/bindings/pyroot/src/Converters.h>

Inheritance diagram for PyROOT::TCStringConverter:

Constructor & Destructor Documentation

◆ TCStringConverter()

PyROOT::TCStringConverter::TCStringConverter ( UInt_t  maxSize = UINT_MAX)

Definition at line 106 of file Converters.h.

Member Function Documentation

◆ FromMemory()

PyObject * PyROOT::TCStringConverter::FromMemory ( void address)

Reimplemented from PyROOT::TConverter.

Reimplemented in PyROOT::TNonConstCStringConverter.

Definition at line 572 of file Converters.cxx.

◆ SetArg()

Bool_t PyROOT::TCStringConverter::SetArg ( PyObject pyobject,
TParameter para,
TCallContext ctxt = 0 

construct a new string and copy it in new memory

Implements PyROOT::TConverter.

Reimplemented in PyROOT::TNonConstUCStringConverter, and PyROOT::TNonConstCStringConverter.

Definition at line 551 of file Converters.cxx.

◆ ToMemory()

Bool_t PyROOT::TCStringConverter::ToMemory ( PyObject value,
void address 

could happen if no derived class override

Reimplemented from PyROOT::TConverter.

Definition at line 589 of file Converters.cxx.

Member Data Documentation

◆ fBuffer

std::string PyROOT::TCStringConverter::fBuffer

Definition at line 114 of file Converters.h.

◆ fMaxSize

UInt_t PyROOT::TCStringConverter::fMaxSize

Definition at line 115 of file Converters.h.

The documentation for this class was generated from the following files: