Struct StrAttrRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 39 (strattr, size 24): string attribute association.
public readonly record struct StrAttrRow : IEquatable<StrAttrRow>Implements
Inherited Members
Constructors
StrAttrRow(int, int, int, int, int, int)
Decoded row of table 39 (strattr, size 24): string attribute association.
public StrAttrRow(int Id, int AttrId, int FatherId, int OwnerId, int Flags, int NameId)Parameters
Idint-
The string attribute row identifier (primary key).
AttrIdint-
Identifier of the attribute value in table 49 (
strattr_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: 39.
public const int TableKey = 39Field Value
Properties
AttrId
Identifier of the attribute value in table 49 (strattr_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 string 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.StrAttrRow.
public static StrAttrRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.StrAttrRow.
public static StrAttrRow Decode(TableRow row)Parameters
rowTableRow