#include <Pointers.h>
Definition at line 56 of file Pointers.h.
Public Member Functions | |
| ScopeMalloc (void *ptr=0) | |
| ~ScopeMalloc () | |
| ScopeMalloc & | operator= (void *ptr) |
| Assignment operator that ensures there is no currently assigned pointer before claiming the given one. | |
| void *& | ptr () |
| This construction basically allows you to pass the ptr_ to a double pointer taking function, cleaning up the syntax quite a bit. | |
| ScopeMalloc & | operator= (const ScopeMalloc &) |
| Not implemented on purpose. | |
Private Attributes | |
| void * | ptr_ |
| oasys::ScopeMalloc::ScopeMalloc | ( | void * | ptr = 0 |
) | [inline] |
Definition at line 58 of file Pointers.h.
| oasys::ScopeMalloc::~ScopeMalloc | ( | ) | [inline] |
| ScopeMalloc& oasys::ScopeMalloc::operator= | ( | void * | ptr | ) | [inline] |
Assignment operator that ensures there is no currently assigned pointer before claiming the given one.
Definition at line 71 of file Pointers.h.
| void*& oasys::ScopeMalloc::ptr | ( | ) | [inline] |
This construction basically allows you to pass the ptr_ to a double pointer taking function, cleaning up the syntax quite a bit.
Definition at line 82 of file Pointers.h.
References ptr_.
| ScopeMalloc& oasys::ScopeMalloc::operator= | ( | const ScopeMalloc & | ) |
Not implemented on purpose.
Don't handle assignment to another ScopeMalloc
void* oasys::ScopeMalloc::ptr_ [private] |
1.5.1