Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.Results.Dataset.DataItemIdentifierCollection Class Reference

Last update: 16.07.2025

Collection of DataItemIdentifiers. More...

Inheritance diagram for OpenTD.Results.Dataset.DataItemIdentifierCollection:

Public Member Functions

 DataItemIdentifierCollection (IEnumerable< DataItemIdentifier > collection)
 
 DataItemIdentifierCollection ()
 
 DataItemIdentifierCollection (ItemIdentifierCollection items, List< DataSubtype > subtypes, bool createAllCombinations=true)
 
 DataItemIdentifierCollection (ItemIdentifierCollection items, DataSubtype subtype)
 
 DataItemIdentifierCollection (IEnumerable< string > dataItemNames)
 
 DataItemIdentifierCollection (params string[] sindaNames)
 
override string ToString ()
 
void Add (DataItemIdentifier item)
 
void Clear ()
 
bool Contains (DataItemIdentifier item)
 
void CopyTo (DataItemIdentifier[] array, int arrayIndex)
 
IEnumerator< DataItemIdentifier > GetEnumerator ()
 
int IndexOf (DataItemIdentifier item)
 
void Insert (int index, DataItemIdentifier item)
 
bool Remove (DataItemIdentifier item)
 
void RemoveAt (int index)
 
void AddRange (IEnumerable< DataItemIdentifier > collection)
 
void InsertRange (int index, IEnumerable< DataItemIdentifier > collection)
 
void RemoveRange (int index, int count)
 

Protected Member Functions

virtual string GetSelfSuggestedName ()
 

Properties

ItemIdentifierCollection ItemIdentifiers [get]
 The ItemIdentifiers associated with the DataItemIdentifiers in this collection.
 
DataSubtype Subtype [get]
 If all the DataItemIdentifiers in the collection have the same DataSubtype, this will equal that. Otherwise this will be null.
 
AutoNamer AutoNamer [get, set]
 
string Name [get, set]
 
string InternalSuggestedName [get, set]
 
DataItemIdentifier this[int index] [get, set]
 
int Count [get]
 
bool IsReadOnly [get]
 

Detailed Description

Collection of DataItemIdentifiers.

Constructor & Destructor Documentation

◆ DataItemIdentifierCollection() [1/6]

OpenTD.Results.Dataset.DataItemIdentifierCollection.DataItemIdentifierCollection ( IEnumerable< DataItemIdentifier > collection)
inline

◆ DataItemIdentifierCollection() [2/6]

OpenTD.Results.Dataset.DataItemIdentifierCollection.DataItemIdentifierCollection ( )
inline

◆ DataItemIdentifierCollection() [3/6]

OpenTD.Results.Dataset.DataItemIdentifierCollection.DataItemIdentifierCollection ( ItemIdentifierCollection items,
List< DataSubtype > subtypes,
bool createAllCombinations = true )
inline

◆ DataItemIdentifierCollection() [4/6]

OpenTD.Results.Dataset.DataItemIdentifierCollection.DataItemIdentifierCollection ( ItemIdentifierCollection items,
DataSubtype subtype )
inline

◆ DataItemIdentifierCollection() [5/6]

OpenTD.Results.Dataset.DataItemIdentifierCollection.DataItemIdentifierCollection ( IEnumerable< string > dataItemNames)
inline

◆ DataItemIdentifierCollection() [6/6]

OpenTD.Results.Dataset.DataItemIdentifierCollection.DataItemIdentifierCollection ( params string[] sindaNames)
inline

Member Function Documentation

◆ Add()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.Add ( DataItemIdentifier item)
inline

◆ AddRange()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.AddRange ( IEnumerable< DataItemIdentifier > collection)
inline

◆ Clear()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.Clear ( )
inline

◆ Contains()

bool OpenTD.Results.Dataset.DataItemIdentifierCollection.Contains ( DataItemIdentifier item)
inline

◆ CopyTo()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.CopyTo ( DataItemIdentifier[] array,
int arrayIndex )
inline

◆ GetEnumerator()

IEnumerator< DataItemIdentifier > OpenTD.Results.Dataset.DataItemIdentifierCollection.GetEnumerator ( )
inline

◆ GetSelfSuggestedName()

virtual string OpenTD.Results.Dataset.DataItemIdentifierCollection.GetSelfSuggestedName ( )
inlineprotectedvirtual

◆ IndexOf()

int OpenTD.Results.Dataset.DataItemIdentifierCollection.IndexOf ( DataItemIdentifier item)
inline

◆ Insert()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.Insert ( int index,
DataItemIdentifier item )
inline

◆ InsertRange()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.InsertRange ( int index,
IEnumerable< DataItemIdentifier > collection )
inline

◆ Remove()

bool OpenTD.Results.Dataset.DataItemIdentifierCollection.Remove ( DataItemIdentifier item)
inline

◆ RemoveAt()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.RemoveAt ( int index)
inline

◆ RemoveRange()

void OpenTD.Results.Dataset.DataItemIdentifierCollection.RemoveRange ( int index,
int count )
inline

◆ ToString()

override string OpenTD.Results.Dataset.DataItemIdentifierCollection.ToString ( )
inline

Property Documentation

◆ AutoNamer

AutoNamer OpenTD.Results.Dataset.DataItemIdentifierCollection.AutoNamer
getsetprotected

◆ Count

int OpenTD.Results.Dataset.DataItemIdentifierCollection.Count
get

◆ InternalSuggestedName

string OpenTD.Results.Dataset.DataItemIdentifierCollection.InternalSuggestedName
getset

◆ IsReadOnly

bool OpenTD.Results.Dataset.DataItemIdentifierCollection.IsReadOnly
get

◆ ItemIdentifiers

ItemIdentifierCollection OpenTD.Results.Dataset.DataItemIdentifierCollection.ItemIdentifiers
get

The ItemIdentifiers associated with the DataItemIdentifiers in this collection.

◆ Name

string OpenTD.Results.Dataset.DataItemIdentifierCollection.Name
getset

◆ Subtype

DataSubtype OpenTD.Results.Dataset.DataItemIdentifierCollection.Subtype
get

If all the DataItemIdentifiers in the collection have the same DataSubtype, this will equal that. Otherwise this will be null.

◆ this[int index]

DataItemIdentifier OpenTD.Results.Dataset.DataItemIdentifierCollection.this[int index]
getset

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

Connect with Ansys