15 #include "CeeCore/Base.h" 43 inline const T*
get()
const;
69 #include "CeeCore/PtrRef.inl" T * detach()
Detach the PtrRef from the internal object WITHOUT calling release on the object. ...
Definition: PtrRef.inl:289
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
void swap(PtrRef &other)
Exchanges the contents of the two smart pointers.
Definition: PtrRef.inl:272
PtrRef & operator=(T *rhs)
Assigns from raw pointer.
Definition: PtrRef.inl:111
bool operator!=(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are different.
Definition: PtrRef.h:58
Smart pointer class used for handling reference counted objects (that derive from Object)...
Definition: PtrRef.h:26
bool operator==(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are equal.
Definition: PtrRef.h:57
T & operator*()
Dereference operator returning a modifiable reference to the associated object.
Definition: PtrRef.inl:185
PtrRef(T *object=NULL)
Constructs an object from naked pointer.
Definition: PtrRef.inl:35
T *PtrRef::* unspecified_bool_type
Helper type to implement the safe-bool idiom.
Definition: PtrRef.h:50
bool operator<(const PtrRef &rhs) const
Does less than comparison of two PtrRef objects.
Definition: PtrRef.inl:233
const T * get() const
Returns naked const pointer.
Definition: PtrRef.inl:217
T * operator->()
Returns the naked pointer this object is associated with.
Definition: PtrRef.inl:157