Classes Files

Wombat::MamaMsgIterator

Class for iterating through the fields in a MamaMsg

Inherits from Wombat.MamaWrapper, IDisposable

Public Functions

  Name
  MamaMsgIterator(MamaDictionary dictionary)
Creates and iterator
void SetField(IntPtr pField)
MamaMsgField getField()
MamaMsgIterator operator++(MamaMsgIterator rhs)

Protected Functions

  Name
virtual override MamaStatus.mamaStatus DestroyNativePeer()
Implements the destruction of the underlying peer object MamaWrapper.DestroyNativePeer

Additional inherited members

Public Functions inherited from Wombat.MamaWrapper

  Name
void Dispose()
Destroys the underlying peer object and unbinds the wrapper from it.
void setNativeHandle(IntPtr nHandle)
Sets the native handle of the native peer object. Should only be used by subclasses and in the same assembly.

Protected Functions inherited from Wombat.MamaWrapper

  Name
  MamaWrapper()
Constructs a new wrapper object but doesn’t create it. If the object is not explicitly disposed it will remain registered for finalization and will attempt the destroy the native peer object when finalized.
  MamaWrapper(IntPtr nativeHandle)
Constructs a managed wrapper from an existing native peer. The peer object will not be automatically finalized
virtual void Dispose(bool disposing, bool destroyNativeHandle =true)
The actual implementation of Dispose - called by both the Dispose method and the finalizer.
virtual void OnDispose()

Protected Attributes inherited from Wombat.MamaWrapper

  Name
IntPtr nativeHandle
the handle to the native peer object

Public Functions Documentation

function MamaMsgIterator

MamaMsgIterator(
    MamaDictionary dictionary
)

Creates and iterator

Parameters:

  • dictionary Dictionary to use when iterating through the fields. Pass
null

is no dictionary is available

function SetField

void SetField(
    IntPtr pField
)

function getField

MamaMsgField getField()

function operator++

static MamaMsgIterator operator++(
    MamaMsgIterator rhs
)

Protected Functions Documentation

function DestroyNativePeer

virtual override MamaStatus.mamaStatus DestroyNativePeer()

Implements the destruction of the underlying peer object MamaWrapper.DestroyNativePeer

Reimplements: Wombat::MamaWrapper::DestroyNativePeer


Updated on 2023-03-31 at 15:29:32 +0100