#include <managed_list.h>
Public Member Functions | |
| T & | getElem () |
| get the list element that this handle points to fails/asserts if this is an empty handle More... | |
| const T & | getElem () const |
| Handle () | |
| Construct an empty handle. More... | |
| Handle (const Handle &rhs) | |
| Handle & | operator= (const Handle &rhs) |
| bool | operator== (const Handle &rhs) const |
| Checks if two handles point to the same list elem. More... | |
| void | reset () |
| stop tracking the list element with this handle, even though the Handle hasn't gone out of scope More... | |
Private Member Functions | |
| Handle (const boost::shared_ptr< void > &handle_tracker, iterator it) | |
Private Attributes | |
| boost::shared_ptr< void > | handle_tracker_ |
| iterator | it_ |
| bool | valid_ |
Friends | |
| class | iterator |
| class | ManagedList |
Definition at line 185 of file managed_list.h.
|
inline |
Construct an empty handle.
Definition at line 191 of file managed_list.h.
|
inline |
Definition at line 204 of file managed_list.h.
|
inlineprivate |
Definition at line 269 of file managed_list.h.
|
inline |
get the list element that this handle points to fails/asserts if this is an empty handle
Definition at line 229 of file managed_list.h.
|
inline |
Definition at line 238 of file managed_list.h.
|
inline |
Definition at line 194 of file managed_list.h.
|
inline |
Checks if two handles point to the same list elem.
Definition at line 250 of file managed_list.h.
|
inline |
stop tracking the list element with this handle, even though the Handle hasn't gone out of scope
Definition at line 213 of file managed_list.h.
|
friend |
Definition at line 266 of file managed_list.h.
|
friend |
Definition at line 263 of file managed_list.h.
|
private |
Definition at line 274 of file managed_list.h.
|
private |
Definition at line 273 of file managed_list.h.
|
private |
Definition at line 275 of file managed_list.h.