Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Results.Dataset.MinDataArray Class Reference

Last update: 16.07.2025

A DerivedDataArray that returns the minimum value across its InputCollection for each record. DataArrays in the InputCollection must all be the same length and have the same data subtype. More...

Inheritance diagram for OpenTD.Results.Dataset.MinDataArray:
OpenTD.Results.Dataset.OneSubtypeDerivedDataArrayOpenTD.Results.Dataset.DerivedDataArrayOpenTD.Results.Dataset.DataArrayOpenTD.Results.Dataset.IAutoNameOpenTD.Results.Dataset.IAutoComment

Public Member Functions

 MinDataArray (DataArrayCollection inputCollection)
 
 MinDataArray ()
 
override List< double > GetValues (UnitsData units)
 Gets the data in the units provided.
 
List< double > GetValues ()
 Gets the data in the current WorkingUnits.
 
virtual void SetValues (IEnumerable< double > values, DataSubtype subtype=null, UnitsData units=null, ItemIdentifier item=null)
 
override string ToString ()
 
IEnumerator< double > GetEnumerator ()
 

Static Public Member Functions

static implicit operator List< double > (DataArray x)
 
static implicit operator List< DataArray > (DataArray x)
 

Protected Member Functions

override string GetSelfSuggestedName ()
 
override void SetDerivedData ()
 For setting ValuesSI, any other derived data.
 
override void CheckData ()
 
virtual string GetSelfSuggestedComment ()
 

Protected Attributes

List< double > ValuesSI
 

Properties

DataArrayCollection InputCollection [get, set]
 The collection of DataArrays operated upon to derive data.
 
bool IgnoreNaNInCalculations [get, set]
 
override IDataset SourceDataset [get, set]
 The source Dataset for the InputCollection.
 
override ItemIdentifier SourceItem [get, set]
 The SourceItem for the InputCollection.
 
override int Count [get]
 
override double this[int index] [get, set]
 
virtual DataSubtype Subtype [get, set]
 The DataSubtype (T, TL, PL, GTX, etc.)
 
DataItemIdentifier SourceDataItem [get]
 Combines the SourceItem and Subtype. If either are null, this is null.
 
UnitsData.UnitsType Dimension [get]
 The physical dimension of this data.
 
bool IsInteger [get]
 Returns true if the subtype of this data represents integer data.
 
AutoNamer AutoNamer [get, set]
 
string Name [get, set]
 
string InternalSuggestedName [get, set]
 
AutoCommenter AutoCommenter [get, set]
 
string Comment [get, set]
 
string InternalSuggestedComment [get, set]
 

Detailed Description

A DerivedDataArray that returns the minimum value across its InputCollection for each record. DataArrays in the InputCollection must all be the same length and have the same data subtype.

See also
OpenTD.Results.Dataset.OneSubtypeDerivedDataArray, OpenTD.Results.Dataset.DerivedDataArray

Constructor & Destructor Documentation

◆ MinDataArray() [1/2]

OpenTD.Results.Dataset.MinDataArray.MinDataArray ( DataArrayCollection inputCollection)
inline

◆ MinDataArray() [2/2]

OpenTD.Results.Dataset.MinDataArray.MinDataArray ( )
inline

Member Function Documentation

◆ CheckData()

override void OpenTD.Results.Dataset.MinDataArray.CheckData ( )
inlineprotectedvirtual

◆ GetEnumerator()

IEnumerator< double > OpenTD.Results.Dataset.DataArray.GetEnumerator ( )
inlineinherited

◆ GetSelfSuggestedComment()

virtual string OpenTD.Results.Dataset.DataArray.GetSelfSuggestedComment ( )
inlineprotectedvirtualinherited

◆ GetSelfSuggestedName()

override string OpenTD.Results.Dataset.MinDataArray.GetSelfSuggestedName ( )
inlineprotectedvirtual

◆ GetValues() [1/2]

List< double > OpenTD.Results.Dataset.DataArray.GetValues ( )
inlineinherited

Gets the data in the current WorkingUnits.

Returns
List<System.Double>.
See also
OpenTD.Units.WorkingUnits

◆ GetValues() [2/2]

override List< double > OpenTD.Results.Dataset.DerivedDataArray.GetValues ( UnitsData units)
inlinevirtualinherited

Gets the data in the units provided.

Parameters
unitsThe units to return the data in.
Returns
List<System.Double>.

Reimplemented from OpenTD.Results.Dataset.DataArray.

Reimplemented in OpenTD.Results.Dataset.SelectOneDataArray.

◆ operator List< DataArray >()

static implicit OpenTD.Results.Dataset.DataArray.operator List< DataArray > ( DataArray x)
inlinestaticinherited

◆ operator List< double >()

static implicit OpenTD.Results.Dataset.DataArray.operator List< double > ( DataArray x)
inlinestaticinherited

◆ SetDerivedData()

override void OpenTD.Results.Dataset.MinDataArray.SetDerivedData ( )
inlineprotectedvirtual

For setting ValuesSI, any other derived data.

Reimplemented from OpenTD.Results.Dataset.DerivedDataArray.

◆ SetValues()

virtual void OpenTD.Results.Dataset.DataArray.SetValues ( IEnumerable< double > values,
DataSubtype subtype = null,
UnitsData units = null,
ItemIdentifier item = null )
inlinevirtualinherited

◆ ToString()

override string OpenTD.Results.Dataset.DataArray.ToString ( )
inlineinherited

Member Data Documentation

◆ ValuesSI

List<double> OpenTD.Results.Dataset.DataArray.ValuesSI
protectedinherited

Property Documentation

◆ AutoCommenter

AutoCommenter OpenTD.Results.Dataset.DataArray.AutoCommenter
getsetprotectedinherited

◆ AutoNamer

AutoNamer OpenTD.Results.Dataset.DataArray.AutoNamer
getsetprotectedinherited

◆ Comment

string OpenTD.Results.Dataset.DataArray.Comment
getsetinherited

◆ Count

override int OpenTD.Results.Dataset.DerivedDataArray.Count
getinherited

◆ Dimension

UnitsData.UnitsType OpenTD.Results.Dataset.DataArray.Dimension
getinherited

The physical dimension of this data.

◆ IgnoreNaNInCalculations

bool OpenTD.Results.Dataset.DerivedDataArray.IgnoreNaNInCalculations
getsetinherited

◆ InputCollection

DataArrayCollection OpenTD.Results.Dataset.DerivedDataArray.InputCollection
getsetinherited

The collection of DataArrays operated upon to derive data.

The input collection.

◆ InternalSuggestedComment

string OpenTD.Results.Dataset.DataArray.InternalSuggestedComment
getsetinherited

◆ InternalSuggestedName

string OpenTD.Results.Dataset.DataArray.InternalSuggestedName
getsetinherited

◆ IsInteger

bool OpenTD.Results.Dataset.DataArray.IsInteger
getinherited

Returns true if the subtype of this data represents integer data.

◆ Name

string OpenTD.Results.Dataset.DataArray.Name
getsetinherited

◆ SourceDataItem

DataItemIdentifier OpenTD.Results.Dataset.DataArray.SourceDataItem
getinherited

Combines the SourceItem and Subtype. If either are null, this is null.

◆ SourceDataset

override IDataset OpenTD.Results.Dataset.DerivedDataArray.SourceDataset
getsetinherited

The source Dataset for the InputCollection.

The source dataset.

Exceptions
OpenTDExceptionCannot set DerivedDataArray.SourceDataset directly. It will be derived from InputArrays.

◆ SourceItem

override ItemIdentifier OpenTD.Results.Dataset.DerivedDataArray.SourceItem
getsetinherited

The SourceItem for the InputCollection.

The source item.

Exceptions
OpenTDExceptionCannot set DerivedDataArray.SourceItem directly. It will be derived from InputArrays.

◆ Subtype

virtual DataSubtype OpenTD.Results.Dataset.DataArray.Subtype
getsetinherited

The DataSubtype (T, TL, PL, GTX, etc.)

◆ this[int index]

override double OpenTD.Results.Dataset.DerivedDataArray.this[int index]
getsetinherited

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD.Results/Dataset/MinDataArray.cs

Connect with Ansys