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

#include <PyDataStore.h>

Collaboration diagram for Py::cnv< bool >:

Static Public Member Functions

static Py::Object to (bool t)
 
static PyObjecttoPy (bool t)
 

Detailed Description

Definition at line 89 of file PyDataStore.h.

Member Function Documentation

◆ to()

static Py::Object Py::cnv< bool >::to ( bool  t)
inlinestatic

Definition at line 91 of file PyDataStore.h.

92  { return Py::Object( t ? Py_True : Py_False ); }

◆ toPy()

static PyObject* Py::cnv< bool >::toPy ( bool  t)
inlinestatic

Definition at line 117 of file PyStoreCnvUtils.h.

118  { return Py_BuildValue( const_cast<char*>("b"), t ); }

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