safe_ptr : pointer wrapper, which throw exception on NULL access
Inheritance:
Public Methods
-
explicit safe_ptr(T* p = NULL) throw()
- constructor
-
safe_ptr& operator=(T* p)
-
T* operator->() const throw(NullPointerException)
-
T& operator*() const throw(NullPointerException)
-
T* get() const throw()
- return pointer
-
T* call_get() const throw(NullPointerException)
- return wrapped pointer, if one is not Null; otherwise throw NulPointerException
Documentation
safe_ptr : pointer wrapper, which throw exception on NULL access
explicit safe_ptr(T* p = NULL) throw()
-
constructor
safe_ptr& operator=(T* p)
T* operator->() const throw(NullPointerException)
T& operator*() const throw(NullPointerException)
T* get() const throw()
-
return pointer
T* call_get() const throw(NullPointerException)
-
return wrapped pointer, if one is not Null;
otherwise throw NulPointerException
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.