|
ASPECT
|
Public Member Functions | |
| ScopedScratchObject (ScratchSpace< T > &) | |
| ~ScopedScratchObject () | |
| operator T& () | |
Private Attributes | |
| ScratchSpace & | space |
| T & | t |
This class takes an object from a ScratchSpace pool and will return it to the pool when the ScopedScratchObject goes out of scope.
Definition at line 96 of file utilities.h.
| aspect::Utilities::ScratchSpace< T >::ScopedScratchObject::ScopedScratchObject | ( | ScratchSpace< T > & | ) |
Constructor
| aspect::Utilities::ScratchSpace< T >::ScopedScratchObject::~ScopedScratchObject | ( | ) |
Destructor: return the object to the pool
| aspect::Utilities::ScratchSpace< T >::ScopedScratchObject::operator T & | ( | ) |
Get a reference to the object.
|
private |
Definition at line 115 of file utilities.h.
|
private |
Definition at line 116 of file utilities.h.