template<typename T, ptr::SafeProperty property> class GradSoft::owned_ptr

owned_ptr: combination of pointer and explicit ownity flag;

Inheritance:


Public Methods

[more] owned_ptr(T* p = NULL, bool ownity=false) throw()
[more]owned_ptr& set(owned_ptr& x, bool passOwnership)
[more]owned_ptr& set(T* x, bool passOwnership)
[more] ~owned_ptr() throw()
[more]T* operator->() const throw(NullPointerException)
[more]T& operator*() const throw(NullPointerException)
[more]T* get() const throw()
[more]bool get_ownity() const throw()
[more]T* call_get() const throw(NullPointerException)
[more]T* release() throw()
[more]void reset(T* p) throw()

Public Members

[more]typedef owned_ptr_traits<T,property> traits_type


Documentation

owned_ptr: combination of pointer and explicit ownity flag;
otypedef owned_ptr_traits<T,property> traits_type

o owned_ptr(T* p = NULL, bool ownity=false) throw()

oowned_ptr& set(owned_ptr& x, bool passOwnership)

oowned_ptr& set(T* x, bool passOwnership)

o ~owned_ptr() throw()

oT* operator->() const throw(NullPointerException)

oT& operator*() const throw(NullPointerException)

oT* get() const throw()

obool get_ownity() const throw()

oT* call_get() const throw(NullPointerException)

oT* release() throw()

ovoid 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++.