Class DataModelReference
- Namespace
- LlamaLogic.Packages.Models.Data
- Assembly
- LlamaLogic.Packages.dll
Represents a reference in a SimData or CombinedTuning resource (🔓)
public abstract class DataModelReference
- Inheritance
-
DataModelReference
- Derived
- Inherited Members
Constructors
DataModelReference(DataModelTable, Index, Index, DataModelType)
Initializes a new DataModelReference (🔄️🏃)
protected DataModelReference(DataModelTable table, Index rowIndex, Index columnIndex, DataModelType type)
Parameters
table
DataModelTableThe table containing the structure being referenced
rowIndex
IndexThe row index within the containing table of the structure being referenced
columnIndex
IndexThe column index within the containing table of the structure being referenced
type
DataModelTypeThe type of the structure being referenced
Properties
Column
Gets the column index within the table containing the reference of the reference
public int Column { get; }
Property Value
ColumnIndex
Gets the column index within the table containing the reference of the reference
public Index ColumnIndex { get; }
Property Value
IsValid
Gets whether the reference has remained valid
public virtual bool IsValid { get; }
Property Value
Row
Gets the row index within the table containing the reference of the reference (or -1 if the row has been removed)
public int Row { get; }
Property Value
RowIndex
Gets the row index within the table containing the reference of the reference (or -1 if the row has been removed)
public Index RowIndex { get; }
Property Value
Table
Gets the table containing the structure being referenced
public DataModelTable Table { get; }
Property Value
Type
Gets the type of the structure being referenced
public DataModelType Type { get; }