• Version 4.4.3
Show / Hide Table of Contents

Class BaseComposite

A base class for composite fields.

Inheritance
object
BaseComposite
Decimal32Ref
Decimal64Ref
MaturityMonthYearRef
TimestampRef
VariableLengthField16Ref
VariableLengthField8Ref
Implements
IComposite
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public abstract class BaseComposite : IComposite

Properties

Buffer

Declaration
protected MemoryPointer.UnmanagedPointer Buffer { get; set; }
Property Value
Type Description
MemoryPointer.UnmanagedPointer

The underlying memory region.

HasValue

Declaration
public abstract bool HasValue { get; }
Property Value
Type Description
bool

true if the underlying field has a non-null value, false otherwise.

this[string]

Gets or sets the subfield value.

Declaration
public abstract object this[string name] { get; set; }
Parameters
Type Name Description
string name

Subfield name.

Property Value
Type Description
object

Subfield value.

Methods

Reset()

Resets the field to the null value.

Declaration
public abstract void Reset()

Wrap(UnmanagedPointer)

Wraps around the given memory region.

Declaration
public virtual void Wrap(MemoryPointer.UnmanagedPointer buffer)
Parameters
Type Name Description
MemoryPointer.UnmanagedPointer buffer

The memory region that contains the composite field value.

Implements

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