Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
71 typedef std::vector<_Entry>
_Base;
88 using SmartRefVectorPythonizer::__cppyy_pythonize__;
94 template <
class ITERATOR>
121 _Base::operator=( copy );
131 const std::type_info*
type()
const {
return &
typeid( TYPE ); }
144 template <
class TYPE>
149 ( *i )._setEnvironment( m_data, m_contd );
150 ( *i ).writeRef(
s );
155 template <
class TYPE>
160 for (
long i = 0; i < len; i++ ) {
162 entry._setEnvironment( m_data, m_contd );
164 _Base::push_back( entry );
constexpr auto size(const T &, Args &&...) noexcept
Kernel objects: SmartRefVector.
friend StreamBuffer & operator<<(StreamBuffer &_s, const SmartRefVector< TYPE > &ptr)
Output Streamer operator.
std::vector< _Entry >::value_type _BaseValueType
SmartRefVector< TYPE > & operator()(ContainedObject *pObj)
operator(): assigns parent object for serialisation
SmartRefVector< TYPE > & operator()(DataObject *pObj)
operator(): assigns parent object for serialisation
const ContainedObject * m_contd
Object data: Pointer to the Contained object (if applicable)
const SmartRefVector< TYPE > & operator()(const DataObject *pObj) const
operator() const: assigns parent object for serialisation
SmartRefVector(const SmartRefVector ©)
AttribStringParser::Iterator begin(const AttribStringParser &parser)
const std::type_info * type() const
Access to embedded type.
StreamBuffer & writeRefs(StreamBuffer &s) const
Helper to write references.
std::vector< _Entry >::const_iterator _BaseConstIter
std::vector< _Entry > _Base
Object types: typedef myself as Base.
const DataObject * m_data
Object data: Pointer to the identifiable object the link originates.
const ObjectContainerBase * parent() const
Access to parent object.
struct GAUDI_API vector
Parametrisation class for vector-like implementation.
friend StreamBuffer & operator>>(StreamBuffer &_s, SmartRefVector< TYPE > &ptr)
Input Streamer operator.
SmartRefVector(ITERATOR first, ITERATOR last)
SmartRef< TYPE > _Entry
That's the type of crap I am hosting.
SmartRefVector< TYPE > & operator=(const SmartRefVector< TYPE > ©)
Assignment.
const SmartRefVector< TYPE > & operator()(const ContainedObject *pObj) const
operator() const: assigns parent object for serialisation
StreamBuffer & readRefs(StreamBuffer &s)
Helper to read references.
Kernel objects: SmartRef.
void _setEnvironment(const DataObject *pObj, const ContainedObject *pContd) const
Set the environment for the vector and all contained objects references.
static void __cppyy_pythonize__(PyObject *klass, const std::string &name)