Go to the documentation of this file.
20 #ifndef KERNEL_SMARTREFVECTOR_H
21 #define KERNEL_SMARTREFVECTOR_H 1
101 using SmartRefVectorPythonizer::__cppyy_pythonize__;
109 template <
class ITERATOR>
163 template <
class TYPE>
168 ( *i )._setEnvironment( m_data, m_contd );
169 ( *i ).writeRef(
s );
174 template <
class TYPE>
179 for (
long i = 0; i < len; i++ ) {
181 entry._setEnvironment( m_data, m_contd );
188 #endif // KERNEL_SMARTREFVECTOR_H
void push_back(Container &c, const Value &v, std::true_type)
constexpr auto size(const T &, Args &&...) noexcept
Kernel objects: SmartRefVector.
friend StreamBuffer & operator<<(StreamBuffer &_s, const SmartRefVector< TYPE > &ptr)
Output Streamer operator.
SmartRefVector()
Standard Constructor.
std::vector< _Entry >::value_type _BaseValueType
SmartRefVector< TYPE > & operator()(ContainedObject *pObj)
Standard destructor.
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 ©)
Copy Constructor.
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.
friend StreamBuffer & operator>>(StreamBuffer &_s, SmartRefVector< TYPE > &ptr)
Input Streamer operator.
SmartRefVector(ITERATOR first, ITERATOR last)
templated Constructor
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)