template<typename T, ptr::SafeProperty property> class GradSoft::owned_ptr
owned_ptr: combination of pointer and explicit ownity flag; - we use this pointer, when we want explicity set memory ownership of pointer during transfer or copying;
- second template parameter means safety.
Inheritance:
Public Methods
-
owned_ptr(T* p = NULL, bool ownity=false) throw()
-
owned_ptr& set(owned_ptr& x, bool passOwnership)
-
owned_ptr& set(T* x, bool passOwnership)
-
~owned_ptr() throw()
-
T* operator->() const throw(NullPointerException)
-
T& operator*() const throw(NullPointerException)
-
T* get() const throw()
-
bool get_ownity() const throw()
-
T* call_get() const throw(NullPointerException)
-
T* release() throw()
-
void reset(T* p) throw()
Public Members
-
typedef owned_ptr_traits<T,property> traits_type
Documentation
owned_ptr: combination of pointer and explicit ownity flag;
- we use this pointer, when we want explicity set memory ownership
of pointer during transfer or copying;
- second template parameter means safety.
typedef owned_ptr_traits<T,property> traits_type
owned_ptr(T* p = NULL, bool ownity=false) throw()
owned_ptr& set(owned_ptr& x, bool passOwnership)
owned_ptr& set(T* x, bool passOwnership)
~owned_ptr() throw()
T* operator->() const throw(NullPointerException)
T& operator*() const throw(NullPointerException)
T* get() const throw()
bool get_ownity() const throw()
T* call_get() const throw(NullPointerException)
T* release() throw()
void reset(T* p) throw()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.