Table of Contents

Struct AmlAttributeValue

Namespace
EncDotNet.S57.Aml
Assembly
EncDotNet.S57.dll

Represents an attribute value of an AML feature together with the catalogue definition of its attribute code.

public readonly record struct AmlAttributeValue : IEquatable<AmlAttributeValue>
Implements
Inherited Members

Remarks

Constructors

AmlAttributeValue(S57AttributeValue, S57AttributeDefinition?)

Represents an attribute value of an AML feature together with the catalogue definition of its attribute code.

public AmlAttributeValue(S57AttributeValue Value, S57AttributeDefinition? Definition)

Parameters

Value S57AttributeValue

The attribute value as encoded (ATTL and ATVL).

Definition S57AttributeDefinition

The attribute's definition in the data set's catalogue, or null when the catalogue has no attribute with the value's code.

Remarks

Properties

Acronym

Gets the attribute acronym from Definition, for example OBJNAM or databa, or null when the attribute isn't in the catalogue.

public string? Acronym { get; }

Property Value

string

Code

Gets the attribute code (ATTL).

public int Code { get; }

Property Value

int

Definition

The attribute's definition in the data set's catalogue, or null when the catalogue has no attribute with the value's code.

public S57AttributeDefinition? Definition { get; init; }

Property Value

S57AttributeDefinition

Value

The attribute value as encoded (ATTL and ATVL).

public S57AttributeValue Value { get; init; }

Property Value

S57AttributeValue

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.