Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Results.Dataset.IComparerOutput Interface Reference

Last update: 16.07.2025

Collects together all of the Comparer members that will be output from an ICompareData object. More...

Inheritance diagram for OpenTD.Results.Dataset.IComparerOutput:
OpenTD.Results.Dataset.Comparer

Public Member Functions

void _writeline (string msg)
 Use to send a general message to Comparer output; for example "Starting to compare data of Type X...".
 
void _writesuccess (string msg)
 Use to send a success message to Comparer output; for example "Type X data was the same in both datasets".
 
void _markdiff (string msg)
 Use to record a difference between datasets; for example "Type X data differed between datasets". This will also up the diffCount. If the diffCount is greater than 0 the datasets will be considered different.
 

Properties

Dictionary< DataSubtype, List< Exceedance > > Exceedances [get]
 Collect a list of exceedances for the tested DataSubtype here, if it makes sense for your comparison algorithm.
 

Detailed Description

Collects together all of the Comparer members that will be output from an ICompareData object.

See also
OpenTD.Results.Dataset.Comparer, OpenTD.Results.Dataset.ICompareData

Member Function Documentation

◆ _markdiff()

void OpenTD.Results.Dataset.IComparerOutput._markdiff ( string msg)

Use to record a difference between datasets; for example "Type X data differed between datasets". This will also up the diffCount. If the diffCount is greater than 0 the datasets will be considered different.

Parameters
msg

Implemented in OpenTD.Results.Dataset.Comparer.

◆ _writeline()

void OpenTD.Results.Dataset.IComparerOutput._writeline ( string msg)

Use to send a general message to Comparer output; for example "Starting to compare data of Type X...".

Parameters
msg

Implemented in OpenTD.Results.Dataset.Comparer.

◆ _writesuccess()

void OpenTD.Results.Dataset.IComparerOutput._writesuccess ( string msg)

Use to send a success message to Comparer output; for example "Type X data was the same in both datasets".

Parameters
msg

Implemented in OpenTD.Results.Dataset.Comparer.

Property Documentation

◆ Exceedances

Dictionary<DataSubtype, List<Exceedance> > OpenTD.Results.Dataset.IComparerOutput.Exceedances
get

Collect a list of exceedances for the tested DataSubtype here, if it makes sense for your comparison algorithm.

See also
OpenTD.Results.Dataset.DataSubtype, OpenTD.Results.Dataset.Exceedance

Implemented in OpenTD.Results.Dataset.Comparer.


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

Connect with Ansys