Table of Contents

Class DataModelVector

Namespace
LlamaLogic.Packages.Models.Data
Assembly
LlamaLogic.Packages.dll

Represents a VECTOR reference in a SimData or CombinedTuning resource (🔓)

public sealed class DataModelVector : DataModelReference
Inheritance
DataModelVector
Inherited Members

Constructors

DataModelVector(DataModelTable, Index, DataModelType, int)

Initializes a new DataModelVector (🔄️🏃)

public DataModelVector(DataModelTable table, Index rowIndex, DataModelType type, int count)

Parameters

table DataModelTable

The table, a sub sequence of which, is the vector

rowIndex Index

The row index within the containing table of the vector being referenced at which the vector begins

type DataModelType

The type of the objects being referenced

count int

The number of elements in the vector

Properties

Count

Gets the number of elements in the vector

public int Count { get; }

Property Value

int

Indicies

Gets the indicies of the vector

public IEnumerable<int> Indicies { get; }

Property Value

IEnumerable<int>

IsValid

Gets whether the reference has remained valid

public override bool IsValid { get; }

Property Value

bool

Range

Gets the range rows of the vector

public Range Range { get; }

Property Value

Range

Values

Gets/sets the sequence of values referenced by the vector (💤)

public IEnumerable<object?> Values { get; set; }

Property Value

IEnumerable<object>

Methods

CreateNullReference(int)

Create a DataModelVector null reference

public static DataModelVector CreateNullReference(int count = 0)

Parameters

count int

The number of elements (probably should be 0)

Returns

DataModelVector