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

Definition at line 105 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 ()
 
virtual PyObjectFromMemory (void *address)
 
virtual Bool_t SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)=0
 
virtual Bool_t ToMemory (PyObject *value, void *address)
 could happen if no derived class override More...
 

Protected Attributes

std::string fBuffer
 
UInt_t fMaxSize
 

#include </home/sftnight/build/workspace/root-makedoc-v616/rootspi/rdoc/src/v6-16-00-patches/bindings/pyroot/src/Converters.h>

Inheritance diagram for PyROOT::TCStringConverter:
[legend]

Constructor & Destructor Documentation

◆ TCStringConverter()

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

Definition at line 107 of file Converters.h.

Member Function Documentation

◆ FromMemory()

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

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 
)
virtual

construct a new string and copy it in new memory

Implements PyROOT::TConverter.

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

Definition at line 551 of file Converters.cxx.

◆ ToMemory()

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

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
protected

Definition at line 115 of file Converters.h.

◆ fMaxSize

UInt_t PyROOT::TCStringConverter::fMaxSize
protected

Definition at line 116 of file Converters.h.

Libraries for PyROOT::TCStringConverter:
[legend]

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