Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | List of all members
PyROOT::TNonConstCStringConverter Class Reference

Definition at line 119 of file Converters.h.

Public Member Functions

 TNonConstCStringConverter (UInt_t maxSize=UINT_MAX)
 
virtual PyObjectFromMemory (void *address)
 assume this is a buffer access if the size is known; otherwise assume string More...
 
virtual Bool_t SetArg (PyObject *, TParameter &, TCallContext *ctxt=0)
 attempt base class first (i.e. passing a string), but if that fails, try a buffer More...
 
- Public Member Functions inherited from PyROOT::TCStringConverter
 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...
 

Additional Inherited Members

- Protected Attributes inherited from PyROOT::TCStringConverter
std::string fBuffer
 
UInt_t fMaxSize
 

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

Inheritance diagram for PyROOT::TNonConstCStringConverter:
[legend]

Constructor & Destructor Documentation

◆ TNonConstCStringConverter()

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

Definition at line 121 of file Converters.h.

Member Function Documentation

◆ FromMemory()

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

assume this is a buffer access if the size is known; otherwise assume string

Reimplemented from PyROOT::TCStringConverter.

Definition at line 650 of file Converters.cxx.

◆ SetArg()

Bool_t PyROOT::TNonConstCStringConverter::SetArg ( PyObject pyobject,
TParameter para,
TCallContext ctxt = 0 
)
virtual

attempt base class first (i.e. passing a string), but if that fails, try a buffer

Reimplemented from PyROOT::TCStringConverter.

Reimplemented in PyROOT::TNonConstUCStringConverter.

Definition at line 636 of file Converters.cxx.


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