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\***********************************************************************************/
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}
static void __cppyy_pythonize__(PyObject *klass, const std::string &name)