|
xoreos
0.0.5
|
A scoped array pointer, allowing array-y access and array deletion. More...
#include <scopedptr.h>


Public Member Functions | |
| ScopedArray (typename ScopedPtrBase< T, Deallocator >::PointerType o=0) | |
| ScopedPtrBase< T, Deallocator >::ReferenceType | operator[] (size_t i) const |
Public Member Functions inherited from Common::ScopedPtrBase< T, Deallocator > | |
| ScopedPtrBase (PointerType o=0) | |
| XOREOS_EXPLICIT_OPERATOR_CONV | operator bool () const |
| Implicit conversion operator to bool for convenience, to make checks like "if (scopedPtr) ..." possible. More... | |
| ~ScopedPtrBase () | |
| void | reset (PointerType o=0) |
| Resets the pointer with the new value. More... | |
| PointerType | get () const |
| Returns the plain pointer value. More... | |
| PointerType | release () |
| Returns the plain pointer value and releases ScopedPtr. More... | |
| void | swap (ScopedPtrBase< T, Deallocator > &right) |
| Swap the managed pointers of two ScopedPtrs of the same type. More... | |
Additional Inherited Members | |
Public Types inherited from Common::ScopedPtrBase< T, Deallocator > | |
| typedef T | ValueType |
| typedef T * | PointerType |
| typedef T & | ReferenceType |
A scoped array pointer, allowing array-y access and array deletion.
Definition at line 137 of file scopedptr.h.
|
inlineexplicit |
Definition at line 139 of file scopedptr.h.
|
inline |
Definition at line 143 of file scopedptr.h.
1.8.14