MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.db.temporal.DatabaseLoader Class Reference

The DatasetLoader is used to load descriptors from the database. More...

Public Member Functions

 DatabaseLoader ()
 The constructor. More...
 
DatasetDescriptor LoadDatasetFromDb (string strDs)
 Load a dataset with the specified name from the database. More...
 
DatasetDescriptor LoadDatasetFromDb (int nDsID)
 Load a dataset with the specified ID from the database. More...
 
SourceDescriptor LoadSourceFromDb (int? nSrcId)
 Load a data source with the specified ID from the database. More...
 
GroupDescriptor LoadGroupFromDb (int? nGrpId)
 Load a dataset group with the specified ID from the database. More...
 
TemporalDescriptor LoadTemporalFromDb (int nSrcID)
 Load the temporal descriptor for the specified source ID from the database. More...
 
void LoadTemporalFromDb (DatasetDescriptor ds)
 Load the temporal descriptors for the specified source ID from the database. More...
 

Detailed Description

The DatasetLoader is used to load descriptors from the database.

Definition at line 15 of file DatabaseLoader.cs.

Constructor & Destructor Documentation

◆ DatabaseLoader()

MyCaffe.db.temporal.DatabaseLoader.DatabaseLoader ( )

The constructor.

Definition at line 22 of file DatabaseLoader.cs.

Member Function Documentation

◆ LoadDatasetFromDb() [1/2]

DatasetDescriptor MyCaffe.db.temporal.DatabaseLoader.LoadDatasetFromDb ( int  nDsID)

Load a dataset with the specified ID from the database.

Parameters
nDsIDSpecifies the ID of the dataset to load.
Returns
The dataset descriptor is returned.

Definition at line 42 of file DatabaseLoader.cs.

◆ LoadDatasetFromDb() [2/2]

DatasetDescriptor MyCaffe.db.temporal.DatabaseLoader.LoadDatasetFromDb ( string  strDs)

Load a dataset with the specified name from the database.

Parameters
strDsSpecifies the name of the dataset to load.
Returns
The dataset descriptor is returned.

Definition at line 31 of file DatabaseLoader.cs.

◆ LoadGroupFromDb()

GroupDescriptor MyCaffe.db.temporal.DatabaseLoader.LoadGroupFromDb ( int?  nGrpId)

Load a dataset group with the specified ID from the database.

Parameters
nGrpIdSpecifies the ID of the group to load.
Returns
The group descriptor is returned.

Definition at line 85 of file DatabaseLoader.cs.

◆ LoadSourceFromDb()

SourceDescriptor MyCaffe.db.temporal.DatabaseLoader.LoadSourceFromDb ( int?  nSrcId)

Load a data source with the specified ID from the database.

Parameters
nSrcIdSpecifies the ID of the data source to load.
Returns
The source descriptor is returned.

Definition at line 62 of file DatabaseLoader.cs.

◆ LoadTemporalFromDb() [1/2]

void MyCaffe.db.temporal.DatabaseLoader.LoadTemporalFromDb ( DatasetDescriptor  ds)

Load the temporal descriptors for the specified source ID from the database.

Parameters
dsSpecifies the dataset descriptor where the temporal descriptors are loaded.

Definition at line 136 of file DatabaseLoader.cs.

◆ LoadTemporalFromDb() [2/2]

TemporalDescriptor MyCaffe.db.temporal.DatabaseLoader.LoadTemporalFromDb ( int  nSrcID)

Load the temporal descriptor for the specified source ID from the database.

Parameters
nSrcIDSpecifies the data source ID.
Returns
The TemporalDescriptor is returned.

Definition at line 99 of file DatabaseLoader.cs.


The documentation for this class was generated from the following file: