A generic database class used to connect to the underlying database and create a Cursor that traverses through it.
More...
A generic database class used to connect to the underlying database and create a Cursor that traverses through it.
Definition at line 14 of file DB.cs.
◆ DB()
The DB Constructor.
- Parameters
-
imgDb | The underlying database - the MyCaffeImageDatabase. |
Definition at line 24 of file DB.cs.
◆ Close()
Closes the last Open session.
Definition at line 42 of file DB.cs.
◆ NewCursor()
Creates and returns a new Cursor used to traverse through a data source within the database.
- Parameters
-
transformer | Specifies the data transformer used to transform the labels (when label mapping is active). |
log | Optionally, specifies the output log for diagnostic information (default = null). |
- Returns
Definition at line 53 of file DB.cs.
◆ Open()
Opens the underlying database with a given data source.
- Parameters
-
strSrc | Specifies the data source name. |
Definition at line 33 of file DB.cs.
The documentation for this class was generated from the following file:
- C:/Data/Data/SS_Projects/Intelligence/GitHub/MyCaffe/MyCaffe/data/DB.cs