Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
MMgt_StackManager Class Reference

The class <StackManager> provides primitive facilities for managing
stack-based storage.

#include <MMgt_StackManager.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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 ()

Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: