5 #ifndef GEOMODELKERNEL_CONSTLINK_H 6 #define GEOMODELKERNEL_CONSTLINK_H 63 int operator<(const ConstLink< T > &right)
const;
73 int operator<=(const ConstLink< T > &right)
const;
95 operator bool ()
const;
123 :
m_ptr(const_cast<T *> (target))
125 if (target) target->ref();
virtual const T * operator->() const
Dereference: t->method()
int operator>(const ConstLink< T > &right) const
Relational operator.
int operator==(const ConstLink< T > &right) const
Equality.
ConstLink< T > & operator=(const ConstLink< T > &right)
Assignment.
int operator!=(const ConstLink< T > &right) const
Inequality.
int operator>=(const ConstLink< T > &right) const
Relational operator.
virtual const T & operator*() const
Dereference: (*t).method();.
T * m_ptr
Raw pointer to reference counted object.
int operator<(const ConstLink< T > &right) const
Relational operator.
Smart links to reference-counted pointers. Used in this package for calorimeter cells Template Smart ...
virtual ~ConstLink()
Destructor.
int operator<=(const ConstLink< T > &right) const
Relational operator.