• 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 Decimal64Ref

Represents decimal field.

Inheritance
System.Object
Decimal64Ref
Implements
IDecimal
IComposite
System.IComparable<IDecimal>
Inherited Members
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)
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class Decimal64Ref : IDecimal, IComposite, IComparable<IDecimal>

Constructors

Decimal64Ref()

Constructor.

Declaration
public Decimal64Ref()

Decimal64Ref(Int64)

Constructor.

Declaration
public Decimal64Ref(long nullMantissa)
Parameters
Type Name Description
System.Int64 nullMantissa

Mantissa NULL value.

Decimal64Ref(Int64, Byte*)

Constructor.

Declaration
public Decimal64Ref(long nullMantissa, byte *buffer)
Parameters
Type Name Description
System.Int64 nullMantissa

Mantissa NULL value.

System.Byte* buffer

Buffer which contains decimal value.

Decimal64Ref(SByte, Int64)

Constructor.

Declaration
public Decimal64Ref(sbyte exponent, long nullMantissa)
Parameters
Type Name Description
System.SByte exponent

Constant exponent value.

System.Int64 nullMantissa

Mantissa NULL value.

Decimal64Ref(SByte, Int64, Byte*)

Constructor.

Declaration
public Decimal64Ref(sbyte exponent, long nullMantissa, byte *buffer)
Parameters
Type Name Description
System.SByte exponent

Constant exponent value.

System.Int64 nullMantissa

Mantissa NULL value.

System.Byte* buffer

Buffer which contains decimal value.

Properties

Exponent

Gets exponent.

Declaration
public sbyte Exponent { get; }
Property Value
Type Description
System.SByte

HasValue

True, if underlying field has not null value, false otherwise.

Declaration
public bool HasValue { get; }
Property Value
Type Description
System.Boolean

Item[String]

Returns value of composite type field.

Declaration
public object this[string name] { get; }
Parameters
Type Name Description
System.String name

Field name

Property Value
Type Description
System.Object

Value of composite type field

Mantissa

Gets mantissa.

Declaration
public long Mantissa { get; }
Property Value
Type Description
System.Int64

Value

Gets decimal value.

Declaration
public decimal Value { get; }
Property Value
Type Description
System.Decimal

Methods

Assign(Byte*)

Assign current object around buffer.

Declaration
public void Assign(byte *buffer)
Parameters
Type Name Description
System.Byte* buffer

Buffer which contains decimal value.

CompareTo(IDecimal)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Declaration
public int CompareTo(IDecimal other)
Parameters
Type Name Description
IDecimal other

An object to compare with this instance.

Returns
Type Description
System.Int32

A value that indicates the relative order of the objects being compared.

ToString()

Returns string representation of an object.

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

String representation of an object.

Overrides
System.Object.ToString()

Implements

IDecimal
IComposite
System.IComparable<T>
Back to top Generated by DocFX