OpenTD.Results.Dataset.DataItemIdentifier Class Reference
Last update: 16.07.2025Identifies a data subtype (T, TL, PL, etc.) – with an optional fluid constituent (A, B, W, etc.) – associated with an "item" (an entity (node, lump, etc.), register, record number, etc.), e.g., MAIN.T6, FLOW.PL100, FLOW.GTA10, MYREGISTER DIMENSIONLESS. Note: the Units member is only applicable to registers. If null, default units will be assumed. More...
Public Member Functions | |
| DataItemIdentifier (ItemIdentifier itemIdentifier, DataSubtype subtype=null, UnitsData units=null) | |
| DataItemIdentifier (string sindaName, UnitsData units=null, IEnumerable< string > thermalSubs=null, IEnumerable< string > fluidSubs=null) | |
| Constructs a DataItemIdentifier from a string like "MAIN.T6" or "MY_REGISTER2". Note: the units parameter is only applicable to registers. If null, default units will be assumed. | |
| override string | ToString () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static bool | operator== (DataItemIdentifier x1, DataItemIdentifier x2) |
| static bool | operator!= (DataItemIdentifier x1, DataItemIdentifier x2) |
Properties | |
| ItemIdentifier | ItemIdentifier [get] |
| DataSubtype | Subtype [get] |
| UnitsData | Units [get] |
Detailed Description
Identifies a data subtype (T, TL, PL, etc.) – with an optional fluid constituent (A, B, W, etc.) – associated with an "item" (an entity (node, lump, etc.), register, record number, etc.), e.g., MAIN.T6, FLOW.PL100, FLOW.GTA10, MYREGISTER DIMENSIONLESS. Note: the Units member is only applicable to registers. If null, default units will be assumed.
Constructor & Destructor Documentation
◆ DataItemIdentifier() [1/2]
|
inline |
◆ DataItemIdentifier() [2/2]
|
inline |
Constructs a DataItemIdentifier from a string like "MAIN.T6" or "MY_REGISTER2". Note: the units parameter is only applicable to registers. If null, default units will be assumed.
Member Function Documentation
◆ Equals()
|
inline |
◆ GetHashCode()
|
inline |
◆ operator!=()
|
inlinestatic |
◆ operator==()
|
inlinestatic |
◆ ToString()
|
inline |
Property Documentation
◆ ItemIdentifier
|
get |
◆ Subtype
|
get |
◆ Units
|
get |
The documentation for this class was generated from the following file:
- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD.Results/Dataset/DataItemIdentifier.cs