Configuration Class Reference
[Algorithms]

Base class for configuration properties of an algorithm. More...

#include <configuration.h>

Inherited by TestConfiguration, and ThresholdConfiguration.

Inheritance diagram for Configuration:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Configuration ()
virtual ~Configuration ()
void registerDataset (config_dataset_id_type input_dataset_id, dataset_pointer_type dataset)
imedgine::dataset_pointer_type getDataset (config_dataset_id_type input_dataset_id) const

Protected Member Functions

 Configuration (Configuration const &src)

Detailed Description

Base class for configuration properties of an algorithm.

The abstract configuration interface. This only contains methods for setting input and output datasets, the rest of the configuration has to be added by implementors in subclasses.

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 47 of file configuration.h.


Constructor & Destructor Documentation

Configuration  ) 
 

Constructor

Definition at line 20 of file configuration.cpp.

~Configuration  )  [virtual]
 

Destructor

Definition at line 33 of file configuration.cpp.

Configuration Configuration const &  src  )  [protected]
 

Copy constructor

Definition at line 27 of file configuration.cpp.


Member Function Documentation

dataset_pointer_type getDataset config_dataset_id_type  input_dataset_id  )  const
 

Return the registered input or output dataset associated with the given dataset key from the algorithm configuration file.

Parameters:
input_dataset_id The key of the dataset (from configuration file)
Returns:
A pointer to the requested dataset or a null pointer if no dataset was registered with the given key

Definition at line 55 of file configuration.cpp.

void registerDataset config_dataset_id_type  input_dataset_id,
dataset_pointer_type  dataset
 

Register a new dataset that will be accessible with the given dataset ID read from the configuration file.

Parameters:
input_dataset_id The ID of the dataset (from the configuration file)
dataset A pointer to the dataset to register by the algorithm or not

Definition at line 47 of file configuration.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:00 2006 for iMEDgine by  doxygen 1.4.6