|
ASPECT
|
Public Member Functions | |
| ScopedScratchObject (const ScratchSpace< T > &) | |
| ~ScopedScratchObject () | |
| operator T& () const | |
Private Attributes | |
| const 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 100 of file utilities.h.
| aspect::Utilities::ScratchSpace< T >::ScopedScratchObject::ScopedScratchObject | ( | const ScratchSpace< T > & | ) |
Constructor
| aspect::Utilities::ScratchSpace< T >::ScopedScratchObject::~ScopedScratchObject | ( | ) |
Destructor: return the object to the pool
| aspect::Utilities::ScratchSpace< T >::ScopedScratchObject::operator T & | ( | ) | const |
Get a reference to the object.
|
private |
Definition at line 119 of file utilities.h.
|
private |
Definition at line 120 of file utilities.h.