Table of Contents

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 DataModelTable

The table containing the structure being referenced

rowIndex Index

The row index within the containing table of the structure being referenced

columnIndex Index

The column index within the containing table of the structure being referenced

type DataModelType

The 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

int

ColumnIndex

Gets the column index within the table containing the reference of the reference

public Index ColumnIndex { get; }

Property Value

Index

IsValid

Gets whether the reference has remained valid

public virtual bool IsValid { get; }

Property Value

bool

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

int

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

Index

Table

Gets the table containing the structure being referenced

public DataModelTable Table { get; }

Property Value

DataModelTable

Type

Gets the type of the structure being referenced

public DataModelType Type { get; }

Property Value

DataModelType