#include <Rep.h>
Public Member Functions | |
operator const void * () const | |
Protected Member Functions | |
virtual | ~RepPtrBase () |
virtual const Rep * | refbase () const =0 |
Friends | |
std::ostream & | operator<< (std::ostream &str, const RepPtrBase &obj) |
Provides stream output operator and conversion to 'const void *' to allow pointer comparison and test for NULL.
See PtrBase and constPtrBase
virtual RepPtrBase::~RepPtrBase | ( | ) | [inline, protected, virtual] |
virtual destructor;
RepPtrBase::operator const void * | ( | ) | const [inline] |
Conversion to 'const void *' to allow pointer comparison and test for NULL.
References refbase().
virtual const Rep* RepPtrBase::refbase | ( | ) | const [protected, pure virtual] |
Derived class must provide the objects 'Rep *'
Implemented in Ptr< _Tp, _Bt >, and constPtr< _Tp, _Bt >.
Referenced by operator const void *(), and operator<<().
std::ostream& operator<< | ( | std::ostream & | str, | |
const RepPtrBase & | obj | |||
) | [friend] |
Stream output operator for all counted pointer classes.