1 #ifndef CLASSIC_OwnPtr_HH
2 #define CLASSIC_OwnPtr_HH
30 template <
class Object>
86 template <
class Object>
92 template <
class Object>
99 template <
class Object>
105 template <
class Object>
111 template <
class Object>
113 if(
object != rhs.
object) {
123 template <
class Object>
131 template <
class Object>
137 template <
class Object>
143 template <
class Object>
149 template <
class Object>
The base class for all OPAL objects.
A pointer which owns the object pointed at.
Object * operator->() const
Delegation operator.
OwnPtr & operator=(Object *)
Assign.
OwnPtr()
Default constructor.
Object * release()
Release ownership.
bool isValid() const
Test for validity.
OwnPtr & operator=(const OwnPtr &)
Assign.
OwnPtr(const OwnPtr &)
Copy constructor.
Object & operator*() const
Dereferencing operator.
OwnPtr(Object *)
Constructor.