• Version 1.15.2
Show / Hide Table of Contents

Class DictionaryBuilder

Builder of FIX dictionaries on the base of FAST template.

Inheritance
object
DictionaryBuilder
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OnixS.Fix.Fast
Assembly: OnixS.Fix.Engine.dll
Syntax
public class DictionaryBuilder

Constructors

DictionaryBuilder()

Default constructor.

Declaration
public DictionaryBuilder()

DictionaryBuilder(IMessageInfoDictionary, Stream, bool)

Constructor for immediate building of the FIX dictionary.

Declaration
public DictionaryBuilder(IMessageInfoDictionary baseDictionary, Stream templateStream, bool rewindStreamAfterBuild = true)
Parameters
Type Name Description
IMessageInfoDictionary baseDictionary

Base FIX dictionary.

Stream templateStream

Stream with FAST template.

bool rewindStreamAfterBuild

If true (default) rewinds the template stream after building of dictionary to the position, that was before this call.

Properties

Dictionary

The built FIX dictionary.

Declaration
public IMessageInfoDictionary Dictionary { get; }
Property Value
Type Description
IMessageInfoDictionary

Methods

Build(IMessageInfoDictionary, Stream, bool)

Builds a FIX dictionary.

Declaration
public DictionaryBuilder Build(IMessageInfoDictionary baseDictionary, Stream templateStream, bool rewindStreamAfterBuild = true)
Parameters
Type Name Description
IMessageInfoDictionary baseDictionary

Base FIX dictionary.

Stream templateStream

Stream with FAST template.

bool rewindStreamAfterBuild

If true (default) rewinds the template stream after building of dictionary to the position, that was before this call.

Returns
Type Description
DictionaryBuilder

BuildDictionary(IMessageInfoDictionary, Stream, bool)

Builds FIX dictionary on the base of the given FAST template.

Declaration
public static IMessageInfoDictionary BuildDictionary(IMessageInfoDictionary baseDictionary, Stream templateStream, bool rewindStreamAfterBuild = true)
Parameters
Type Name Description
IMessageInfoDictionary baseDictionary

Base FIX dictionary.

Stream templateStream

Stream with FAST template.

bool rewindStreamAfterBuild

If true (default) rewinds the template stream after building of dictionary to the position, that was before this call.

Returns
Type Description
IMessageInfoDictionary

The generated FIX dictionary.

Clear()

Clears the builder.

Declaration
public DictionaryBuilder Clear()
Returns
Type Description
DictionaryBuilder

The builder instance itself.

In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX