• Programming Guide
  • Api Documentation
  • OnixS .NET Core CME Market Data Handler, version 4.2.2
Show / Hide Table of Contents
  • OnixS.CmeMdHandler
    • BestBidOfferTrackingOptions
    • BestBidOfferTrackingParameters
    • BitmapField
    • BookBase<T>
    • BookChangeType
    • BookUpdatedCallbackPolicy
    • ConnectionType
    • ConsolidatedOrderBook
    • ErrorHandler
    • ErrorReason
    • EventIndicator
    • FeedState
    • FeedStateChangedHandler
    • FeedType
    • Handler
    • HandlerStartupStrategy
    • HandlerState
    • ImpliedOrderBook
    • ImpliedOrderBookChangedHandler
    • ImpliedPriceLevel
    • InfoHandler
    • ISecurityDefinition
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • MarketByOrderBook
    • MarketByOrderBookChangedHandler
    • MarketByPriceBookBase<T>
    • MDEntryType
    • MDUpdateAction
    • MessageProcessingHandler
    • MsgType
    • NoDataOnFeedReceivedHandler
    • Order
    • OrderBookHandler<T>
    • OrderBookType
    • OrderBookUpdatedHandler<T>
    • OrderBookUtils
    • OrderIdsReceivedHandler
    • Packet
    • PacketProcessingHandler
    • RegularOrderBook
    • RegularOrderBookChangedHandler
    • RegularPriceLevel
    • ReplayErrorHandler
    • ReplayFinishedHandler
    • ReplayOptions
    • RequestForQuoteReceivedHandler
    • SecurityDefinitionHandler
    • SecurityStatus
    • SecurityStatusChangedHandler
    • SecurityTradingEvent
    • SecurityUpdateAction
    • Side
    • StateChangedHandler
    • StatisticsHandler
    • StatisticsResetHandler
    • StatisticsType
    • Tags
    • Timestamp
    • TimestampHelper
    • TopOfTheOrderBookUpdatedHandler<T>
    • TradeHandler
    • TradeUpdateAction
    • WarningHandler
    • WarningReason
  • OnixS.SimpleBinaryEncoding
    • BaseComposite
    • BaseGroup
    • BaseMessage<THeader>
    • BufferOverflowException
    • CmeILinkHeader
    • CmeMdp3Header
    • ConstantFieldException
    • Decimal32Ref
    • Decimal64Ref
    • DecimalHelper
    • EncodingType
    • FieldIsRequiredException
    • FieldNotFoundException
    • Helper
    • IComposite
    • IDecimal
    • IDecoder
    • IEncoder
    • IFieldSet
    • IGroup
    • IHeader
    • IMaturityMonthYear
    • IMessage
    • InvalidFieldValueTypeException
    • ITimestamp
    • IVariableLengthField
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • MaturityMonthYearRef
    • MemoryPointer<T>
    • ResizableMessage
    • SbeHeader
    • SimpleOpenFramingHeader
    • TimestampRef
    • TimeUnit
    • VariableLengthField16Ref
    • VariableLengthField8Ref
  • OnixS.SimpleBinaryEncoding.CodeGenerator
    • MessageSchemaByteOrderAttribute
    • MessageSchemaDescriptionAttribute
    • MessageSchemaIdAttribute
    • MessageSchemaPackageAttribute
    • MessageSchemaSemanticVersionAttribute
    • MessageSchemaVersionAttribute
    • StrongTypedCodeGenerator
  • OnixS.SimpleBinaryEncoding.Templates
    • ByteOrder
    • CompositeTypeInfo
    • EnumTypeInfo
    • EnumValue
    • FieldInfo
    • FieldSetFieldInfo
    • GroupFieldInfo
    • MessageInfo
    • Presence
    • PrimitiveFieldInfo
    • PrimitiveType
    • PrimitiveTypeInfo
    • TemplateLibrary
    • TypeInfo
    • VariableLengthFieldInfo

Class TemplateLibrary

Class represent SBE template description.

Inheritance
System.Object
TemplateLibrary
Namespace: OnixS.SimpleBinaryEncoding.Templates
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class TemplateLibrary : object

Constructors

TemplateLibrary()

Default constructor.

Declaration
public TemplateLibrary()

Properties

ByteOrder

Gets byte order.

Declaration
public ByteOrder ByteOrder { get; }
Property Value
Type Description
ByteOrder

CompositeTypes

Registered composite types.

Declaration
public IReadOnlyDictionary<string, Type> CompositeTypes { get; }
Property Value
Type Description
IReadOnlyDictionary<System.String, Type>

Description

Gets template schema description.

Declaration
public string Description { get; }
Property Value
Type Description
System.String

Id

Gets template schema id.

Declaration
public ushort Id { get; }
Property Value
Type Description
System.UInt16

LicensePath

Path to the directory where the license file is located.

Declaration
public static string LicensePath { get; set; }
Property Value
Type Description
System.String

MessagesByTemplateId

Gets a collection of registered messages description by the message (template) id.

Declaration
public IReadOnlyDictionary<int, MessageInfo> MessagesByTemplateId { get; }
Property Value
Type Description
IReadOnlyDictionary<System.Int32, MessageInfo>

MessagesByTypes

Gets collection of registered messages description by the FIX message type.

Declaration
public IReadOnlyDictionary<string, MessageInfo> MessagesByTypes { get; }
Property Value
Type Description
IReadOnlyDictionary<System.String, MessageInfo>

Package

Gets package name.

Declaration
public string Package { get; }
Property Value
Type Description
System.String

SemanticVersion

Gets template schema semantic version.

Declaration
public string SemanticVersion { get; }
Property Value
Type Description
System.String

Types

Gets a collection of registered types description by the type name.

Declaration
public IReadOnlyDictionary<string, TypeInfo> Types { get; }
Property Value
Type Description
IReadOnlyDictionary<System.String, TypeInfo>

Version

Gets template schema version.

Declaration
public ushort Version { get; }
Property Value
Type Description
System.UInt16

Methods

AddComposite<T>(String)

Add composite type description.

Declaration
public void AddComposite<T>(string name)

    where T : IComposite
Parameters
Type Name Description
System.String name

Composite type name

Type Parameters
Name Description
T

Type which implement composite

AddMessage(MessageInfo)

Add message description.

Declaration
public void AddMessage(MessageInfo message)
Parameters
Type Name Description
MessageInfo message

Message description.

AddType(TypeInfo)

Add type description.

Declaration
public void AddType(TypeInfo type)
Parameters
Type Name Description
TypeInfo type

Type description.

AddType<T>(CompositeTypeInfo)

Add composite type description.

Declaration
public void AddType<T>(CompositeTypeInfo type)

    where T : IComposite
Parameters
Type Name Description
CompositeTypeInfo type

Composite type information.

Type Parameters
Name Description
T

Type which implement composite.

GetSemanticType(Int32)

Gets message semantic type.

Declaration
public string GetSemanticType(int templateId)
Parameters
Type Name Description
System.Int32 templateId

Template id.

Returns
Type Description
System.String

Message semantic type

Parse(String)

Parses string as templates.

Declaration
public static TemplateLibrary Parse(string xmlTemplate)
Parameters
Type Name Description
System.String xmlTemplate

The string contains templates description.

Returns
Type Description
TemplateLibrary

Template library.

ToString()

Returns the string representation of an object.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of an object.

In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX