OpenTD.Results.Dataset.ItemIdentifierCollection Class Reference
Last update: 16.07.2025Collection of ItemIdentifiers. More...

Public Member Functions | |
| ItemIdentifierCollection (IEnumerable< ItemIdentifier > collection) | |
| ItemIdentifierCollection () | |
| ItemIdentifierCollection (string domainName, ThermalDesktop td) | |
| Initializes a new instance of the ItemIdentifierCollection class with node names from a domain. | |
| ItemIdentifierCollection (DataTypes dataType, string submodelName, IDataset dataset) | |
| Initializes a new instance of the ItemIdentifierCollection class with entity names (conductors, nodes, lumps, etc.) from a DataSet. | |
| ItemIdentifierCollection (IEnumerable< string > dataItemNames) | |
| ItemIdentifierCollection (params string[] sindaNames) | |
| override string | ToString () |
| void | Add (ItemIdentifier item) |
| void | Clear () |
| bool | Contains (ItemIdentifier item) |
| void | CopyTo (ItemIdentifier[] array, int arrayIndex) |
| bool | Remove (ItemIdentifier item) |
| IEnumerator< ItemIdentifier > | GetEnumerator () |
| int | IndexOf (ItemIdentifier item) |
| void | Insert (int index, ItemIdentifier item) |
| void | RemoveAt (int index) |
| void | AddRange (IEnumerable< ItemIdentifier > collection) |
| void | InsertRange (int index, IEnumerable< ItemIdentifier > collection) |
| void | RemoveRange (int index, int count) |
Protected Member Functions | |
| virtual string | GetSelfSuggestedName () |
| virtual string | GetSelfSuggestedComment () |
Properties | |
| ItemIdentifier.Types | Type [get] |
| If all the ItemIdentifiers in the collection have the same Type, this will equal that. Otherwise this will be NOT_SET. | |
| string | Submodel [get] |
| If all the ItemIdentifiers in the collection have the same Submodel, this will equal that. Otherwise this will be null. | |
| long | Id [get] |
| If all the ItemIdentifiers in the collection have the same Id, this will equal that. Otherwise this will be -1. | |
| long | RecordNum [get] |
| If all the ItemRecordNumentifiers in the collection have the same RecordNum, this will equal that. Otherwise this will be -1. | |
| string | RegisterName [get] |
| If all the ItemIdentifiers in the collection have the same RegisterName, this will equal that. Otherwise this will be null. | |
| AutoNamer | AutoNamer [get, set] |
| string | Name [get, set] |
| string | InternalSuggestedName [get, set] |
| AutoCommenter | AutoCommenter [get, set] |
| string | Comment [get, set] |
| string | InternalSuggestedComment [get, set] |
| int | Count [get] |
| bool | IsReadOnly [get] |
| ItemIdentifier | this[int index] [get, set] |
Detailed Description
Collection of ItemIdentifiers.
Constructor & Destructor Documentation
◆ ItemIdentifierCollection() [1/6]
|
inline |
◆ ItemIdentifierCollection() [2/6]
|
inline |
◆ ItemIdentifierCollection() [3/6]
|
inline |
Initializes a new instance of the ItemIdentifierCollection class with node names from a domain.
◆ ItemIdentifierCollection() [4/6]
|
inline |
Initializes a new instance of the ItemIdentifierCollection class with entity names (conductors, nodes, lumps, etc.) from a DataSet.
◆ ItemIdentifierCollection() [5/6]
|
inline |
◆ ItemIdentifierCollection() [6/6]
|
inline |
Member Function Documentation
◆ Add()
|
inline |
◆ AddRange()
|
inline |
◆ Clear()
|
inline |
◆ Contains()
|
inline |
◆ CopyTo()
|
inline |
◆ GetEnumerator()
|
inline |
◆ GetSelfSuggestedComment()
|
inlineprotectedvirtual |
◆ GetSelfSuggestedName()
|
inlineprotectedvirtual |
◆ 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 |
◆ Id
|
get |
If all the ItemIdentifiers in the collection have the same Id, this will equal that. Otherwise this will be -1.
◆ InternalSuggestedComment
|
getset |
Implements OpenTD.Results.Dataset.IAutoComment.
◆ InternalSuggestedName
|
getset |
Implements OpenTD.Results.Dataset.IAutoName.
◆ IsReadOnly
|
get |
◆ Name
|
getset |
Implements OpenTD.Results.Dataset.IAutoName.
◆ RecordNum
|
get |
If all the ItemRecordNumentifiers in the collection have the same RecordNum, this will equal that. Otherwise this will be -1.
◆ RegisterName
|
get |
If all the ItemIdentifiers in the collection have the same RegisterName, this will equal that. Otherwise this will be null.
◆ Submodel
|
get |
If all the ItemIdentifiers in the collection have the same Submodel, this will equal that. Otherwise this will be null.
◆ this[int index]
|
getset |
◆ Type
|
get |
If all the ItemIdentifiers in the collection have the same Type, this will equal that. Otherwise this will be NOT_SET.
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD.Results/Dataset/ItemIdentifierCollection.cs