    

 ## On this page

  

 

 # OpenTD.PostProcessing.DatasetManager Class Reference

 Last update: 16.07.2025 

Represents the TD [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") Manager, used to interact with datasets (solution results) within TD. [More...](#details)

Inheritance diagram for OpenTD.PostProcessing.DatasetManager:

 ![](/sites/default/files/migrate-content/opentd_net4_reference_2025_r2_1/class_open_t_d_1_1_post_processing_1_1_dataset_manager.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [DatasetManager](#ac3918f7bea73d4afe1bae7c55f14f6b9) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) \_td) [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) [CreateDataset](#a676243e3bd070e9076ce3ef88b69b201) (string name, string pathname, [Dataset.DataSourceTypes](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml#a34e89fdcdd5b1856efa38049c513c5a8) type=[Dataset.DataSourceTypes.SF](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml#a34e89fdcdd5b1856efa38049c513c5a8a94a990462684a2fbb5dfc7fab1c8975d)) Creates a new [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") using defaults from this TD instance.   
 [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) [GetDataset](#a6b065a3a463263f75e2aeda048bcf710) (string name) Gets an existing [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") from this TD instance.   
 [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) [GetCurrentDataset](#ad9623154b7262b92cc6f5eeeac154b63) () Gets the currently-activated [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") from this TD instance.   
 List&lt; [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) &gt; [GetDatasets](#a10e8afd5838b28af9593de1ed70c53b2) () Gets all the Datasets in this TD instance.   
 void [DeleteDataset](#a75fc394ef1a9882a1eeabdc6c90d7ce7) (string name) <a id="details" name="details"></a>## Detailed Description

Represents the TD [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") Manager, used to interact with datasets (solution results) within TD.

See also[OpenTD.PostProcessing.Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance."), [OpenTD.ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml "Represents one instance of Thermal Desktop. This is the top-level class for interacting with OpenTD.")

## Constructor &amp; Destructor Documentation

<a id="ac3918f7bea73d4afe1bae7c55f14f6b9" name="ac3918f7bea73d4afe1bae7c55f14f6b9"></a>## [◆ ](#ac3918f7bea73d4afe1bae7c55f14f6b9)DatasetManager()

 OpenTD.PostProcessing.DatasetManager.DatasetManager  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *\_td*)   inline 





## Member Function Documentation

<a id="a676243e3bd070e9076ce3ef88b69b201" name="a676243e3bd070e9076ce3ef88b69b201"></a>## [◆ ](#a676243e3bd070e9076ce3ef88b69b201)CreateDataset()

 [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) OpenTD.PostProcessing.DatasetManager.CreateDataset  ( string *name*,    string *pathname*,    [Dataset.DataSourceTypes](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml#a34e89fdcdd5b1856efa38049c513c5a8) *type* = [Dataset::DataSourceTypes::SF](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml#a34e89fdcdd5b1856efa38049c513c5a8a94a990462684a2fbb5dfc7fab1c8975d) )  inline 

Creates a new [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") using defaults from this TD instance.

See also[OpenTD.PostProcessing.Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.")



<a id="a75fc394ef1a9882a1eeabdc6c90d7ce7" name="a75fc394ef1a9882a1eeabdc6c90d7ce7"></a>## [◆ ](#a75fc394ef1a9882a1eeabdc6c90d7ce7)DeleteDataset()

 void OpenTD.PostProcessing.DatasetManager.DeleteDataset  ( string *name*)   inline 





<a id="ad9623154b7262b92cc6f5eeeac154b63" name="ad9623154b7262b92cc6f5eeeac154b63"></a>## [◆ ](#ad9623154b7262b92cc6f5eeeac154b63)GetCurrentDataset()

 [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) OpenTD.PostProcessing.DatasetManager.GetCurrentDataset  ( )   inline 

Gets the currently-activated [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") from this TD instance.

See also[OpenTD.PostProcessing.Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.")



<a id="a6b065a3a463263f75e2aeda048bcf710" name="a6b065a3a463263f75e2aeda048bcf710"></a>## [◆ ](#a6b065a3a463263f75e2aeda048bcf710)GetDataset()

 [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) OpenTD.PostProcessing.DatasetManager.GetDataset  ( string *name*)   inline 

Gets an existing [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.") from this TD instance.

See also[OpenTD.PostProcessing.Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.")



<a id="a10e8afd5838b28af9593de1ed70c53b2" name="a10e8afd5838b28af9593de1ed70c53b2"></a>## [◆ ](#a10e8afd5838b28af9593de1ed70c53b2)GetDatasets()

 List&lt; [Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml) &gt; OpenTD.PostProcessing.DatasetManager.GetDatasets  ( )   inline 

Gets all the Datasets in this TD instance.

See also[OpenTD.PostProcessing.Dataset](class_open_t_d_1_1_post_processing_1_1_dataset.xhtml "Client-side representation of a dataset (solution results) in a TD instance.")



---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/PostProcessing/**DatasetManager.cs**