|
Open CASCADE Technology 6.5.2
|
The class <StackManager> provides primitive facilities for managing
stack-based storage.
#include <MMgt_StackManager.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| MMgt_StackManager () | |
| Constructs a StackManager with an empty free stack. | |
| Standard_Address | Allocate (const Standard_Integer size) |
| Returns the address of a storage of the given size located on the top of the free stack. | |
| void | Free (Standard_Address &aStack, const Standard_Integer aSize) |
| Deallocates the storage of the given size from the free stack and nullify the address. | |
| MMgt_StackManager | ShallowCopy () const |
| There is no way to have a "ShallowCopy" of a "StackManager" | |
| void | ShallowDump (Standard_OStream &S) const |
| Prints the contents of <me> on the stream <s>. | |
| void | Destructor () |
| Deallocates the storage associated to stack. Delete <me>. | |
| ~MMgt_StackManager () | |
| MMgt_StackManager::MMgt_StackManager | ( | ) |
| MMgt_StackManager::~MMgt_StackManager | ( | ) | [inline] |
| Standard_Address MMgt_StackManager::Allocate | ( | const Standard_Integer | size | ) |
| void MMgt_StackManager::Destructor | ( | ) |
| void MMgt_StackManager::Free | ( | Standard_Address & | aStack, |
| const Standard_Integer | aSize | ||
| ) |
| void MMgt_StackManager::operator delete | ( | void * | anAddress | ) | [inline] |
| void* MMgt_StackManager::operator new | ( | size_t | size | ) | [inline] |
| void* MMgt_StackManager::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| MMgt_StackManager MMgt_StackManager::ShallowCopy | ( | ) | const |
| void MMgt_StackManager::ShallowDump | ( | Standard_OStream & | S | ) | const |
1.7.4