C# Class Wombat.MamaMsg

Class which encapsulates the messages used in the MAMA infrastructure
Inheritance: MamaWrapper
Show file Open project: OpenMAMA/OpenMAMA Class Usage Examples

Public Methods

Method Description
MamaMsg ( ) : System

Create a msg using the default payload.

MamaMsg ( MamaMsg mamaMsgSrc ) : System

Create a deep copy of a message.

MamaMsg ( Wombat.MamaPayloadBridge payloadBridge ) : System

Create a msg using the payload bridge specified.

MamaMsg ( char payloadId ) : System

Create a msg using the payload specified. Char identifying the payload to create the msg for

ToString ( ) : string

Return a string representation the message.

addBool ( string name, ushort fid, bool val ) : void

Add a new bool field.

addChar ( string name, ushort fid, char val ) : void

Add a new char field.

addDateTime ( string name, ushort fid, System.DateTime val ) : void

Add a MAMA date/time field.

addF32 ( string name, ushort fid, float val ) : void

Add a new float (f32) field.

addF64 ( string name, ushort fid, double val ) : void

Add a new f64 field.

addI16 ( string name, ushort fid, short val ) : void

Add a new 16 bit signed int field.

addI32 ( string name, ushort fid, int val ) : void

Add a new 32 bit unsigned int field.

addI64 ( string name, ushort fid, long val ) : void

Add a new I64 field.

addI8 ( string name, ushort fid, sbyte val ) : void

Add a new 8 bit signed int field.

addMsg ( string name, ushort fid, MamaMsg val ) : void

Add a MamaMsg to the msg

addOpaque ( string name, ushort fid, byte val ) : void

Add an opaque field.

addPrice ( string name, ushort fid, Wombat.MamaPrice val ) : void

Add a MAMA price field.

addString ( string name, ushort fid, string val ) : void

Add a string field.

addU16 ( string name, ushort fid, ushort val ) : void

Add a new 16 bit unsigned int field.

addU32 ( string name, ushort fid, uint val ) : void

Add a new 32 bit signed int field.

addU64 ( string name, ushort fid, ulong val ) : void

Add a new U64 field.

addU8 ( string name, ushort fid, byte val ) : void

Add a new 8 bit unsigned int field.

addVectorBool ( string name, ushort fid, bool val ) : void

Add an array of booleans to the message.

addVectorChar ( string name, ushort fid, char val ) : void

Add an array of characters to the message.

addVectorDateTime ( string name, ushort fid, System.DateTime val ) : void

Add an array of timestamps to the message.

addVectorF32 ( string name, ushort fid, float val ) : void

Add an array of 32 bit floating point numbers to the message.

addVectorF64 ( string name, ushort fid, double val ) : void

Add an array of 64 bit floating point numbers to the message.

addVectorI16 ( string name, ushort fid, short val ) : void

Add an array of signed 16 bit integers to the message.

addVectorI32 ( string name, ushort fid, int val ) : void

Add an array of signed 32 bit integers to the message.

addVectorI64 ( string name, ushort fid, long val ) : void

Add an array of signed 64 bit integers to the message.

addVectorI8 ( string name, ushort fid, sbyte val ) : void

Add an array of signed 8 bit integers to the message.

addVectorMsg ( string name, ushort fid, MamaMsg val ) : void

Add an array of nativeHandle objects to the message.

addVectorPrice ( string name, ushort fid, Wombat.MamaPrice val ) : void

Add an array of prices to the message.

addVectorString ( string name, ushort fid, string val ) : void

Add an array of strings (char*) to the message.

addVectorU16 ( string name, ushort fid, ushort val ) : void

Add an array of unsigned 16 bit integers to the message.

addVectorU32 ( string name, ushort fid, uint val ) : void

Add an array of unsigned 32 bit integers to the message.

addVectorU64 ( string name, ushort fid, ulong val ) : void

Add an array of unsigned 64 bit integers to the message.

addVectorU8 ( string name, ushort fid, byte val ) : void

Add an array of unsigned 8 bit integers to the message.

begin ( MamaMsgIterator &iterator ) : void
clear ( ) : void

Clear a msg. All fields are removed.

createForBridgeFromBuffer ( byte byteBuffer, int size, Wombat.MamaBridge bridgeImpl ) : void
createFromBuffer ( byte byteBuffer, int size ) : void
destroy ( ) : void

Destroy a message and free any resources associated with it.

detach ( ) : MamaMsg
end ( MamaMsgIterator &iterator ) : void
getBool ( Wombat.MamaFieldDescriptor descriptor ) : bool

Get a bool field.

getBool ( Wombat.MamaFieldDescriptor descriptor, bool valueIfMissing ) : bool

Get a bool field.

getBool ( string name, ushort fid ) : bool

Get a bool field.

getBool ( string name, ushort fid, bool valueIfMissing ) : bool

Get a bool field.

getByteBuffer ( byte &byteBuffer, int &size ) : void
getByteSize ( ) : int

Get the size of the underlying message in bytes. Only works for tibrvMsg and wombatmsg types.

getChar ( Wombat.MamaFieldDescriptor descriptor ) : char

Get a char field.

getChar ( Wombat.MamaFieldDescriptor descriptor, char valueIfMissing ) : char

Get a char field.

getChar ( string name, ushort fid ) : char

Get a char field.

getChar ( string name, ushort fid, char valueIfMissing ) : char

Get a char field.

getDateTime ( Wombat.MamaFieldDescriptor descriptor ) : System.DateTime

Get a MAMA date/time field.

getDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime valueIfMissing ) : System.DateTime

Get a MAMA date/time field.

getDateTime ( string name, ushort fid ) : System.DateTime

Get a MAMA date/time field.

getDateTime ( string name, ushort fid, System.DateTime valueIfMissing ) : System.DateTime

Get a MAMA date/time field.

getEntitleCode ( ) : int

Get the entitle code for this message. The result defaults to 0 (no entitlement) if the field is not present.

getF32 ( Wombat.MamaFieldDescriptor descriptor ) : float

Get a float (f32) field.

getF32 ( Wombat.MamaFieldDescriptor descriptor, float valueIfMissing ) : float

Get a float (f32) field.

getF32 ( string name, ushort fid ) : float

Get a float (f32) field.

getF32 ( string name, ushort fid, float valueIfMissing ) : float

Get a float (f32) field.

getF64 ( Wombat.MamaFieldDescriptor descriptor ) : double

Get a F64 field.

getF64 ( Wombat.MamaFieldDescriptor descriptor, double valueIfMissing ) : double

Get a F64 field.

getF64 ( string name, ushort fid ) : double

Get a F64 field.

getF64 ( string name, ushort fid, double valueIfMissing ) : double

Get a F64 field.

getField ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaMsgField

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.

getField ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaMsgField valueIfMissing ) : Wombat.MamaMsgField

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.

getField ( string name, ushort fid ) : Wombat.MamaMsgField

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.

getField ( string name, ushort fid, Wombat.MamaMsgField valueIfMissing ) : Wombat.MamaMsgField

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.

getFieldAsString ( string name, ushort fid ) : string

Return the field value as string

getI16 ( Wombat.MamaFieldDescriptor descriptor ) : short

Get a I16, signed 16 bit integer, field.

getI16 ( Wombat.MamaFieldDescriptor descriptor, short valueIfMissing ) : short

Get a I16, signed 16 bit integer, field.

getI16 ( string name, ushort fid ) : short

Get a I16, signed 16 bit integer, field.

getI16 ( string name, ushort fid, short valueIfMissing ) : short

Get a I16, signed 16 bit integer, field.

getI32 ( Wombat.MamaFieldDescriptor descriptor ) : int

Get a I32, signed 32 bit integer, field.

getI32 ( Wombat.MamaFieldDescriptor descriptor, int valueIfMissing ) : int

Get a I32, signed 32 bit integer, field.

getI32 ( string name, ushort fid ) : int

Get a I32, signed 32 bit integer, field.

getI32 ( string name, ushort fid, int valueIfMissing ) : int

Get a I32, signed 32 bit integer, field.

getI64 ( Wombat.MamaFieldDescriptor descriptor ) : long

Get a I64, signed 64 bit integer, field.

getI64 ( Wombat.MamaFieldDescriptor descriptor, long valueIfMissing ) : long

Get a I64, signed 64 bit integer, field.

getI64 ( string name, ushort fid ) : long

Get a I64, signed 64 bit integer, field.

getI64 ( string name, ushort fid, long valueIfMissing ) : long

Get a I64, signed 64 bit integer, field.

getI8 ( Wombat.MamaFieldDescriptor descriptor ) : sbyte

Get a I8, signed 8 bit integer, field.

getI8 ( Wombat.MamaFieldDescriptor descriptor, sbyte valueIfMissing ) : sbyte

Get a I8, signed 8 bit integer, field.

getI8 ( string name, ushort fid ) : sbyte

Get a I8, signed 8 bit integer, field.

getI8 ( string name, ushort fid, sbyte valueIfMissing ) : sbyte

Get a I8, signed 8 bit integer, field.

getMsg ( Wombat.MamaFieldDescriptor descriptor ) : MamaMsg

Get a submessage.

getMsg ( Wombat.MamaFieldDescriptor descriptor, MamaMsg valueIfMissing ) : MamaMsg

Get a submessage.

getMsg ( string name, ushort fid ) : MamaMsg

Get a submessage.

getMsg ( string name, ushort fid, MamaMsg valueIfMissing ) : MamaMsg

Get a submessage.

getNumFields ( ) : int

Returns the total number of fields in the message. Sub-messages count as a single field.

getOpaque ( Wombat.MamaFieldDescriptor descriptor ) : byte[]

Get a opaque field.

getOpaque ( Wombat.MamaFieldDescriptor descriptor, byte valueIfMissing ) : byte[]

Get a opaque field.

getOpaque ( string name, ushort fid ) : byte[]

Get an opaque field.

getOpaque ( string name, ushort fid, byte valueIfMissing ) : byte[]

Get a opaque field.

getPayloadType ( ) : mamaPayloadType

Return the payload type

getPrice ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaPrice

Get a MAMA price field.

getPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice

Get a MAMA price field.

getPrice ( string name, ushort fid ) : Wombat.MamaPrice

Get a MAMA price field.

getPrice ( string name, ushort fid, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice

Get a MAMA price field.

getSeqNum ( ) : uint

Return the sequence

getStatus ( ) : mamaMsgStatus

Return the status

getString ( Wombat.MamaFieldDescriptor descriptor ) : string

Get a string field.

getString ( Wombat.MamaFieldDescriptor descriptor, string valueIfMissing ) : string

Get a string field.

getString ( string name, ushort fid ) : string

Get a string field.

getString ( string name, ushort fid, string valueIfMissing ) : string

Get a string field.

getType ( ) : mamaMsgType

Extract the type

getU16 ( Wombat.MamaFieldDescriptor descriptor ) : ushort

Get a U16, unsigned 16 bit integer, field.

getU16 ( Wombat.MamaFieldDescriptor descriptor, ushort valueIfMissing ) : ushort

Get a U16, unsigned 16 bit integer, field.

getU16 ( string name, ushort fid ) : ushort

Get a U16, unsigned 16 bit integer, field.

getU16 ( string name, ushort fid, ushort valueIfMissing ) : ushort

Get a U16, unsigned 16 bit integer, field.

getU32 ( Wombat.MamaFieldDescriptor descriptor ) : uint

Get a U32, unsigned 32 bit integer, field.

getU32 ( Wombat.MamaFieldDescriptor descriptor, uint valueIfMissing ) : uint

Get a U32, unsigned 32 bit integer, field.

getU32 ( string name, ushort fid ) : uint

Get a U32, unsigned 32 bit integer, field.

getU32 ( string name, ushort fid, uint valueIfMissing ) : uint

Get a U32, unsigned 32 bit integer, field.

getU64 ( Wombat.MamaFieldDescriptor descriptor ) : ulong

Get a U64, unsigned 64 bit integer, field.

getU64 ( Wombat.MamaFieldDescriptor descriptor, ulong valueIfMissing ) : ulong

Get a U64, unsigned 64 bit integer, field.

getU64 ( string name, ushort fid ) : ulong

Get a U64, unsigned 64 bit integer, field.

getU64 ( string name, ushort fid, ulong valueIfMissing ) : ulong

Get a U64, unsigned 64 bit integer, field.

getU8 ( Wombat.MamaFieldDescriptor descriptor ) : byte

Get a U8, unsigned 8 bit integer, field.

getU8 ( Wombat.MamaFieldDescriptor descriptor, byte valueIfMissing ) : byte

Get a U8, unsigned 8 bit integer, field.

getU8 ( string name, ushort fid ) : byte

Get a U8, unsigned 8 bit integer, field.

getU8 ( string name, ushort fid, byte valueIfMissing ) : byte

Get a U8, unsigned 8 bit integer, field.

getVectorBool ( Wombat.MamaFieldDescriptor descriptor ) : bool[]

Get a vector of booleans.

getVectorBool ( Wombat.MamaFieldDescriptor descriptor, bool valueIfMissing ) : bool[]

Get a vector of booleans.

getVectorBool ( string name, ushort fid ) : bool[]

Get a vector of booleans.

getVectorBool ( string name, ushort fid, bool valueIfMissing ) : bool[]

Get a vector of booleans.

getVectorChar ( Wombat.MamaFieldDescriptor descriptor ) : char[]

Get a vector of chars.

getVectorChar ( Wombat.MamaFieldDescriptor descriptor, char valueIfMissing ) : char[]

Get a vector of chars.

getVectorChar ( string name, ushort fid ) : char[]

Get a vector of chars.

getVectorChar ( string name, ushort fid, char valueIfMissing ) : char[]

Get a vector of chars.

getVectorDateTime ( Wombat.MamaFieldDescriptor descriptor ) : System.DateTime[]

Get a vector of timestamps.

getVectorDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime valueIfMissing ) : System.DateTime[]

Get a vector of timestamps.

getVectorDateTime ( string name, ushort fid ) : System.DateTime[]

Get a vector of timestamps.

getVectorDateTime ( string name, ushort fid, System.DateTime valueIfMissing ) : System.DateTime[]

Get a vector of timestamps.

getVectorF32 ( Wombat.MamaFieldDescriptor descriptor ) : float[]

Get a vector of 32 bit floating point numbers.

getVectorF32 ( Wombat.MamaFieldDescriptor descriptor, float valueIfMissing ) : float[]

Get a vector of 32 bit floating point numbers.

getVectorF32 ( string name, ushort fid ) : float[]

Get a vector of 32 bit floating point numbers.

getVectorF32 ( string name, ushort fid, float valueIfMissing ) : float[]

Get a vector of 32 bit floating point numbers.

getVectorF64 ( Wombat.MamaFieldDescriptor descriptor ) : double[]

Get a vector of 64 bit floating point numbers.

getVectorF64 ( Wombat.MamaFieldDescriptor descriptor, double valueIfMissing ) : double[]

Get a vector of 64 bit floating point numbers.

getVectorF64 ( string name, ushort fid ) : double[]

Get a vector of 64 bit floating point numbers.

getVectorF64 ( string name, ushort fid, double valueIfMissing ) : double[]

Get a vector of 64 bit floating point numbers.

getVectorI16 ( Wombat.MamaFieldDescriptor descriptor ) : short[]

Get a vector of signed 16 bit integers.

getVectorI16 ( Wombat.MamaFieldDescriptor descriptor, short valueIfMissing ) : short[]

Get a vector of signed 16 bit integers.

getVectorI16 ( string name, ushort fid ) : short[]

Get a vector of signed 16 bit integers.

getVectorI16 ( string name, ushort fid, short valueIfMissing ) : short[]

Get a vector of signed 16 bit integers.

getVectorI32 ( Wombat.MamaFieldDescriptor descriptor ) : int[]

Get a vector of signed 32 bit integers.

getVectorI32 ( Wombat.MamaFieldDescriptor descriptor, int valueIfMissing ) : int[]

Get a vector of signed 32 bit integers.

getVectorI32 ( string name, ushort fid ) : int[]

Get a vector of signed 32 bit integers.

getVectorI32 ( string name, ushort fid, int valueIfMissing ) : int[]

Get a vector of signed 32 bit integers.

getVectorI64 ( Wombat.MamaFieldDescriptor descriptor ) : long[]

Get a vector of signed 64 bit integers.

getVectorI64 ( Wombat.MamaFieldDescriptor descriptor, long valueIfMissing ) : long[]

Get a vector of signed 64 bit integers.

getVectorI64 ( string name, ushort fid ) : long[]

Get a vector of signed 64 bit integers.

getVectorI64 ( string name, ushort fid, long valueIfMissing ) : long[]

Get a vector of signed 64 bit integers.

getVectorI8 ( Wombat.MamaFieldDescriptor descriptor ) : sbyte[]

Get a vector of signed 8 bit integers.

getVectorI8 ( Wombat.MamaFieldDescriptor descriptor, sbyte valueIfMissing ) : sbyte[]

Get a vector of signed 8 bit integers.

getVectorI8 ( string name, ushort fid ) : sbyte[]

Get a vector of signed 8 bit integers.

getVectorI8 ( string name, ushort fid, sbyte valueIfMissing ) : sbyte[]

Get a vector of signed 8 bit integers.

getVectorMsg ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaMsg[]

Get a vector of submessages.

getVectorMsg ( Wombat.MamaFieldDescriptor descriptor, MamaMsg valueIfMissing ) : Wombat.MamaMsg[]

Get a vector of submessages.

getVectorMsg ( string name, ushort fid ) : Wombat.MamaMsg[]

Get a vector of submessages.

getVectorMsg ( string name, ushort fid, MamaMsg valueIfMissing ) : Wombat.MamaMsg[]

Get a vector of submessages.

getVectorPrice ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaPrice[]

Get a vector of prices.

getVectorPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice[]

Get a vector of prices.

getVectorPrice ( string name, ushort fid ) : Wombat.MamaPrice[]

Get a vector of prices.

getVectorPrice ( string name, ushort fid, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice[]

Get a vector of prices.

getVectorString ( Wombat.MamaFieldDescriptor descriptor ) : string[]

Get a vector of strings (char*).

getVectorString ( Wombat.MamaFieldDescriptor descriptor, string valueIfMissing ) : string[]

Get a vector of strings (char*).

getVectorString ( string name, ushort fid ) : string[]

Get a vector of strings (char*).

getVectorString ( string name, ushort fid, string valueIfMissing ) : string[]

Get a vector of strings (char*).

getVectorU16 ( Wombat.MamaFieldDescriptor descriptor ) : ushort[]

Get a vector of unsigned 16 bit integers.

getVectorU16 ( Wombat.MamaFieldDescriptor descriptor, ushort valueIfMissing ) : ushort[]

Get a vector of unsigned 16 bit integers.

getVectorU16 ( string name, ushort fid ) : ushort[]

Get a vector of unsigned 16 bit integers.

getVectorU16 ( string name, ushort fid, ushort valueIfMissing ) : ushort[]

Get a vector of unsigned 16 bit integers.

getVectorU32 ( Wombat.MamaFieldDescriptor descriptor ) : uint[]

Get a vector of unsigned 32 bit integers.

getVectorU32 ( Wombat.MamaFieldDescriptor descriptor, uint valueIfMissing ) : uint[]

Get a vector of unsigned 32 bit integers.

getVectorU32 ( string name, ushort fid ) : uint[]

Get a vector of unsigned 32 bit integers.

getVectorU32 ( string name, ushort fid, uint valueIfMissing ) : uint[]

Get a vector of unsigned 32 bit integers.

getVectorU64 ( Wombat.MamaFieldDescriptor descriptor ) : ulong[]

Get a vector of unsigned 64 bit integers.

getVectorU64 ( Wombat.MamaFieldDescriptor descriptor, ulong valueIfMissing ) : ulong[]

Get a vector of unsigned 64 bit integers.

getVectorU64 ( string name, ushort fid ) : ulong[]

Get a vector of unsigned 64 bit integers.

getVectorU64 ( string name, ushort fid, ulong valueIfMissing ) : ulong[]

Get a vector of unsigned 64 bit integers.

getVectorU8 ( Wombat.MamaFieldDescriptor descriptor ) : byte[]

Get a vector of unsigned 8 bit integers.

getVectorU8 ( Wombat.MamaFieldDescriptor descriptor, byte valueIfMissing ) : byte[]

Get a vector of unsigned 8 bit integers.

getVectorU8 ( string name, ushort fid ) : byte[]

Get a vector of unsigned 8 bit integers.

getVectorU8 ( string name, ushort fid, byte valueIfMissing ) : byte[]

Get a vector of unsigned 8 bit integers.

iterateFields ( MamaMsgFieldIterator iterator, Wombat.MamaDictionary dictionary, object closure ) : void

Invoke the specified callback for each field in the message.

stringForMsg ( ) : string

Return the string for this message

stringForStatus ( mamaMsgStatus type ) : string

Return the status string

stringForType ( mamaMsgType type ) : string

Return the type name.

tryBool ( Wombat.MamaFieldDescriptor descriptor, bool &result ) : bool

Try to get a bool field.

tryBool ( string name, ushort fid, bool &result ) : bool

Try to get a bool field.

tryChar ( Wombat.MamaFieldDescriptor descriptor, char &result ) : bool

Try to get a char field.

tryChar ( string name, ushort fid, char &result ) : bool

Try to get a char field.

tryDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime &result ) : bool
tryDateTime ( string name, ushort fid, System.DateTime &result ) : bool
tryF32 ( Wombat.MamaFieldDescriptor descriptor, float &result ) : bool

Try to get a float (f32) field.

tryF32 ( string name, ushort fid, float &result ) : bool

Try to get a float (f32) field.

tryF64 ( Wombat.MamaFieldDescriptor descriptor, double &result ) : bool

Try to get a f64 field.

tryF64 ( string name, ushort fid, double &result ) : bool

Try to get a f64 field.

tryField ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaMsgField &result ) : bool

Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.

tryField ( string name, ushort fid, Wombat.MamaMsgField &result ) : bool

Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.

tryI16 ( Wombat.MamaFieldDescriptor descriptor, short &result ) : bool

Try to get a I16, signed 16 bit integer, field.

tryI16 ( string name, ushort fid, short &result ) : bool

Try to get a I16, signed 16 bit integer, field.

tryI32 ( Wombat.MamaFieldDescriptor descriptor, Wombat.NullableInt &result ) : bool
tryI32 ( Wombat.MamaFieldDescriptor descriptor, int &result ) : bool

Try to get a I32, signed 32 bit integer, field.

tryI32 ( string name, ushort fid, Wombat.NullableInt &result ) : bool
tryI32 ( string name, ushort fid, int &result ) : bool

Try to get a I32, signed 32 bit integer, field.

tryI64 ( Wombat.MamaFieldDescriptor descriptor, Wombat.NullableLong &result ) : bool
tryI64 ( Wombat.MamaFieldDescriptor descriptor, long &result ) : bool
tryI64 ( string name, ushort fid, Wombat.NullableLong &result ) : bool
tryI64 ( string name, ushort fid, long &result ) : bool
tryI8 ( Wombat.MamaFieldDescriptor descriptor, sbyte &result ) : bool

Try to get a I8, signed 8 bit integer, field.

tryI8 ( string name, ushort fid, sbyte &result ) : bool

Try to get a I8, signed 8 bit integer, field.

tryMsg ( Wombat.MamaFieldDescriptor descriptor, MamaMsg &result ) : bool

Try to get a submessage.

tryMsg ( string name, ushort fid, MamaMsg &result ) : bool

Try to get a submessage.

tryOpaque ( Wombat.MamaFieldDescriptor descriptor, byte &result ) : bool

Try to get an opaque field.

tryOpaque ( string name, ushort fid, byte &result ) : bool

Try to get an opaque field.

tryPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice &result ) : bool

Try to get a MAMA price field.

tryPrice ( string name, ushort fid, Wombat.MamaPrice &result ) : bool

Try to get a MAMA price field.

tryString ( Wombat.MamaFieldDescriptor descriptor, string &result ) : bool

Try to get a string field.

tryString ( string name, ushort fid, string &result ) : bool

Try to get a string field.

tryStringAnsi ( Wombat.MamaFieldDescriptor descriptor, IntPtr &result ) : bool
tryStringAnsi ( string name, ushort fid, IntPtr &result ) : bool
tryU16 ( Wombat.MamaFieldDescriptor descriptor, ushort &result ) : bool

Try to get a U16, unsigned 16 bit integer, field.

tryU16 ( string name, ushort fid, ushort &result ) : bool

Try to get a U16, unsigned 16 bit integer, field.

tryU32 ( Wombat.MamaFieldDescriptor descriptor, uint &result ) : bool

Try to get a U32, unsigned 32 bit integer, field.

tryU32 ( string name, ushort fid, uint &result ) : bool

Try to get a U32, unsigned 32 bit integer, field.

tryU64 ( Wombat.MamaFieldDescriptor descriptor, ulong &result ) : bool

Try to get a U64, unsigned 64 bit integer, field.

tryU64 ( string name, ushort fid, ulong &result ) : bool

Try to get a U64, unsigned 64 bit integer, field.

tryU8 ( Wombat.MamaFieldDescriptor descriptor, byte &result ) : bool

Try to get a I8, signed 8 bit integer, field.

tryU8 ( string name, ushort fid, byte &result ) : bool

Try to get a I8, signed 8 bit integer, field.

tryVectorBool ( Wombat.MamaFieldDescriptor descriptor, bool &result ) : bool

Try to get a vector of booleans.

tryVectorBool ( string name, ushort fid, bool &result ) : bool

Try to get a vector of booleans.

tryVectorChar ( Wombat.MamaFieldDescriptor descriptor, char &result ) : bool

Try to get a vector of chars.

tryVectorChar ( string name, ushort fid, char &result ) : bool

Try to get a vector of chars.

tryVectorDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime &result ) : bool

Try to get a vector of timestamps.

tryVectorDateTime ( string name, ushort fid, System.DateTime &result ) : bool

Try to get a vector of timestamps.

tryVectorF32 ( Wombat.MamaFieldDescriptor descriptor, float &result ) : bool

Try to get a vector of 32 bit floating point numbers.

tryVectorF32 ( string name, ushort fid, float &result ) : bool

Try to get a vector of 32 bit floating point numbers.

tryVectorF64 ( Wombat.MamaFieldDescriptor descriptor, double &result ) : bool

Try to get a vector of 64 bit floating point numbers.

tryVectorF64 ( string name, ushort fid, double &result ) : bool

Try to get a vector of 64 bit floating point numbers.

tryVectorI16 ( Wombat.MamaFieldDescriptor descriptor, short &result ) : bool

Try to get a vector of signed 16 bit integers.

tryVectorI16 ( string name, ushort fid, short &result ) : bool

Try to get a vector of signed 16 bit integers.

tryVectorI32 ( Wombat.MamaFieldDescriptor descriptor, int &result ) : bool

Try to get a vector of signed 32 bit integers.

tryVectorI32 ( string name, ushort fid, int &result ) : bool

Try to get a vector of signed 32 bit integers.

tryVectorI64 ( MamaFieldDescriptor descriptor, long &result ) : bool

Try get a vector of signed 64 bit integers.

tryVectorI64 ( string name, ushort fid, long &result ) : bool

Try get a vector of signed 64 bit integers.

tryVectorI8 ( MamaFieldDescriptor descriptor, sbyte &result ) : bool

Try to get a vector of signed 8 bit integers.

tryVectorI8 ( string name, ushort fid, sbyte &result ) : bool

Try to get a vector of signed 8 bit integers.

tryVectorMsg ( MamaFieldDescriptor descriptor, MamaMsg &result ) : bool
tryVectorMsg ( string name, ushort fid, MamaMsg &result ) : bool
tryVectorPrice ( MamaFieldDescriptor descriptor, MamaPrice &result ) : bool

Try to get a vector of prices.

tryVectorPrice ( string name, ushort fid, MamaPrice &result ) : bool

Try to get a vector of prices.

tryVectorString ( MamaFieldDescriptor descriptor, string &result ) : bool

Try to get a vector of strings (char*).

tryVectorString ( string name, ushort fid, string &result ) : bool

Try to get a vector of strings (char*).

tryVectorU16 ( MamaFieldDescriptor descriptor, ushort &result ) : bool

Try to get a vector of unsigned 16 bit integers.

tryVectorU16 ( string name, ushort fid, ushort &result ) : bool

Try to get a vector of unsigned 16 bit integers.

tryVectorU32 ( MamaFieldDescriptor descriptor, uint &result ) : bool

Try to get a vector of unsigned 32 bit integers.

tryVectorU32 ( string name, ushort fid, uint &result ) : bool

Try to get a vector of unsigned 32 bit integers.

tryVectorU64 ( MamaFieldDescriptor descriptor, ulong &result ) : bool

Try to get a vector of unsigned 64 bit integers.

tryVectorU64 ( string name, ushort fid, ulong &result ) : bool

Try to get a vector of unsigned 64 bit integers.

tryVectorU8 ( MamaFieldDescriptor descriptor, byte &result ) : bool

Try to get a vector of unsigned 8 bit integers.

tryVectorU8 ( string name, ushort fid, byte &result ) : bool

Try to get a vector of unsigned 8 bit integers.

typeForMsg ( ) : mamaMsgType

Extract the type from the supplied message.

updateBool ( string name, ushort fid, bool val ) : void

Update the value of an existing bool field. If the field does not exist it is added.

updateChar ( string name, ushort fid, char val ) : void

Update the value of an existing char field. If the field does not exist it is added.

updateDateTime ( string name, ushort fid, DateTime val ) : void

Update a MAMA date/time field.

updateF32 ( string name, ushort fid, float val ) : void

Update the value of an existing float field. If the field does not exist it is added.

updateF64 ( string name, ushort fid, double val ) : void

Update the value of an existing f64 field. If the field does not exist it is added.

updateI16 ( string name, ushort fid, short val ) : void

Update the value of an existing I16 field. If the field does not exist it is added.

updateI32 ( string name, ushort fid, int val ) : void

Update the value of an existing I32 field. If the field does not exist it is added.

updateI64 ( string name, ushort fid, long val ) : void

Update the value of an existing I64 field. If the field does not exist it is added.

updateI8 ( string name, ushort fid, sbyte val ) : void

Update the value of an existing I8 field. If the field does not exist it is added.

updateOpaque ( string name, ushort fid, byte val ) : void

Update an opaque field.

updatePrice ( string name, ushort fid, MamaPrice val ) : void

Update a MAMA price field.

updateString ( string name, ushort fid, string val ) : void

Update the value of an existing string field. If the field does not exist it is added.

updateU16 ( string name, ushort fid, ushort val ) : void

Update the value of an existing U16 field. If the field does not exist it is added.

updateU32 ( string name, ushort fid, uint val ) : void

Update the value of an existing U32 field. If the field does not exist it is added.

updateU64 ( string name, ushort fid, ulong val ) : void

Update the value of an existing U64 field. If the field does not exist it is added.

updateU8 ( string name, ushort fid, byte val ) : void

Update the value of an existing U8 field. If the field does not exist it is added.

updateVectorBool ( string name, ushort fid, bool val ) : void

Update an array of booleans.

updateVectorChar ( string name, ushort fid, char val ) : void

Update an array of characters.

updateVectorDateTime ( string name, ushort fid, DateTime val ) : void

Update an array of timestamps.

updateVectorF32 ( string name, ushort fid, float val ) : void

Update an array of 32 bit floating point numbers.

updateVectorF64 ( string name, ushort fid, double val ) : void

Update an array of 64 bit floating point numbers.

updateVectorI16 ( string name, ushort fid, short val ) : void

Update an array of signed 16 bit integers.

updateVectorI32 ( string name, ushort fid, int val ) : void

Update an array of signed 32 bit integers.

updateVectorI64 ( string name, ushort fid, long val ) : void

Update an array of signed 64 bit integers.

updateVectorI8 ( string name, ushort fid, sbyte val ) : void

Update an array of signed 8 bit integers.

updateVectorMsg ( string name, ushort fid, MamaMsg val ) : void

Update an array of nativeHandle objects.

updateVectorPrice ( string name, ushort fid, MamaPrice val ) : void

Update an array of prices.

updateVectorString ( string name, ushort fid, string val ) : void

Update an array of strings (char*).

updateVectorU16 ( string name, ushort fid, ushort val ) : void

Update an array of unsigned 16 bit integers.

updateVectorU32 ( string name, ushort fid, uint val ) : void

Update an array of unsigned 32 bit integers.

updateVectorU64 ( string name, ushort fid, ulong val ) : void

Update an array of unsigned 64 bit integers.

updateVectorU8 ( string name, ushort fid, byte val ) : void

Update an array of unsigned 8 bit integers.

Protected Methods

Method Description
DestroyNativePeer ( ) : MamaStatus.mamaStatus

OnDispose ( ) : void

Private Methods

Method Description
MamaMsg ( IntPtr nativeHandle ) : System
MamaMsg ( mamaPayloadType payloadId ) : System
convertFromMamaDateTime ( ulong val ) : long
convertToMamaDateTime ( System.DateTime val ) : ulong
tryDateTimeImpl ( string name, ushort fid, System.DateTime &result, bool throwOnError ) : bool
tryI32Impl ( string name, ushort fid, int &result, bool throwOnError ) : bool
tryI64Impl ( string name, ushort fid, long &result, bool throwOnError ) : bool
tryMsgImpl ( string name, ushort fid, MamaMsg &result, bool throwOnError ) : bool
tryVectorMsgImpl ( string name, ushort fid, MamaMsg &result, bool throwOnError ) : bool

Method Details

DestroyNativePeer() protected method

protected DestroyNativePeer ( ) : MamaStatus.mamaStatus
return MamaStatus.mamaStatus

MamaMsg() public method

Create a msg using the default payload.
public MamaMsg ( ) : System
return System

MamaMsg() public method

Create a deep copy of a message.
public MamaMsg ( MamaMsg mamaMsgSrc ) : System
mamaMsgSrc MamaMsg
return System

MamaMsg() public method

Create a msg using the payload bridge specified.
public MamaMsg ( Wombat.MamaPayloadBridge payloadBridge ) : System
payloadBridge Wombat.MamaPayloadBridge The payload bridge to create the message for
return System

MamaMsg() public method

Create a msg using the payload specified. Char identifying the payload to create the msg for
public MamaMsg ( char payloadId ) : System
payloadId char
return System

OnDispose() protected method

protected OnDispose ( ) : void
return void

ToString() public method

Return a string representation the message.
public ToString ( ) : string
return string

addBool() public method

Add a new bool field.
public addBool ( string name, ushort fid, bool val ) : void
name string
fid ushort
val bool
return void

addChar() public method

Add a new char field.
public addChar ( string name, ushort fid, char val ) : void
name string
fid ushort
val char
return void

addDateTime() public method

Add a MAMA date/time field.
public addDateTime ( string name, ushort fid, System.DateTime val ) : void
name string
fid ushort
val System.DateTime
return void

addF32() public method

Add a new float (f32) field.
public addF32 ( string name, ushort fid, float val ) : void
name string
fid ushort
val float
return void

addF64() public method

Add a new f64 field.
public addF64 ( string name, ushort fid, double val ) : void
name string
fid ushort
val double
return void

addI16() public method

Add a new 16 bit signed int field.
public addI16 ( string name, ushort fid, short val ) : void
name string
fid ushort
val short
return void

addI32() public method

Add a new 32 bit unsigned int field.
public addI32 ( string name, ushort fid, int val ) : void
name string
fid ushort
val int
return void

addI64() public method

Add a new I64 field.
public addI64 ( string name, ushort fid, long val ) : void
name string
fid ushort
val long
return void

addI8() public method

Add a new 8 bit signed int field.
public addI8 ( string name, ushort fid, sbyte val ) : void
name string
fid ushort
val sbyte
return void

addMsg() public method

Add a MamaMsg to the msg
public addMsg ( string name, ushort fid, MamaMsg val ) : void
name string
fid ushort
val MamaMsg
return void

addOpaque() public method

Add an opaque field.
public addOpaque ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void

addPrice() public method

Add a MAMA price field.
public addPrice ( string name, ushort fid, Wombat.MamaPrice val ) : void
name string
fid ushort
val Wombat.MamaPrice
return void

addString() public method

Add a string field.
public addString ( string name, ushort fid, string val ) : void
name string
fid ushort
val string
return void

addU16() public method

Add a new 16 bit unsigned int field.
public addU16 ( string name, ushort fid, ushort val ) : void
name string
fid ushort
val ushort
return void

addU32() public method

Add a new 32 bit signed int field.
public addU32 ( string name, ushort fid, uint val ) : void
name string
fid ushort
val uint
return void

addU64() public method

Add a new U64 field.
public addU64 ( string name, ushort fid, ulong val ) : void
name string
fid ushort
val ulong
return void

addU8() public method

Add a new 8 bit unsigned int field.
public addU8 ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void

addVectorBool() public method

Add an array of booleans to the message.
public addVectorBool ( string name, ushort fid, bool val ) : void
name string
fid ushort
val bool
return void

addVectorChar() public method

Add an array of characters to the message.
public addVectorChar ( string name, ushort fid, char val ) : void
name string
fid ushort
val char
return void

addVectorDateTime() public method

Add an array of timestamps to the message.
public addVectorDateTime ( string name, ushort fid, System.DateTime val ) : void
name string
fid ushort
val System.DateTime
return void

addVectorF32() public method

Add an array of 32 bit floating point numbers to the message.
public addVectorF32 ( string name, ushort fid, float val ) : void
name string
fid ushort
val float
return void

addVectorF64() public method

Add an array of 64 bit floating point numbers to the message.
public addVectorF64 ( string name, ushort fid, double val ) : void
name string
fid ushort
val double
return void

addVectorI16() public method

Add an array of signed 16 bit integers to the message.
public addVectorI16 ( string name, ushort fid, short val ) : void
name string
fid ushort
val short
return void

addVectorI32() public method

Add an array of signed 32 bit integers to the message.
public addVectorI32 ( string name, ushort fid, int val ) : void
name string
fid ushort
val int
return void

addVectorI64() public method

Add an array of signed 64 bit integers to the message.
public addVectorI64 ( string name, ushort fid, long val ) : void
name string
fid ushort
val long
return void

addVectorI8() public method

Add an array of signed 8 bit integers to the message.
public addVectorI8 ( string name, ushort fid, sbyte val ) : void
name string
fid ushort
val sbyte
return void

addVectorMsg() public method

Add an array of nativeHandle objects to the message.
/// Throw if the message array is null. /// /// Throw if there are no items in the message array. ///
public addVectorMsg ( string name, ushort fid, MamaMsg val ) : void
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
val MamaMsg /// The array of messages to add. ///
return void

addVectorPrice() public method

Add an array of prices to the message.
/// Throw if the message array is null. /// /// Throw if there are no items in the message array. ///
public addVectorPrice ( string name, ushort fid, Wombat.MamaPrice val ) : void
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
val Wombat.MamaPrice /// The array of messages to add. ///
return void

addVectorString() public method

Add an array of strings (char*) to the message.
/// Throw if the string array is null. /// /// Throw if there are no items in the string array. ///
public addVectorString ( string name, ushort fid, string val ) : void
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
val string /// The array of strings to add. ///
return void

addVectorU16() public method

Add an array of unsigned 16 bit integers to the message.
public addVectorU16 ( string name, ushort fid, ushort val ) : void
name string
fid ushort
val ushort
return void

addVectorU32() public method

Add an array of unsigned 32 bit integers to the message.
public addVectorU32 ( string name, ushort fid, uint val ) : void
name string
fid ushort
val uint
return void

addVectorU64() public method

Add an array of unsigned 64 bit integers to the message.
public addVectorU64 ( string name, ushort fid, ulong val ) : void
name string
fid ushort
val ulong
return void

addVectorU8() public method

Add an array of unsigned 8 bit integers to the message.
public addVectorU8 ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void

begin() public method

public begin ( MamaMsgIterator &iterator ) : void
iterator MamaMsgIterator
return void

clear() public method

Clear a msg. All fields are removed.
public clear ( ) : void
return void

createForBridgeFromBuffer() public method

public createForBridgeFromBuffer ( byte byteBuffer, int size, Wombat.MamaBridge bridgeImpl ) : void
byteBuffer byte
size int
bridgeImpl Wombat.MamaBridge
return void

createFromBuffer() public method

public createFromBuffer ( byte byteBuffer, int size ) : void
byteBuffer byte
size int
return void

destroy() public method

Destroy a message and free any resources associated with it.
public destroy ( ) : void
return void

detach() public method

public detach ( ) : MamaMsg
return MamaMsg

end() public method

public end ( MamaMsgIterator &iterator ) : void
iterator MamaMsgIterator
return void

getBool() public method

Get a bool field.
public getBool ( Wombat.MamaFieldDescriptor descriptor ) : bool
descriptor Wombat.MamaFieldDescriptor
return bool

getBool() public method

Get a bool field.
public getBool ( Wombat.MamaFieldDescriptor descriptor, bool valueIfMissing ) : bool
descriptor Wombat.MamaFieldDescriptor
valueIfMissing bool
return bool

getBool() public method

Get a bool field.
public getBool ( string name, ushort fid ) : bool
name string
fid ushort
return bool

getBool() public method

Get a bool field.
public getBool ( string name, ushort fid, bool valueIfMissing ) : bool
name string
fid ushort
valueIfMissing bool
return bool

getByteBuffer() public method

public getByteBuffer ( byte &byteBuffer, int &size ) : void
byteBuffer byte
size int
return void

getByteSize() public method

Get the size of the underlying message in bytes. Only works for tibrvMsg and wombatmsg types.
public getByteSize ( ) : int
return int

getChar() public method

Get a char field.
public getChar ( Wombat.MamaFieldDescriptor descriptor ) : char
descriptor Wombat.MamaFieldDescriptor
return char

getChar() public method

Get a char field.
public getChar ( Wombat.MamaFieldDescriptor descriptor, char valueIfMissing ) : char
descriptor Wombat.MamaFieldDescriptor
valueIfMissing char
return char

getChar() public method

Get a char field.
public getChar ( string name, ushort fid ) : char
name string
fid ushort
return char

getChar() public method

Get a char field.
public getChar ( string name, ushort fid, char valueIfMissing ) : char
name string
fid ushort
valueIfMissing char
return char

getDateTime() public method

Get a MAMA date/time field.
public getDateTime ( Wombat.MamaFieldDescriptor descriptor ) : System.DateTime
descriptor Wombat.MamaFieldDescriptor
return System.DateTime

getDateTime() public method

Get a MAMA date/time field.
public getDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime valueIfMissing ) : System.DateTime
descriptor Wombat.MamaFieldDescriptor
valueIfMissing System.DateTime
return System.DateTime

getDateTime() public method

Get a MAMA date/time field.
public getDateTime ( string name, ushort fid ) : System.DateTime
name string
fid ushort
return System.DateTime

getDateTime() public method

Get a MAMA date/time field.
public getDateTime ( string name, ushort fid, System.DateTime valueIfMissing ) : System.DateTime
name string
fid ushort
valueIfMissing System.DateTime
return System.DateTime

getEntitleCode() public method

Get the entitle code for this message. The result defaults to 0 (no entitlement) if the field is not present.
public getEntitleCode ( ) : int
return int

getF32() public method

Get a float (f32) field.
public getF32 ( Wombat.MamaFieldDescriptor descriptor ) : float
descriptor Wombat.MamaFieldDescriptor
return float

getF32() public method

Get a float (f32) field.
public getF32 ( Wombat.MamaFieldDescriptor descriptor, float valueIfMissing ) : float
descriptor Wombat.MamaFieldDescriptor
valueIfMissing float
return float

getF32() public method

Get a float (f32) field.
public getF32 ( string name, ushort fid ) : float
name string
fid ushort
return float

getF32() public method

Get a float (f32) field.
public getF32 ( string name, ushort fid, float valueIfMissing ) : float
name string
fid ushort
valueIfMissing float
return float

getF64() public method

Get a F64 field.
public getF64 ( Wombat.MamaFieldDescriptor descriptor ) : double
descriptor Wombat.MamaFieldDescriptor
return double

getF64() public method

Get a F64 field.
public getF64 ( Wombat.MamaFieldDescriptor descriptor, double valueIfMissing ) : double
descriptor Wombat.MamaFieldDescriptor
valueIfMissing double
return double

getF64() public method

Get a F64 field.
public getF64 ( string name, ushort fid ) : double
name string
fid ushort
return double

getF64() public method

Get a F64 field.
public getF64 ( string name, ushort fid, double valueIfMissing ) : double
name string
fid ushort
valueIfMissing double
return double

getField() public method

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
public getField ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaMsgField
descriptor Wombat.MamaFieldDescriptor
return Wombat.MamaMsgField

getField() public method

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
public getField ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaMsgField valueIfMissing ) : Wombat.MamaMsgField
descriptor Wombat.MamaFieldDescriptor
valueIfMissing Wombat.MamaMsgField
return Wombat.MamaMsgField

getField() public method

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
public getField ( string name, ushort fid ) : Wombat.MamaMsgField
name string
fid ushort
return Wombat.MamaMsgField

getField() public method

Get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
public getField ( string name, ushort fid, Wombat.MamaMsgField valueIfMissing ) : Wombat.MamaMsgField
name string
fid ushort
valueIfMissing Wombat.MamaMsgField
return Wombat.MamaMsgField

getFieldAsString() public method

Return the field value as string
public getFieldAsString ( string name, ushort fid ) : string
name string
fid ushort
return string

getI16() public method

Get a I16, signed 16 bit integer, field.
public getI16 ( Wombat.MamaFieldDescriptor descriptor ) : short
descriptor Wombat.MamaFieldDescriptor
return short

getI16() public method

Get a I16, signed 16 bit integer, field.
public getI16 ( Wombat.MamaFieldDescriptor descriptor, short valueIfMissing ) : short
descriptor Wombat.MamaFieldDescriptor
valueIfMissing short
return short

getI16() public method

Get a I16, signed 16 bit integer, field.
public getI16 ( string name, ushort fid ) : short
name string
fid ushort
return short

getI16() public method

Get a I16, signed 16 bit integer, field.
public getI16 ( string name, ushort fid, short valueIfMissing ) : short
name string
fid ushort
valueIfMissing short
return short

getI32() public method

Get a I32, signed 32 bit integer, field.
public getI32 ( Wombat.MamaFieldDescriptor descriptor ) : int
descriptor Wombat.MamaFieldDescriptor
return int

getI32() public method

Get a I32, signed 32 bit integer, field.
public getI32 ( Wombat.MamaFieldDescriptor descriptor, int valueIfMissing ) : int
descriptor Wombat.MamaFieldDescriptor
valueIfMissing int
return int

getI32() public method

Get a I32, signed 32 bit integer, field.
public getI32 ( string name, ushort fid ) : int
name string
fid ushort
return int

getI32() public method

Get a I32, signed 32 bit integer, field.
public getI32 ( string name, ushort fid, int valueIfMissing ) : int
name string
fid ushort
valueIfMissing int
return int

getI64() public method

Get a I64, signed 64 bit integer, field.
public getI64 ( Wombat.MamaFieldDescriptor descriptor ) : long
descriptor Wombat.MamaFieldDescriptor
return long

getI64() public method

Get a I64, signed 64 bit integer, field.
public getI64 ( Wombat.MamaFieldDescriptor descriptor, long valueIfMissing ) : long
descriptor Wombat.MamaFieldDescriptor
valueIfMissing long
return long

getI64() public method

Get a I64, signed 64 bit integer, field.
public getI64 ( string name, ushort fid ) : long
name string
fid ushort
return long

getI64() public method

Get a I64, signed 64 bit integer, field.
public getI64 ( string name, ushort fid, long valueIfMissing ) : long
name string
fid ushort
valueIfMissing long
return long

getI8() public method

Get a I8, signed 8 bit integer, field.
public getI8 ( Wombat.MamaFieldDescriptor descriptor ) : sbyte
descriptor Wombat.MamaFieldDescriptor
return sbyte

getI8() public method

Get a I8, signed 8 bit integer, field.
public getI8 ( Wombat.MamaFieldDescriptor descriptor, sbyte valueIfMissing ) : sbyte
descriptor Wombat.MamaFieldDescriptor
valueIfMissing sbyte
return sbyte

getI8() public method

Get a I8, signed 8 bit integer, field.
public getI8 ( string name, ushort fid ) : sbyte
name string
fid ushort
return sbyte

getI8() public method

Get a I8, signed 8 bit integer, field.
public getI8 ( string name, ushort fid, sbyte valueIfMissing ) : sbyte
name string
fid ushort
valueIfMissing sbyte
return sbyte

getMsg() public method

Get a submessage.
public getMsg ( Wombat.MamaFieldDescriptor descriptor ) : MamaMsg
descriptor Wombat.MamaFieldDescriptor
return MamaMsg

getMsg() public method

Get a submessage.
public getMsg ( Wombat.MamaFieldDescriptor descriptor, MamaMsg valueIfMissing ) : MamaMsg
descriptor Wombat.MamaFieldDescriptor
valueIfMissing MamaMsg
return MamaMsg

getMsg() public method

Get a submessage.
public getMsg ( string name, ushort fid ) : MamaMsg
name string
fid ushort
return MamaMsg

getMsg() public method

Get a submessage.
public getMsg ( string name, ushort fid, MamaMsg valueIfMissing ) : MamaMsg
name string
fid ushort
valueIfMissing MamaMsg
return MamaMsg

getNumFields() public method

Returns the total number of fields in the message. Sub-messages count as a single field.
public getNumFields ( ) : int
return int

getOpaque() public method

Get a opaque field.
public getOpaque ( Wombat.MamaFieldDescriptor descriptor ) : byte[]
descriptor Wombat.MamaFieldDescriptor
return byte[]

getOpaque() public method

Get a opaque field.
public getOpaque ( Wombat.MamaFieldDescriptor descriptor, byte valueIfMissing ) : byte[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing byte
return byte[]

getOpaque() public method

Get an opaque field.
public getOpaque ( string name, ushort fid ) : byte[]
name string
fid ushort
return byte[]

getOpaque() public method

Get a opaque field.
public getOpaque ( string name, ushort fid, byte valueIfMissing ) : byte[]
name string
fid ushort
valueIfMissing byte
return byte[]

getPayloadType() public method

Return the payload type
public getPayloadType ( ) : mamaPayloadType
return mamaPayloadType

getPrice() public method

Get a MAMA price field.
public getPrice ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaPrice
descriptor Wombat.MamaFieldDescriptor
return Wombat.MamaPrice

getPrice() public method

Get a MAMA price field.
public getPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice
descriptor Wombat.MamaFieldDescriptor
valueIfMissing Wombat.MamaPrice
return Wombat.MamaPrice

getPrice() public method

Get a MAMA price field.
public getPrice ( string name, ushort fid ) : Wombat.MamaPrice
name string
fid ushort
return Wombat.MamaPrice

getPrice() public method

Get a MAMA price field.
public getPrice ( string name, ushort fid, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice
name string
fid ushort
valueIfMissing Wombat.MamaPrice
return Wombat.MamaPrice

getSeqNum() public method

Return the sequence
public getSeqNum ( ) : uint
return uint

getStatus() public method

Return the status
public getStatus ( ) : mamaMsgStatus
return mamaMsgStatus

getString() public method

Get a string field.
public getString ( Wombat.MamaFieldDescriptor descriptor ) : string
descriptor Wombat.MamaFieldDescriptor
return string

getString() public method

Get a string field.
public getString ( Wombat.MamaFieldDescriptor descriptor, string valueIfMissing ) : string
descriptor Wombat.MamaFieldDescriptor
valueIfMissing string
return string

getString() public method

Get a string field.
public getString ( string name, ushort fid ) : string
name string
fid ushort
return string

getString() public method

Get a string field.
public getString ( string name, ushort fid, string valueIfMissing ) : string
name string
fid ushort
valueIfMissing string
return string

getType() public method

Extract the type
public getType ( ) : mamaMsgType
return mamaMsgType

getU16() public method

Get a U16, unsigned 16 bit integer, field.
public getU16 ( Wombat.MamaFieldDescriptor descriptor ) : ushort
descriptor Wombat.MamaFieldDescriptor
return ushort

getU16() public method

Get a U16, unsigned 16 bit integer, field.
public getU16 ( Wombat.MamaFieldDescriptor descriptor, ushort valueIfMissing ) : ushort
descriptor Wombat.MamaFieldDescriptor
valueIfMissing ushort
return ushort

getU16() public method

Get a U16, unsigned 16 bit integer, field.
public getU16 ( string name, ushort fid ) : ushort
name string
fid ushort
return ushort

getU16() public method

Get a U16, unsigned 16 bit integer, field.
public getU16 ( string name, ushort fid, ushort valueIfMissing ) : ushort
name string
fid ushort
valueIfMissing ushort
return ushort

getU32() public method

Get a U32, unsigned 32 bit integer, field.
public getU32 ( Wombat.MamaFieldDescriptor descriptor ) : uint
descriptor Wombat.MamaFieldDescriptor
return uint

getU32() public method

Get a U32, unsigned 32 bit integer, field.
public getU32 ( Wombat.MamaFieldDescriptor descriptor, uint valueIfMissing ) : uint
descriptor Wombat.MamaFieldDescriptor
valueIfMissing uint
return uint

getU32() public method

Get a U32, unsigned 32 bit integer, field.
public getU32 ( string name, ushort fid ) : uint
name string
fid ushort
return uint

getU32() public method

Get a U32, unsigned 32 bit integer, field.
public getU32 ( string name, ushort fid, uint valueIfMissing ) : uint
name string
fid ushort
valueIfMissing uint
return uint

getU64() public method

Get a U64, unsigned 64 bit integer, field.
public getU64 ( Wombat.MamaFieldDescriptor descriptor ) : ulong
descriptor Wombat.MamaFieldDescriptor
return ulong

getU64() public method

Get a U64, unsigned 64 bit integer, field.
public getU64 ( Wombat.MamaFieldDescriptor descriptor, ulong valueIfMissing ) : ulong
descriptor Wombat.MamaFieldDescriptor
valueIfMissing ulong
return ulong

getU64() public method

Get a U64, unsigned 64 bit integer, field.
public getU64 ( string name, ushort fid ) : ulong
name string
fid ushort
return ulong

getU64() public method

Get a U64, unsigned 64 bit integer, field.
public getU64 ( string name, ushort fid, ulong valueIfMissing ) : ulong
name string
fid ushort
valueIfMissing ulong
return ulong

getU8() public method

Get a U8, unsigned 8 bit integer, field.
public getU8 ( Wombat.MamaFieldDescriptor descriptor ) : byte
descriptor Wombat.MamaFieldDescriptor
return byte

getU8() public method

Get a U8, unsigned 8 bit integer, field.
public getU8 ( Wombat.MamaFieldDescriptor descriptor, byte valueIfMissing ) : byte
descriptor Wombat.MamaFieldDescriptor
valueIfMissing byte
return byte

getU8() public method

Get a U8, unsigned 8 bit integer, field.
public getU8 ( string name, ushort fid ) : byte
name string
fid ushort
return byte

getU8() public method

Get a U8, unsigned 8 bit integer, field.
public getU8 ( string name, ushort fid, byte valueIfMissing ) : byte
name string
fid ushort
valueIfMissing byte
return byte

getVectorBool() public method

Get a vector of booleans.
public getVectorBool ( Wombat.MamaFieldDescriptor descriptor ) : bool[]
descriptor Wombat.MamaFieldDescriptor
return bool[]

getVectorBool() public method

Get a vector of booleans.
public getVectorBool ( Wombat.MamaFieldDescriptor descriptor, bool valueIfMissing ) : bool[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing bool
return bool[]

getVectorBool() public method

Get a vector of booleans.
public getVectorBool ( string name, ushort fid ) : bool[]
name string
fid ushort
return bool[]

getVectorBool() public method

Get a vector of booleans.
public getVectorBool ( string name, ushort fid, bool valueIfMissing ) : bool[]
name string
fid ushort
valueIfMissing bool
return bool[]

getVectorChar() public method

Get a vector of chars.
public getVectorChar ( Wombat.MamaFieldDescriptor descriptor ) : char[]
descriptor Wombat.MamaFieldDescriptor
return char[]

getVectorChar() public method

Get a vector of chars.
public getVectorChar ( Wombat.MamaFieldDescriptor descriptor, char valueIfMissing ) : char[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing char
return char[]

getVectorChar() public method

Get a vector of chars.
public getVectorChar ( string name, ushort fid ) : char[]
name string
fid ushort
return char[]

getVectorChar() public method

Get a vector of chars.
public getVectorChar ( string name, ushort fid, char valueIfMissing ) : char[]
name string
fid ushort
valueIfMissing char
return char[]

getVectorDateTime() public method

Get a vector of timestamps.
public getVectorDateTime ( Wombat.MamaFieldDescriptor descriptor ) : System.DateTime[]
descriptor Wombat.MamaFieldDescriptor
return System.DateTime[]

getVectorDateTime() public method

Get a vector of timestamps.
public getVectorDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime valueIfMissing ) : System.DateTime[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing System.DateTime
return System.DateTime[]

getVectorDateTime() public method

Get a vector of timestamps.
public getVectorDateTime ( string name, ushort fid ) : System.DateTime[]
name string
fid ushort
return System.DateTime[]

getVectorDateTime() public method

Get a vector of timestamps.
public getVectorDateTime ( string name, ushort fid, System.DateTime valueIfMissing ) : System.DateTime[]
name string
fid ushort
valueIfMissing System.DateTime
return System.DateTime[]

getVectorF32() public method

Get a vector of 32 bit floating point numbers.
public getVectorF32 ( Wombat.MamaFieldDescriptor descriptor ) : float[]
descriptor Wombat.MamaFieldDescriptor
return float[]

getVectorF32() public method

Get a vector of 32 bit floating point numbers.
public getVectorF32 ( Wombat.MamaFieldDescriptor descriptor, float valueIfMissing ) : float[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing float
return float[]

getVectorF32() public method

Get a vector of 32 bit floating point numbers.
public getVectorF32 ( string name, ushort fid ) : float[]
name string
fid ushort
return float[]

getVectorF32() public method

Get a vector of 32 bit floating point numbers.
public getVectorF32 ( string name, ushort fid, float valueIfMissing ) : float[]
name string
fid ushort
valueIfMissing float
return float[]

getVectorF64() public method

Get a vector of 64 bit floating point numbers.
public getVectorF64 ( Wombat.MamaFieldDescriptor descriptor ) : double[]
descriptor Wombat.MamaFieldDescriptor
return double[]

getVectorF64() public method

Get a vector of 64 bit floating point numbers.
public getVectorF64 ( Wombat.MamaFieldDescriptor descriptor, double valueIfMissing ) : double[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing double
return double[]

getVectorF64() public method

Get a vector of 64 bit floating point numbers.
public getVectorF64 ( string name, ushort fid ) : double[]
name string
fid ushort
return double[]

getVectorF64() public method

Get a vector of 64 bit floating point numbers.
public getVectorF64 ( string name, ushort fid, double valueIfMissing ) : double[]
name string
fid ushort
valueIfMissing double
return double[]

getVectorI16() public method

Get a vector of signed 16 bit integers.
public getVectorI16 ( Wombat.MamaFieldDescriptor descriptor ) : short[]
descriptor Wombat.MamaFieldDescriptor
return short[]

getVectorI16() public method

Get a vector of signed 16 bit integers.
public getVectorI16 ( Wombat.MamaFieldDescriptor descriptor, short valueIfMissing ) : short[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing short
return short[]

getVectorI16() public method

Get a vector of signed 16 bit integers.
public getVectorI16 ( string name, ushort fid ) : short[]
name string
fid ushort
return short[]

getVectorI16() public method

Get a vector of signed 16 bit integers.
public getVectorI16 ( string name, ushort fid, short valueIfMissing ) : short[]
name string
fid ushort
valueIfMissing short
return short[]

getVectorI32() public method

Get a vector of signed 32 bit integers.
public getVectorI32 ( Wombat.MamaFieldDescriptor descriptor ) : int[]
descriptor Wombat.MamaFieldDescriptor
return int[]

getVectorI32() public method

Get a vector of signed 32 bit integers.
public getVectorI32 ( Wombat.MamaFieldDescriptor descriptor, int valueIfMissing ) : int[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing int
return int[]

getVectorI32() public method

Get a vector of signed 32 bit integers.
public getVectorI32 ( string name, ushort fid ) : int[]
name string
fid ushort
return int[]

getVectorI32() public method

Get a vector of signed 32 bit integers.
public getVectorI32 ( string name, ushort fid, int valueIfMissing ) : int[]
name string
fid ushort
valueIfMissing int
return int[]

getVectorI64() public method

Get a vector of signed 64 bit integers.
public getVectorI64 ( Wombat.MamaFieldDescriptor descriptor ) : long[]
descriptor Wombat.MamaFieldDescriptor
return long[]

getVectorI64() public method

Get a vector of signed 64 bit integers.
public getVectorI64 ( Wombat.MamaFieldDescriptor descriptor, long valueIfMissing ) : long[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing long
return long[]

getVectorI64() public method

Get a vector of signed 64 bit integers.
public getVectorI64 ( string name, ushort fid ) : long[]
name string
fid ushort
return long[]

getVectorI64() public method

Get a vector of signed 64 bit integers.
public getVectorI64 ( string name, ushort fid, long valueIfMissing ) : long[]
name string
fid ushort
valueIfMissing long
return long[]

getVectorI8() public method

Get a vector of signed 8 bit integers.
public getVectorI8 ( Wombat.MamaFieldDescriptor descriptor ) : sbyte[]
descriptor Wombat.MamaFieldDescriptor
return sbyte[]

getVectorI8() public method

Get a vector of signed 8 bit integers.
public getVectorI8 ( Wombat.MamaFieldDescriptor descriptor, sbyte valueIfMissing ) : sbyte[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing sbyte
return sbyte[]

getVectorI8() public method

Get a vector of signed 8 bit integers.
public getVectorI8 ( string name, ushort fid ) : sbyte[]
name string
fid ushort
return sbyte[]

getVectorI8() public method

Get a vector of signed 8 bit integers.
public getVectorI8 ( string name, ushort fid, sbyte valueIfMissing ) : sbyte[]
name string
fid ushort
valueIfMissing sbyte
return sbyte[]

getVectorMsg() public method

Get a vector of submessages.
public getVectorMsg ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaMsg[]
descriptor Wombat.MamaFieldDescriptor
return Wombat.MamaMsg[]

getVectorMsg() public method

Get a vector of submessages.
public getVectorMsg ( Wombat.MamaFieldDescriptor descriptor, MamaMsg valueIfMissing ) : Wombat.MamaMsg[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing MamaMsg
return Wombat.MamaMsg[]

getVectorMsg() public method

Get a vector of submessages.
public getVectorMsg ( string name, ushort fid ) : Wombat.MamaMsg[]
name string
fid ushort
return Wombat.MamaMsg[]

getVectorMsg() public method

Get a vector of submessages.
public getVectorMsg ( string name, ushort fid, MamaMsg valueIfMissing ) : Wombat.MamaMsg[]
name string
fid ushort
valueIfMissing MamaMsg
return Wombat.MamaMsg[]

getVectorPrice() public method

Get a vector of prices.
public getVectorPrice ( Wombat.MamaFieldDescriptor descriptor ) : Wombat.MamaPrice[]
descriptor Wombat.MamaFieldDescriptor
return Wombat.MamaPrice[]

getVectorPrice() public method

Get a vector of prices.
public getVectorPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing Wombat.MamaPrice
return Wombat.MamaPrice[]

getVectorPrice() public method

Get a vector of prices.
public getVectorPrice ( string name, ushort fid ) : Wombat.MamaPrice[]
name string
fid ushort
return Wombat.MamaPrice[]

getVectorPrice() public method

Get a vector of prices.
public getVectorPrice ( string name, ushort fid, Wombat.MamaPrice valueIfMissing ) : Wombat.MamaPrice[]
name string
fid ushort
valueIfMissing Wombat.MamaPrice
return Wombat.MamaPrice[]

getVectorString() public method

Get a vector of strings (char*).
public getVectorString ( Wombat.MamaFieldDescriptor descriptor ) : string[]
descriptor Wombat.MamaFieldDescriptor
return string[]

getVectorString() public method

Get a vector of strings (char*).
public getVectorString ( Wombat.MamaFieldDescriptor descriptor, string valueIfMissing ) : string[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing string
return string[]

getVectorString() public method

Get a vector of strings (char*).
/// Thrown if the vector could not be found. ///
public getVectorString ( string name, ushort fid ) : string[]
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
return string[]

getVectorString() public method

Get a vector of strings (char*).
public getVectorString ( string name, ushort fid, string valueIfMissing ) : string[]
name string
fid ushort
valueIfMissing string
return string[]

getVectorU16() public method

Get a vector of unsigned 16 bit integers.
public getVectorU16 ( Wombat.MamaFieldDescriptor descriptor ) : ushort[]
descriptor Wombat.MamaFieldDescriptor
return ushort[]

getVectorU16() public method

Get a vector of unsigned 16 bit integers.
public getVectorU16 ( Wombat.MamaFieldDescriptor descriptor, ushort valueIfMissing ) : ushort[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing ushort
return ushort[]

getVectorU16() public method

Get a vector of unsigned 16 bit integers.
public getVectorU16 ( string name, ushort fid ) : ushort[]
name string
fid ushort
return ushort[]

getVectorU16() public method

Get a vector of unsigned 16 bit integers.
public getVectorU16 ( string name, ushort fid, ushort valueIfMissing ) : ushort[]
name string
fid ushort
valueIfMissing ushort
return ushort[]

getVectorU32() public method

Get a vector of unsigned 32 bit integers.
public getVectorU32 ( Wombat.MamaFieldDescriptor descriptor ) : uint[]
descriptor Wombat.MamaFieldDescriptor
return uint[]

getVectorU32() public method

Get a vector of unsigned 32 bit integers.
public getVectorU32 ( Wombat.MamaFieldDescriptor descriptor, uint valueIfMissing ) : uint[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing uint
return uint[]

getVectorU32() public method

Get a vector of unsigned 32 bit integers.
public getVectorU32 ( string name, ushort fid ) : uint[]
name string
fid ushort
return uint[]

getVectorU32() public method

Get a vector of unsigned 32 bit integers.
public getVectorU32 ( string name, ushort fid, uint valueIfMissing ) : uint[]
name string
fid ushort
valueIfMissing uint
return uint[]

getVectorU64() public method

Get a vector of unsigned 64 bit integers.
public getVectorU64 ( Wombat.MamaFieldDescriptor descriptor ) : ulong[]
descriptor Wombat.MamaFieldDescriptor
return ulong[]

getVectorU64() public method

Get a vector of unsigned 64 bit integers.
public getVectorU64 ( Wombat.MamaFieldDescriptor descriptor, ulong valueIfMissing ) : ulong[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing ulong
return ulong[]

getVectorU64() public method

Get a vector of unsigned 64 bit integers.
public getVectorU64 ( string name, ushort fid ) : ulong[]
name string
fid ushort
return ulong[]

getVectorU64() public method

Get a vector of unsigned 64 bit integers.
public getVectorU64 ( string name, ushort fid, ulong valueIfMissing ) : ulong[]
name string
fid ushort
valueIfMissing ulong
return ulong[]

getVectorU8() public method

Get a vector of unsigned 8 bit integers.
public getVectorU8 ( Wombat.MamaFieldDescriptor descriptor ) : byte[]
descriptor Wombat.MamaFieldDescriptor
return byte[]

getVectorU8() public method

Get a vector of unsigned 8 bit integers.
public getVectorU8 ( Wombat.MamaFieldDescriptor descriptor, byte valueIfMissing ) : byte[]
descriptor Wombat.MamaFieldDescriptor
valueIfMissing byte
return byte[]

getVectorU8() public method

Get a vector of unsigned 8 bit integers.
public getVectorU8 ( string name, ushort fid ) : byte[]
name string
fid ushort
return byte[]

getVectorU8() public method

Get a vector of unsigned 8 bit integers.
public getVectorU8 ( string name, ushort fid, byte valueIfMissing ) : byte[]
name string
fid ushort
valueIfMissing byte
return byte[]

iterateFields() public method

Invoke the specified callback for each field in the message.
public iterateFields ( MamaMsgFieldIterator iterator, Wombat.MamaDictionary dictionary, object closure ) : void
iterator MamaMsgFieldIterator
dictionary Wombat.MamaDictionary
closure object
return void

stringForMsg() public method

Return the string for this message
public stringForMsg ( ) : string
return string

stringForStatus() public method

Return the status string
public stringForStatus ( mamaMsgStatus type ) : string
type mamaMsgStatus
return string

stringForType() public method

Return the type name.
public stringForType ( mamaMsgType type ) : string
type mamaMsgType
return string

tryBool() public method

Try to get a bool field.
public tryBool ( Wombat.MamaFieldDescriptor descriptor, bool &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result bool
return bool

tryBool() public method

Try to get a bool field.
public tryBool ( string name, ushort fid, bool &result ) : bool
name string
fid ushort
result bool
return bool

tryChar() public method

Try to get a char field.
public tryChar ( Wombat.MamaFieldDescriptor descriptor, char &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result char
return bool

tryChar() public method

Try to get a char field.
public tryChar ( string name, ushort fid, char &result ) : bool
name string
fid ushort
result char
return bool

tryDateTime() public method

public tryDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result System.DateTime
return bool

tryDateTime() public method

public tryDateTime ( string name, ushort fid, System.DateTime &result ) : bool
name string
fid ushort
result System.DateTime
return bool

tryF32() public method

Try to get a float (f32) field.
public tryF32 ( Wombat.MamaFieldDescriptor descriptor, float &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result float
return bool

tryF32() public method

Try to get a float (f32) field.
public tryF32 ( string name, ushort fid, float &result ) : bool
name string
fid ushort
result float
return bool

tryF64() public method

Try to get a f64 field.
public tryF64 ( Wombat.MamaFieldDescriptor descriptor, double &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result double
return bool

tryF64() public method

Try to get a f64 field.
public tryF64 ( string name, ushort fid, double &result ) : bool
name string
fid ushort
result double
return bool

tryField() public method

Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
public tryField ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaMsgField &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result Wombat.MamaMsgField
return bool

tryField() public method

Try to get a MAMA msg field. The result contains the reusable field object of the nativeHandle object. Applications calling this method will receive the same reusable object for repeated calls on same nativeHandle object.
public tryField ( string name, ushort fid, Wombat.MamaMsgField &result ) : bool
name string
fid ushort
result Wombat.MamaMsgField
return bool

tryI16() public method

Try to get a I16, signed 16 bit integer, field.
public tryI16 ( Wombat.MamaFieldDescriptor descriptor, short &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result short
return bool

tryI16() public method

Try to get a I16, signed 16 bit integer, field.
public tryI16 ( string name, ushort fid, short &result ) : bool
name string
fid ushort
result short
return bool

tryI32() public method

public tryI32 ( Wombat.MamaFieldDescriptor descriptor, Wombat.NullableInt &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result Wombat.NullableInt
return bool

tryI32() public method

Try to get a I32, signed 32 bit integer, field.
public tryI32 ( Wombat.MamaFieldDescriptor descriptor, int &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result int
return bool

tryI32() public method

public tryI32 ( string name, ushort fid, Wombat.NullableInt &result ) : bool
name string
fid ushort
result Wombat.NullableInt
return bool

tryI32() public method

Try to get a I32, signed 32 bit integer, field.
public tryI32 ( string name, ushort fid, int &result ) : bool
name string
fid ushort
result int
return bool

tryI64() public method

public tryI64 ( Wombat.MamaFieldDescriptor descriptor, Wombat.NullableLong &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result Wombat.NullableLong
return bool

tryI64() public method

public tryI64 ( Wombat.MamaFieldDescriptor descriptor, long &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result long
return bool

tryI64() public method

public tryI64 ( string name, ushort fid, Wombat.NullableLong &result ) : bool
name string
fid ushort
result Wombat.NullableLong
return bool

tryI64() public method

public tryI64 ( string name, ushort fid, long &result ) : bool
name string
fid ushort
result long
return bool

tryI8() public method

Try to get a I8, signed 8 bit integer, field.
public tryI8 ( Wombat.MamaFieldDescriptor descriptor, sbyte &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result sbyte
return bool

tryI8() public method

Try to get a I8, signed 8 bit integer, field.
public tryI8 ( string name, ushort fid, sbyte &result ) : bool
name string
fid ushort
result sbyte
return bool

tryMsg() public method

Try to get a submessage.
public tryMsg ( Wombat.MamaFieldDescriptor descriptor, MamaMsg &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result MamaMsg
return bool

tryMsg() public method

Try to get a submessage.
public tryMsg ( string name, ushort fid, MamaMsg &result ) : bool
name string
fid ushort
result MamaMsg
return bool

tryOpaque() public method

Try to get an opaque field.
public tryOpaque ( Wombat.MamaFieldDescriptor descriptor, byte &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result byte
return bool

tryOpaque() public method

Try to get an opaque field.
public tryOpaque ( string name, ushort fid, byte &result ) : bool
name string
fid ushort
result byte
return bool

tryPrice() public method

Try to get a MAMA price field.
public tryPrice ( Wombat.MamaFieldDescriptor descriptor, Wombat.MamaPrice &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result Wombat.MamaPrice
return bool

tryPrice() public method

Try to get a MAMA price field.
public tryPrice ( string name, ushort fid, Wombat.MamaPrice &result ) : bool
name string
fid ushort
result Wombat.MamaPrice
return bool

tryString() public method

Try to get a string field.
public tryString ( Wombat.MamaFieldDescriptor descriptor, string &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result string
return bool

tryString() public method

Try to get a string field.
public tryString ( string name, ushort fid, string &result ) : bool
name string
fid ushort
result string
return bool

tryStringAnsi() public method

public tryStringAnsi ( Wombat.MamaFieldDescriptor descriptor, IntPtr &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result System.IntPtr
return bool

tryStringAnsi() public method

public tryStringAnsi ( string name, ushort fid, IntPtr &result ) : bool
name string
fid ushort
result System.IntPtr
return bool

tryU16() public method

Try to get a U16, unsigned 16 bit integer, field.
public tryU16 ( Wombat.MamaFieldDescriptor descriptor, ushort &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result ushort
return bool

tryU16() public method

Try to get a U16, unsigned 16 bit integer, field.
public tryU16 ( string name, ushort fid, ushort &result ) : bool
name string
fid ushort
result ushort
return bool

tryU32() public method

Try to get a U32, unsigned 32 bit integer, field.
public tryU32 ( Wombat.MamaFieldDescriptor descriptor, uint &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result uint
return bool

tryU32() public method

Try to get a U32, unsigned 32 bit integer, field.
public tryU32 ( string name, ushort fid, uint &result ) : bool
name string
fid ushort
result uint
return bool

tryU64() public method

Try to get a U64, unsigned 64 bit integer, field.
public tryU64 ( Wombat.MamaFieldDescriptor descriptor, ulong &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result ulong
return bool

tryU64() public method

Try to get a U64, unsigned 64 bit integer, field.
public tryU64 ( string name, ushort fid, ulong &result ) : bool
name string
fid ushort
result ulong
return bool

tryU8() public method

Try to get a I8, signed 8 bit integer, field.
public tryU8 ( Wombat.MamaFieldDescriptor descriptor, byte &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result byte
return bool

tryU8() public method

Try to get a I8, signed 8 bit integer, field.
public tryU8 ( string name, ushort fid, byte &result ) : bool
name string
fid ushort
result byte
return bool

tryVectorBool() public method

Try to get a vector of booleans.
public tryVectorBool ( Wombat.MamaFieldDescriptor descriptor, bool &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result bool
return bool

tryVectorBool() public method

Try to get a vector of booleans.
public tryVectorBool ( string name, ushort fid, bool &result ) : bool
name string
fid ushort
result bool
return bool

tryVectorChar() public method

Try to get a vector of chars.
public tryVectorChar ( Wombat.MamaFieldDescriptor descriptor, char &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result char
return bool

tryVectorChar() public method

Try to get a vector of chars.
public tryVectorChar ( string name, ushort fid, char &result ) : bool
name string
fid ushort
result char
return bool

tryVectorDateTime() public method

Try to get a vector of timestamps.
public tryVectorDateTime ( Wombat.MamaFieldDescriptor descriptor, System.DateTime &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result System.DateTime
return bool

tryVectorDateTime() public method

Try to get a vector of timestamps.
public tryVectorDateTime ( string name, ushort fid, System.DateTime &result ) : bool
name string
fid ushort
result System.DateTime
return bool

tryVectorF32() public method

Try to get a vector of 32 bit floating point numbers.
public tryVectorF32 ( Wombat.MamaFieldDescriptor descriptor, float &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result float
return bool

tryVectorF32() public method

Try to get a vector of 32 bit floating point numbers.
public tryVectorF32 ( string name, ushort fid, float &result ) : bool
name string
fid ushort
result float
return bool

tryVectorF64() public method

Try to get a vector of 64 bit floating point numbers.
public tryVectorF64 ( Wombat.MamaFieldDescriptor descriptor, double &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result double
return bool

tryVectorF64() public method

Try to get a vector of 64 bit floating point numbers.
public tryVectorF64 ( string name, ushort fid, double &result ) : bool
name string
fid ushort
result double
return bool

tryVectorI16() public method

Try to get a vector of signed 16 bit integers.
public tryVectorI16 ( Wombat.MamaFieldDescriptor descriptor, short &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result short
return bool

tryVectorI16() public method

Try to get a vector of signed 16 bit integers.
public tryVectorI16 ( string name, ushort fid, short &result ) : bool
name string
fid ushort
result short
return bool

tryVectorI32() public method

Try to get a vector of signed 32 bit integers.
public tryVectorI32 ( Wombat.MamaFieldDescriptor descriptor, int &result ) : bool
descriptor Wombat.MamaFieldDescriptor
result int
return bool

tryVectorI32() public method

Try to get a vector of signed 32 bit integers.
public tryVectorI32 ( string name, ushort fid, int &result ) : bool
name string
fid ushort
result int
return bool

tryVectorI64() public method

Try get a vector of signed 64 bit integers.
public tryVectorI64 ( MamaFieldDescriptor descriptor, long &result ) : bool
descriptor MamaFieldDescriptor
result long
return bool

tryVectorI64() public method

Try get a vector of signed 64 bit integers.
public tryVectorI64 ( string name, ushort fid, long &result ) : bool
name string
fid ushort
result long
return bool

tryVectorI8() public method

Try to get a vector of signed 8 bit integers.
public tryVectorI8 ( MamaFieldDescriptor descriptor, sbyte &result ) : bool
descriptor MamaFieldDescriptor
result sbyte
return bool

tryVectorI8() public method

Try to get a vector of signed 8 bit integers.
public tryVectorI8 ( string name, ushort fid, sbyte &result ) : bool
name string
fid ushort
result sbyte
return bool

tryVectorMsg() public method

public tryVectorMsg ( MamaFieldDescriptor descriptor, MamaMsg &result ) : bool
descriptor MamaFieldDescriptor
result MamaMsg
return bool

tryVectorMsg() public method

public tryVectorMsg ( string name, ushort fid, MamaMsg &result ) : bool
name string
fid ushort
result MamaMsg
return bool

tryVectorPrice() public method

Try to get a vector of prices.
public tryVectorPrice ( MamaFieldDescriptor descriptor, MamaPrice &result ) : bool
descriptor MamaFieldDescriptor
result MamaPrice
return bool

tryVectorPrice() public method

Try to get a vector of prices.
public tryVectorPrice ( string name, ushort fid, MamaPrice &result ) : bool
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
result MamaPrice /// To return the array of prices. ///
return bool

tryVectorString() public method

Try to get a vector of strings (char*).
public tryVectorString ( MamaFieldDescriptor descriptor, string &result ) : bool
descriptor MamaFieldDescriptor
result string
return bool

tryVectorString() public method

Try to get a vector of strings (char*).
public tryVectorString ( string name, ushort fid, string &result ) : bool
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
result string /// To return the array of strings. ///
return bool

tryVectorU16() public method

Try to get a vector of unsigned 16 bit integers.
public tryVectorU16 ( MamaFieldDescriptor descriptor, ushort &result ) : bool
descriptor MamaFieldDescriptor
result ushort
return bool

tryVectorU16() public method

Try to get a vector of unsigned 16 bit integers.
public tryVectorU16 ( string name, ushort fid, ushort &result ) : bool
name string
fid ushort
result ushort
return bool

tryVectorU32() public method

Try to get a vector of unsigned 32 bit integers.
public tryVectorU32 ( MamaFieldDescriptor descriptor, uint &result ) : bool
descriptor MamaFieldDescriptor
result uint
return bool

tryVectorU32() public method

Try to get a vector of unsigned 32 bit integers.
public tryVectorU32 ( string name, ushort fid, uint &result ) : bool
name string
fid ushort
result uint
return bool

tryVectorU64() public method

Try to get a vector of unsigned 64 bit integers.
public tryVectorU64 ( MamaFieldDescriptor descriptor, ulong &result ) : bool
descriptor MamaFieldDescriptor
result ulong
return bool

tryVectorU64() public method

Try to get a vector of unsigned 64 bit integers.
public tryVectorU64 ( string name, ushort fid, ulong &result ) : bool
name string
fid ushort
result ulong
return bool

tryVectorU8() public method

Try to get a vector of unsigned 8 bit integers.
public tryVectorU8 ( MamaFieldDescriptor descriptor, byte &result ) : bool
descriptor MamaFieldDescriptor
result byte
return bool

tryVectorU8() public method

Try to get a vector of unsigned 8 bit integers.
public tryVectorU8 ( string name, ushort fid, byte &result ) : bool
name string
fid ushort
result byte
return bool

typeForMsg() public method

Extract the type from the supplied message.
public typeForMsg ( ) : mamaMsgType
return mamaMsgType

updateBool() public method

Update the value of an existing bool field. If the field does not exist it is added.
public updateBool ( string name, ushort fid, bool val ) : void
name string
fid ushort
val bool
return void

updateChar() public method

Update the value of an existing char field. If the field does not exist it is added.
public updateChar ( string name, ushort fid, char val ) : void
name string
fid ushort
val char
return void

updateDateTime() public method

Update a MAMA date/time field.
public updateDateTime ( string name, ushort fid, DateTime val ) : void
name string
fid ushort
val DateTime
return void

updateF32() public method

Update the value of an existing float field. If the field does not exist it is added.
public updateF32 ( string name, ushort fid, float val ) : void
name string
fid ushort
val float
return void

updateF64() public method

Update the value of an existing f64 field. If the field does not exist it is added.
public updateF64 ( string name, ushort fid, double val ) : void
name string
fid ushort
val double
return void

updateI16() public method

Update the value of an existing I16 field. If the field does not exist it is added.
public updateI16 ( string name, ushort fid, short val ) : void
name string
fid ushort
val short
return void

updateI32() public method

Update the value of an existing I32 field. If the field does not exist it is added.
public updateI32 ( string name, ushort fid, int val ) : void
name string
fid ushort
val int
return void

updateI64() public method

Update the value of an existing I64 field. If the field does not exist it is added.
public updateI64 ( string name, ushort fid, long val ) : void
name string
fid ushort
val long
return void

updateI8() public method

Update the value of an existing I8 field. If the field does not exist it is added.
public updateI8 ( string name, ushort fid, sbyte val ) : void
name string
fid ushort
val sbyte
return void

updateOpaque() public method

Update an opaque field.
public updateOpaque ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void

updatePrice() public method

Update a MAMA price field.
public updatePrice ( string name, ushort fid, MamaPrice val ) : void
name string
fid ushort
val MamaPrice
return void

updateString() public method

Update the value of an existing string field. If the field does not exist it is added.
public updateString ( string name, ushort fid, string val ) : void
name string
fid ushort
val string
return void

updateU16() public method

Update the value of an existing U16 field. If the field does not exist it is added.
public updateU16 ( string name, ushort fid, ushort val ) : void
name string
fid ushort
val ushort
return void

updateU32() public method

Update the value of an existing U32 field. If the field does not exist it is added.
public updateU32 ( string name, ushort fid, uint val ) : void
name string
fid ushort
val uint
return void

updateU64() public method

Update the value of an existing U64 field. If the field does not exist it is added.
public updateU64 ( string name, ushort fid, ulong val ) : void
name string
fid ushort
val ulong
return void

updateU8() public method

Update the value of an existing U8 field. If the field does not exist it is added.
public updateU8 ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void

updateVectorBool() public method

Update an array of booleans.
public updateVectorBool ( string name, ushort fid, bool val ) : void
name string
fid ushort
val bool
return void

updateVectorChar() public method

Update an array of characters.
public updateVectorChar ( string name, ushort fid, char val ) : void
name string
fid ushort
val char
return void

updateVectorDateTime() public method

Update an array of timestamps.
public updateVectorDateTime ( string name, ushort fid, DateTime val ) : void
name string
fid ushort
val DateTime
return void

updateVectorF32() public method

Update an array of 32 bit floating point numbers.
public updateVectorF32 ( string name, ushort fid, float val ) : void
name string
fid ushort
val float
return void

updateVectorF64() public method

Update an array of 64 bit floating point numbers.
public updateVectorF64 ( string name, ushort fid, double val ) : void
name string
fid ushort
val double
return void

updateVectorI16() public method

Update an array of signed 16 bit integers.
public updateVectorI16 ( string name, ushort fid, short val ) : void
name string
fid ushort
val short
return void

updateVectorI32() public method

Update an array of signed 32 bit integers.
public updateVectorI32 ( string name, ushort fid, int val ) : void
name string
fid ushort
val int
return void

updateVectorI64() public method

Update an array of signed 64 bit integers.
public updateVectorI64 ( string name, ushort fid, long val ) : void
name string
fid ushort
val long
return void

updateVectorI8() public method

Update an array of signed 8 bit integers.
public updateVectorI8 ( string name, ushort fid, sbyte val ) : void
name string
fid ushort
val sbyte
return void

updateVectorMsg() public method

Update an array of nativeHandle objects.
/// Throw if the message array is null. /// /// Throw if there are no items in the message array. ///
public updateVectorMsg ( string name, ushort fid, MamaMsg val ) : void
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
val MamaMsg /// The array of messages to add. ///
return void

updateVectorPrice() public method

Update an array of prices.
/// Throw if the message array is null. /// /// Throw if there are no items in the message array. ///
public updateVectorPrice ( string name, ushort fid, MamaPrice val ) : void
name string /// The field name, can be null or blank if the field Id is supplied. ///
fid ushort /// The field id, can be 0 if the name is specified and field names are turned on. ///
val MamaPrice /// The array of messages to add. ///
return void

updateVectorString() public method

Update an array of strings (char*).
/// Throw if the string array is null. /// /// Throw if there are no items in the string array. ///
public updateVectorString ( string name, ushort fid, string val ) : void
name string The field name, can be null or blank if the field Id is supplied.
fid ushort
val string The array of strings to add.
return void

updateVectorU16() public method

Update an array of unsigned 16 bit integers.
public updateVectorU16 ( string name, ushort fid, ushort val ) : void
name string
fid ushort
val ushort
return void

updateVectorU32() public method

Update an array of unsigned 32 bit integers.
public updateVectorU32 ( string name, ushort fid, uint val ) : void
name string
fid ushort
val uint
return void

updateVectorU64() public method

Update an array of unsigned 64 bit integers.
public updateVectorU64 ( string name, ushort fid, ulong val ) : void
name string
fid ushort
val ulong
return void

updateVectorU8() public method

Update an array of unsigned 8 bit integers.
public updateVectorU8 ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void