    

 ## On this page

  

 

 # OpenTD.XRefDBIterator Class Reference

 Last update: 16.07.2025 

&lt;exclude &gt; [More...](#details)

Inheritance diagram for OpenTD.XRefDBIterator:

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



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

 [XRefDBIterator](#a60ef2f363d24c8ade7bd2c3d8131fe7c) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) dynamic [DbObject](#a837a740ab9d60fc34390423ab594a074) () Returns the object at the current database position.   
 bool [Done](#a974b0f7325cde2c27fb0fcc7268a1cb0) () Returns true at the end of the database.   
 void [Step](#a3a96afb7cb67a1d3043117ac37f39783) () Steps the pointer to the next position in the database.   
 <a id="details" name="details"></a>## Detailed Description

&lt;exclude &gt;



## Constructor &amp; Destructor Documentation

<a id="a60ef2f363d24c8ade7bd2c3d8131fe7c" name="a60ef2f363d24c8ade7bd2c3d8131fe7c"></a>## [◆ ](#a60ef2f363d24c8ade7bd2c3d8131fe7c)XRefDBIterator()

 OpenTD.XRefDBIterator.XRefDBIterator  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inline 





## Member Function Documentation

<a id="a837a740ab9d60fc34390423ab594a074" name="a837a740ab9d60fc34390423ab594a074"></a>## [◆ ](#a837a740ab9d60fc34390423ab594a074)DbObject()

 dynamic OpenTD.XRefDBIterator.DbObject  ( )   inline 

Returns the object at the current database position.

Implements [OpenTD.IDbIterator](interface_open_t_d_1_1_i_db_iterator.xhtml#a2fe58e8b4fb9d8cbe9aa0d35ee1fbd4e).





<a id="a974b0f7325cde2c27fb0fcc7268a1cb0" name="a974b0f7325cde2c27fb0fcc7268a1cb0"></a>## [◆ ](#a974b0f7325cde2c27fb0fcc7268a1cb0)Done()

 bool OpenTD.XRefDBIterator.Done  ( )   inline 

Returns true at the end of the database.

Implements [OpenTD.IDbIterator](interface_open_t_d_1_1_i_db_iterator.xhtml#a7db722cf1227ae992de14777f121932d).





<a id="a3a96afb7cb67a1d3043117ac37f39783" name="a3a96afb7cb67a1d3043117ac37f39783"></a>## [◆ ](#a3a96afb7cb67a1d3043117ac37f39783)Step()

 void OpenTD.XRefDBIterator.Step  ( )   inline 

Steps the pointer to the next position in the database.

Implements [OpenTD.IDbIterator](interface_open_t_d_1_1_i_db_iterator.xhtml#af16bd850d0db04212d051fc8534f5f97).





---

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