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
\***********************************************************************************/
11
#include <
GaudiKernel/SmartRefVector.h
>
12
#include <Python.h>
13
#include <RVersion.h>
14
15
void
SmartRefVectorImpl::SmartRefVectorPythonizer::__cppyy_pythonize__
(
PyObject
* klass,
const
std::string
&
name
) {
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
GaudiKernel
src
Lib
SmartRefVector.cpp
Generated on Thu Dec 19 2024 15:35:04 for The Gaudi Framework by
1.8.18