10 #ifndef KERNEL_SMARTREFVECTOR_H
11 #define KERNEL_SMARTREFVECTOR_H 1
59 typedef std::vector <_Entry>
_Base;
73 (*i)._setEnvironment(pObj, pContd);
83 template <
class ITERATOR>
122 _Base::operator=(copy);
132 const std::type_info*
type()
const {
133 return &
typeid(TYPE);
141 friend StreamBuffer& operator<< (StreamBuffer& _s, const SmartRefVector<TYPE>& ptr) {
142 return ptr.writeRefs(_s);
151 template <
class TYPE>
inline
153 long len = _Base::size();
156 (*i)._setEnvironment(m_data, m_contd);
162 template <
class TYPE>
inline
167 for (
long i = 0;
i < len;
i++ ) {
169 entry._setEnvironment(m_data, m_contd);
171 _Base::push_back( entry );
176 #endif // KERNEL_SMARTREFVECTOR_H