The Gaudi Framework
master (82fdf313)
Loading...
Searching...
No Matches
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
}
SmartRefVector.h
SmartRefVectorImpl::PyObject
_object PyObject
Definition
SmartRefVector.h:19
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 Oct 2 2025 15:31:11 for The Gaudi Framework by
1.13.1