#include <OTC/refcnt/ctrptr.hh> template<class T> class OTC_CtrPtr : public OTC_CCtrPtr<T> {
public:
inline OTC_CtrPtr();
inline OTC_CtrPtr(T* theItem);
inline OTC_CtrPtr(OTC_CtrPtr<T> const& theCtrPtr);
inline T* item() const;
inline T* operator->() const;
inline operator T*() const;
inline T& operator*() const;
inline OTC_CtrPtr<T>& operator=(OTC_CtrPtr<T> const& theCtrPtr);
inline OTC_CtrPtr<T>& operator=(T* theItem);
};
inline OTC_CtrPtr();
inline OTC_CtrPtr(T* theItem);
theItem
.
inline OTC_CtrPtr(OTC_CtrPtr<T> const& theCtrPtr);
theCtrPtr
.
inline T* item() const;
inline T* operator->() const;
inline operator T*() const;
inline T& operator*() const;
inline OTC_CtrPtr<T>& operator=(OTC_CtrPtr<T> const& theCtrPtr);
theCtrPtr
.
inline OTC_CtrPtr<T>& operator=(T* theItem);
theItem
.