ATLAS Offline Software
Static Public Member Functions | List of all members
Py::cnv< std::string > Struct Reference

#include <PyDataStore.h>

Collaboration diagram for Py::cnv< std::string >:

Static Public Member Functions

static Py::Object to (const std::string &t)
 
static PyObjecttoPy (const std::string &t)
 

Detailed Description

Definition at line 110 of file PyDataStore.h.

Member Function Documentation

◆ to()

static Py::Object Py::cnv< std::string >::to ( const std::string &  t)
inlinestatic

Definition at line 112 of file PyDataStore.h.

113  { return Py::String(t); }

◆ toPy()

static PyObject* Py::cnv< std::string >::toPy ( const std::string &  t)
inlinestatic

Definition at line 106 of file PyStoreCnvUtils.h.

107  {
108  return Py_BuildValue( const_cast<char*>("s#"),
109  const_cast<char*>(t.c_str()),
110  t.size() );
111  }

The documentation for this struct was generated from the following files:
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5