• Programming Guide
  • Api Documentation
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
    • Decimal32Ref
    • Decimal64Ref
    • DecimalHelper
    • DecoderHelper
    • FieldNotFoundException
    • Helper
    • IComposite
    • IDecimal
    • IDecoder
    • IFieldSet
    • IGroup
    • IMaturityMonthYear
    • IMessage
    • InvalidFieldValueType
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • MaturityMonthYearRef
    • ReadOnlyDictionary<TKey, TValue>
  • 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

Class PrimitiveTypeInfo

SBE template primitive type description.

Inheritance
System.Object
TypeInfo
PrimitiveTypeInfo
Inherited Members
TypeInfo.Name
TypeInfo.Presence
TypeInfo.SemanticType
TypeInfo.Description
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OnixS.SimpleBinaryEncoding.Templates
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class PrimitiveTypeInfo : TypeInfo

Constructors

PrimitiveTypeInfo(String, PrimitiveType, Presence, Object, Object, Object, Object)

Constructor.

Declaration
public PrimitiveTypeInfo(string name, PrimitiveType primitiveType, Presence presence, object nullValue, object minValue, object maxValue, object constantValue)
Parameters
Type Name Description
System.String name

Type name.

PrimitiveType primitiveType

Underlying primitive type.

Presence presence

Type presence.

System.Object nullValue

Null value for optional fields.

System.Object minValue

Minimum allowed value.

System.Object maxValue

Maximum allowed value.

System.Object constantValue

Constant value for constant fields.

PrimitiveTypeInfo(String, PrimitiveType, Object, Object, Object, Object)

Constructor.

Declaration
public PrimitiveTypeInfo(string name, PrimitiveType primitiveType, object nullValue, object minValue, object maxValue, object constantValue)
Parameters
Type Name Description
System.String name

Type name.

PrimitiveType primitiveType

Underlying primitive type.

System.Object nullValue

Null value for optional fields.

System.Object minValue

Minimum allowed value.

System.Object maxValue

Maximum allowed value.

System.Object constantValue

Constant value for constant fields.

Properties

ConstantValue

Gets constant value for constant fields.

Declaration
public object ConstantValue { get; }
Property Value
Type Description
System.Object

Length

Gets or sets encoded type length.

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

MaxValue

Gets maximum allowed value.

Declaration
public object MaxValue { get; }
Property Value
Type Description
System.Object

MinValue

Gets minimum allowed value.

Declaration
public object MinValue { get; }
Property Value
Type Description
System.Object

NullValue

Gets null value for optional fields.

Declaration
public object NullValue { get; }
Property Value
Type Description
System.Object

Offset

Gets field offset for fields of composite type.

Declaration
public int Offset { get; }
Property Value
Type Description
System.Int32

PrimitiveType

Gets underlying primitive type.

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

VariableLength

Gets or sets if type has variable length

Declaration
public bool VariableLength { get; set; }
Property Value
Type Description
System.Boolean
Back to top Generated by DocFX