Classes Files

Wombat::MamdaFields

Common base class for all the MamdaXXXFields classes. More…

Inherited by Wombat.MamdaAuctionFields, Wombat.MamdaCommonFields, Wombat.MamdaFundamentalFields, Wombat.MamdaOptionFields, Wombat.MamdaOrderBookFields, Wombat.MamdaOrderImbalanceFields, Wombat.MamdaQuoteFields, Wombat.MamdaSecurityStatusFields, Wombat.MamdaTradeFields

Protected Functions

  Name
string lookupFieldName(NameValueCollection properties, string defaultFieldName)

Detailed Description

class Wombat::MamdaFields;

Common base class for all the MamdaXXXFields classes.

Each of the subclasses maintains a cache of relevant MamaFieldDescriptors obtained from the MamaDictionary using the fields standard name. If the dictionary is being published with non standard field name mappings users can pass a NameValueCollection object to the corresponding setDictionary() method which contains field mappings.

Each mapping should have the following format:

mamda.field.= e.g.

mamda.field.wTradePrice=mMappedTradePrice where mMappedTradePrice is the name of the field under which the trade price is being published by the feedhandlers and which is being published by the dictionary to describe the trade price field.

Protected Functions Documentation

function lookupFieldName

static string lookupFieldName(
    NameValueCollection properties,
    string defaultFieldName
)

Parameters:

  • properties
  • defaultFieldName

Return:


Updated on 2023-03-31 at 15:30:12 +0100