g2o
|
a scoped pointer for an objectarray, i.e., object will be deleted on leaving the scope More...
#include <scoped_pointer.h>
Public Member Functions | |
ScopedPointer (T *t=0) | |
~ScopedPointer () | |
T & | operator* () const |
dereference the pointer More... | |
T * | operator-> () const |
access the pointer via -> More... | |
T * | get () const |
return the pointer More... | |
void | reset (T *p) |
void | swap (ScopedPointer &b) |
Protected Attributes | |
T * | _pointer |
Private Member Functions | |
ScopedPointer (const ScopedPointer &) | |
const ScopedPointer & | operator= (const ScopedPointer &) |
a scoped pointer for an objectarray, i.e., object will be deleted on leaving the scope
Definition at line 46 of file scoped_pointer.h.
|
inline |
Definition at line 49 of file scoped_pointer.h.
|
inline |
Definition at line 51 of file scoped_pointer.h.
|
private |
|
inline |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
swap with another pointer
Definition at line 77 of file scoped_pointer.h.
References g2o::ScopedPointer< T, Del >::_pointer.
|
protected |
Definition at line 85 of file scoped_pointer.h.
Referenced by g2o::ScopedPointer< T, Del >::swap().