The MemStorage type exposes the following members.

Constructors

  NameDescription
MemStorage
Create a OpenCV MemStorage

Methods

  NameDescription
Clear
Resets the top (free space boundary) of the storage to the very beginning. This function does not deallocate any memory. If the storage has a parent, the function returns all blocks to the parent
CreateChildMemStorage
Creates a child memory storage that is similar to simple memory storage except for the differences in the memory allocation/deallocation mechanism. When a child storage needs a new block to add to the block list, it tries to get this block from the parent. The first unoccupied parent block available is taken and excluded from the parent block list. If no blocks are available, the parent either allocates a block or borrows one from its own parent, if any. In other words, the chain, or a more complex structure, of memory storages where every storage is a child/parent of another is possible. When a child storage is released or even cleared, it returns all blocks to the parent. In other aspects, the child storage is the same as the simple storage
Dispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
DisposeObject
Release the storage
(Overrides DisposableObject..::.DisposeObject()()().)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Destructor
(Inherited from DisposableObject.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ReleaseManagedResources
Release the managed resouces. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)

Properties

  NameDescription
Ptr
Pointer to the unmanaged object
(Inherited from UnmanagedObject.)

See Also