The Gaudi Framework
v37r1 (a7f61348)
SmartRefVector.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2021 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.
bug_34121.name
name
Definition:
bug_34121.py:20
SmartRefVector.h
SmartRefVectorImpl::PyObject
_object PyObject
Definition:
SmartRefVector.h:32
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 Mon Oct 30 2023 11:39:55 for The Gaudi Framework by
1.8.18