OpenTD.Results.Dataset.DataArrayCollection Class Reference
Last update: 16.07.2025A collection of DataArrays, with some metadata describing them. More...

Public Member Functions | |
| DataArrayCollection () | |
| DataArrayCollection (IEnumerable< DataArray > collection) | |
| DataArrayCollection (StandardDataSubtypes subtype, IEnumerable< IEnumerable< double > > collection, UnitsData units, IDataset sourceDataset=null, ItemIdentifier sourceItem=null) | |
| DataArrayCollection (DataSubtype subtype, IEnumerable< IEnumerable< double > > collection, UnitsData units, IDataset sourceDataset=null, ItemIdentifier sourceItem=null) | |
| DataArrayCollection (DataArrayCollection collection) | |
| virtual List< List< double > > | GetValues () |
| virtual List< List< double > > | GetValues (UnitsData units) |
| virtual DataArrayCollection | GetTranspose () |
| DataArrayCollection | Filter (DataItemIdentifierCollection dataItems) |
| void | Add (DataArray x) |
| void | Clear () |
| bool | Remove (DataArray x) |
| bool | Contains (DataArray item) |
| void | CopyTo (DataArray[] array, int arrayIndex) |
| IEnumerator< DataArray > | GetEnumerator () |
| int | IndexOf (DataArray item) |
| void | Insert (int index, DataArray item) |
| void | RemoveAt (int index) |
| void | AddRange (IEnumerable< DataArray > collection) |
| void | InsertRange (int index, IEnumerable< DataArray > collection) |
| void | RemoveRange (int index, int count) |
| override string | ToString () |
Protected Member Functions | |
| virtual string | GetSelfSuggestedName () |
| virtual string | GetSelfSuggestedComment () |
Properties | |
| virtual IDataset | SourceDataset [get] |
| If all the DataArrays in the collection have the same SourceDataset, this will equal that. Otherwise this will be null. | |
| virtual ItemIdentifier | SourceItem [get] |
| If all the DataArrays in the collection have the same SourceItem, this will equal that. Otherwise this will be null. | |
| virtual string | SourceItemSubmodel [get] |
| If all the DataArrays in the collection have the same SourceItem submodel, this will equal that. Otherwise this will be null. | |
| virtual DataSubtype | Subtype [get] |
| If all the DataArrays in the collection have the same data subtype, this will equal that. Otherwise this will be null. | |
| virtual UnitsData.UnitsType | Dimension [get] |
| If all the DataArrays in the collection have the same physical dimension, this will equal that. Otherwise this will be UnitsData.UnitsType.UNITS_NOT_SET. | |
| virtual int | DataItemCount [get] |
| If all the DataArrays in the collection have the same number of items, this will equal that. Otherwise this will be -1. | |
| virtual int | MaxDataItemCount [get] |
| The maximum item count found in the arrays of the collection. | |
| virtual int | MinDataItemCount [get] |
| The minimum item count found in the arrays of the collection. | |
| ItemIdentifierCollection | SourceItemIdentifiers [get] |
| The SourceItemIdentifiers associated with the DataArrays in this collection. | |
| DataItemIdentifierCollection | SourceDataItemIdentifiers [get] |
| The SourceDataItemIdentifiers associated with the DataArrays in this collection. | |
| int | Count [get] |
| bool | IsReadOnly [get] |
| DataArray | this[int index] [get, set] |
| 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 collection of DataArrays, with some metadata describing them.
- See also
- OpenTD.Results.Dataset.IAutoName, System.Collections.Generic.ICollection<OpenTD.Results.Dataset.DataArray>, System.Collections.Generic.IEnumerable<OpenTD.Results.Dataset.DataArray>, System.Collections.Generic.IList<OpenTD.Results.Dataset.DataArray>
Constructor & Destructor Documentation
◆ DataArrayCollection() [1/5]
|
inline |
◆ DataArrayCollection() [2/5]
|
inline |
◆ DataArrayCollection() [3/5]
|
inline |
◆ DataArrayCollection() [4/5]
|
inline |
◆ DataArrayCollection() [5/5]
|
inline |
Member Function Documentation
◆ Add()
|
inline |
◆ AddRange()
|
inline |
◆ Clear()
|
inline |
◆ Contains()
|
inline |
◆ CopyTo()
|
inline |
◆ Filter()
|
inline |
◆ GetEnumerator()
|
inline |
◆ GetSelfSuggestedComment()
|
inlineprotectedvirtual |
◆ GetSelfSuggestedName()
|
inlineprotectedvirtual |
◆ GetTranspose()
|
inlinevirtual |
◆ GetValues() [1/2]
|
inlinevirtual |
◆ GetValues() [2/2]
|
inlinevirtual |
◆ IndexOf()
|
inline |
◆ Insert()
|
inline |
◆ InsertRange()
|
inline |
◆ Remove()
|
inline |
◆ RemoveAt()
|
inline |
◆ RemoveRange()
|
inline |
◆ ToString()
|
inline |
Property Documentation
◆ AutoCommenter
|
getsetprotected |
◆ AutoNamer
|
getsetprotected |
◆ Comment
|
getset |
Implements OpenTD.Results.Dataset.IAutoComment.
◆ Count
|
get |
◆ DataItemCount
|
get |
If all the DataArrays in the collection have the same number of items, this will equal that. Otherwise this will be -1.
◆ Dimension
|
get |
If all the DataArrays in the collection have the same physical dimension, this will equal that. Otherwise this will be UnitsData.UnitsType.UNITS_NOT_SET.
◆ InternalSuggestedComment
|
getset |
Implements OpenTD.Results.Dataset.IAutoComment.
◆ InternalSuggestedName
|
getset |
Implements OpenTD.Results.Dataset.IAutoName.
◆ IsReadOnly
|
get |
◆ MaxDataItemCount
|
get |
The maximum item count found in the arrays of the collection.
◆ MinDataItemCount
|
get |
The minimum item count found in the arrays of the collection.
◆ Name
|
getset |
Implements OpenTD.Results.Dataset.IAutoName.
◆ SourceDataItemIdentifiers
|
get |
The SourceDataItemIdentifiers associated with the DataArrays in this collection.
◆ SourceDataset
|
get |
If all the DataArrays in the collection have the same SourceDataset, this will equal that. Otherwise this will be null.
◆ SourceItem
|
get |
If all the DataArrays in the collection have the same SourceItem, this will equal that. Otherwise this will be null.
◆ SourceItemIdentifiers
|
get |
The SourceItemIdentifiers associated with the DataArrays in this collection.
◆ SourceItemSubmodel
|
get |
If all the DataArrays in the collection have the same SourceItem submodel, this will equal that. Otherwise this will be null.
◆ Subtype
|
get |
If all the DataArrays in the collection have the same data subtype, this will equal that. Otherwise this will be null.
◆ this[int index]
|
getset |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD.Results/Dataset/DataArrayCollection.cs