g2o
|
a scoped pointer for an array, i.e., array will be deleted on leaving the scope More...
#include <scoped_pointer.h>
Public Member Functions | |
ScopedArray (T *t=0) | |
~ScopedArray () | |
T & | operator[] (std::ptrdiff_t i) const |
T * | get () const |
return the pointer More... | |
void | reset (T *p) |
void | swap (ScopedArray &b) |
Protected Attributes | |
T * | _pointer |
Private Member Functions | |
ScopedArray (const ScopedArray &) | |
const ScopedArray & | operator= (const ScopedArray &) |
a scoped pointer for an array, i.e., array will be deleted on leaving the scope
Definition at line 97 of file scoped_pointer.h.
|
inline |
Definition at line 100 of file scoped_pointer.h.
|
inline |
Definition at line 102 of file scoped_pointer.h.
|
private |
|
inline |
|
private |
|
inline |
Definition at line 107 of file scoped_pointer.h.
|
inline |
|
inline |
swap with another pointer
Definition at line 129 of file scoped_pointer.h.
References g2o::ScopedArray< T >::_pointer.
|
protected |
Definition at line 137 of file scoped_pointer.h.
Referenced by g2o::ScopedArray< T >::swap().