Struct NumAttrRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 38 (numattr, size 24): numeric attribute association.
public readonly record struct NumAttrRow : IEquatable<NumAttrRow>Implements
Inherited Members
Constructors
NumAttrRow(int, int, int, int, int, int)
Decoded row of table 38 (numattr, size 24): numeric attribute association.
public NumAttrRow(int Id, int AttrId, int FatherId, int OwnerId, int Flags, int NameId)Parameters
Idint-
The numeric attribute row identifier (primary key).
AttrIdint-
Identifier of the attribute value in table 48 (
numattr_attr). FatherIdint-
Identifier of the object owning the attribute.
OwnerIdint-
Attribute owner identifier.
Flagsint-
Attribute flags.
NameIdint-
Identifier of the attribute name.
Fields
ExpectedRowSize
The expected row body size in bytes: 24.
public const int ExpectedRowSize = 24Field Value
TableKey
The table key in model database sections: 38.
public const int TableKey = 38Field Value
Properties
AttrId
Identifier of the attribute value in table 48 (numattr_attr).
public int AttrId { get; init; }Property Value
FatherId
Identifier of the object owning the attribute.
public int FatherId { get; init; }Property Value
Flags
Attribute flags.
public int Flags { get; init; }Property Value
Id
The numeric attribute row identifier (primary key).
public int Id { get; init; }Property Value
NameId
Identifier of the attribute name.
public int NameId { get; init; }Property Value
OwnerId
Attribute owner identifier.
public int OwnerId { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.NumAttrRow.
public static NumAttrRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.NumAttrRow.
public static NumAttrRow Decode(TableRow row)Parameters
rowTableRow