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

Represents the decimal field.

Inheritance
System.Object
BaseComposite
Decimal64Ref
Implements
IDecimal
IComposite
IComparable<IDecimal>
IEquatable<Decimal64Ref>
Inherited Members
BaseComposite.Buffer
BaseComposite.Wrap(MemoryPointer<Byte>)
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class Decimal64Ref : BaseComposite, IDecimal, IComposite, IComparable<IDecimal>, IEquatable<Decimal64Ref>

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, MemoryPointer<Byte>)

Constructor.

Declaration
public Decimal64Ref(long nullMantissa, MemoryPointer<byte> Buffer)
Parameters
Type Name Description
System.Int64 nullMantissa

Mantissa NULL value.

MemoryPointer<System.Byte> Buffer

Buffer, which contains the decimal value.

Decimal64Ref(System.SByte, Int64)

Constructor.

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

Constant exponent value.

System.Int64 nullMantissa

Mantissa NULL value.

Decimal64Ref(System.SByte, Int64, MemoryPointer<Byte>)

Constructor.

Declaration
public Decimal64Ref(System.SByte exponent, long nullMantissa, MemoryPointer<byte> Buffer)
Parameters
Type Name Description
System.SByte exponent

Constant exponent value.

System.Int64 nullMantissa

Mantissa NULL value.

MemoryPointer<System.Byte> Buffer

Buffer, which contains the decimal value.

Properties

Exponent

Gets exponent.

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

HasValue

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

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

Item[String]

Returns value of composite type field.

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

Field name

Property Value
Type Description
System.Object

Value of composite type field

Overrides
BaseComposite.Item[String]

Mantissa

Gets mantissa.

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

Value

Gets decimal value.

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

Methods

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.

Equals(Decimal64Ref)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(Decimal64Ref other)
Parameters
Type Name Description
Decimal64Ref other

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether the current object is equal to another object of the same type.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current object.

Reset()

Reset to null value.

Declaration
public override void Reset()
Overrides
BaseComposite.Reset()

ToString()

Returns the string representation of an object.

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

The string representation of an object.

Operators

Equality(Decimal64Ref, Decimal64Ref)

Declaration
public static bool operator ==(Decimal64Ref left, Decimal64Ref right)
Parameters
Type Name Description
Decimal64Ref left
Decimal64Ref right
Returns
Type Description
System.Boolean

GreaterThan(Decimal64Ref, Decimal64Ref)

Declaration
public static bool operator>(Decimal64Ref left, Decimal64Ref right)
Parameters
Type Name Description
Decimal64Ref left
Decimal64Ref right
Returns
Type Description
System.Boolean

GreaterThanOrEqual(Decimal64Ref, Decimal64Ref)

Declaration
public static bool operator >=(Decimal64Ref left, Decimal64Ref right)
Parameters
Type Name Description
Decimal64Ref left
Decimal64Ref right
Returns
Type Description
System.Boolean

Inequality(Decimal64Ref, Decimal64Ref)

Declaration
public static bool operator !=(Decimal64Ref left, Decimal64Ref right)
Parameters
Type Name Description
Decimal64Ref left
Decimal64Ref right
Returns
Type Description
System.Boolean

LessThan(Decimal64Ref, Decimal64Ref)

Declaration
public static bool operator <(Decimal64Ref left, Decimal64Ref right)
Parameters
Type Name Description
Decimal64Ref left
Decimal64Ref right
Returns
Type Description
System.Boolean

LessThanOrEqual(Decimal64Ref, Decimal64Ref)

Declaration
public static bool operator <=(Decimal64Ref left, Decimal64Ref right)
Parameters
Type Name Description
Decimal64Ref left
Decimal64Ref right
Returns
Type Description
System.Boolean

Implements

IDecimal
IComposite
IComparable<>
IEquatable<>
In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX