The Gaudi Framework  master (37c0b60a)
SmartRefVector.cpp
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
12 #include <Python.h>
13 #include <RVersion.h>
14 
16  if ( name.substr( 0, 15 ) == "SmartRefVector<" ) {
17  PyObject_DelAttrString( klass, "__getitem__" );
18  PyObject_DelAttrString( klass, "__setitem__" );
19  }
20 }
std::string
STL class.
SmartRefVector.h
SmartRefVectorImpl::PyObject
_object PyObject
Definition: SmartRefVector.h:32
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
SmartRefVectorImpl::SmartRefVectorPythonizer::__cppyy_pythonize__
static void __cppyy_pythonize__(PyObject *klass, const std::string &name)
Definition: SmartRefVector.cpp:15