#include <util.hpp>
Public Member Functions | |
| unique_ptr (T *p=NULL) | |
| ~unique_ptr () | |
| void | reset (T *p=NULL) |
| T * | release () |
| T * | get () |
| T * | operator-> () const |
| T & | operator* () const |
Private Member Functions | |
| unique_ptr (const unique_ptr &) | |
| unique_ptr & | operator= (const unique_ptr &) |
Private Attributes | |
| T * | ptr_ |
Definition at line 207 of file util.hpp.
| util::unique_ptr< T >::unique_ptr | ( | const unique_ptr< T > & | ) | [private] |
| util::unique_ptr< T >::unique_ptr | ( | T * | p = NULL |
) | [inline] |
| util::unique_ptr< T >::~unique_ptr | ( | ) | [inline] |
Definition at line 215 of file util.hpp.
References util::unique_ptr< T >::ptr_.
| T* util::unique_ptr< T >::get | ( | ) | [inline] |
Definition at line 230 of file util.hpp.
References util::unique_ptr< T >::ptr_.
Referenced by mp::create::process_event(), and WML_HANDLER_FUNCTION().

| T& util::unique_ptr< T >::operator* | ( | ) | const [inline] |
Definition at line 232 of file util.hpp.
References util::unique_ptr< T >::ptr_.
| T* util::unique_ptr< T >::operator-> | ( | ) | const [inline] |
Definition at line 231 of file util.hpp.
References util::unique_ptr< T >::ptr_.
| unique_ptr& util::unique_ptr< T >::operator= | ( | const unique_ptr< T > & | ) | [private] |
| T* util::unique_ptr< T >::release | ( | ) | [inline] |
Definition at line 223 of file util.hpp.
References util::unique_ptr< T >::ptr_.
Referenced by editor::editor_action_whole_map::clone(), and editor::context_manager::load_map().

| void util::unique_ptr< T >::reset | ( | T * | p = NULL |
) | [inline] |
Definition at line 217 of file util.hpp.
References util::unique_ptr< T >::ptr_.
Referenced by mp::create::process_event().

T* util::unique_ptr< T >::ptr_ [private] |
Definition at line 209 of file util.hpp.
Referenced by util::unique_ptr< T >::get(), util::unique_ptr< T >::operator*(), util::unique_ptr< T >::operator->(), util::unique_ptr< T >::release(), util::unique_ptr< T >::reset(), and util::unique_ptr< T >::~unique_ptr().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:26:19 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |