Logo ROOT   6.08/07
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-v608/rootspi/rdoc/src/v6-08-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 106 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 568 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::TNonConstUCStringConverter, and PyROOT::TNonConstCStringConverter.

Definition at line 547 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 585 of file Converters.cxx.

Member Data Documentation

◆ fBuffer

std::string PyROOT::TCStringConverter::fBuffer
protected

Definition at line 114 of file Converters.h.

◆ fMaxSize

UInt_t PyROOT::TCStringConverter::fMaxSize
protected

Definition at line 115 of file Converters.h.


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