#include <FitAlgorithmMap.h>
Public Member Functions | |||
| const FitAlgorithm & | getAlgorithm (const ConfigurationVariable &variable) const throw (Sct::InvalidArgument) | ||
Get the algorithm associated with the given variable 
  | |||
| bool | setAlgorithm (string variableName, auto_ptr< FitAlgorithm >) throw () | ||
| Sets the algorithm for ConfigurationVariables with variableName to the given FitAlgorithm.   | |||
Static Public Member Functions | |||
| FitAlgorithmMap & | instance () | ||
| Get the instance of the Map.   | |||
Private Attributes | |||
| map< string, shared_ptr< FitAlgorithm > > | algMap | ||
The Fitter uses the map to determine which FitAlgorithm to ask to create the FitScanResult object. The Map is of course a singleton.
Make this thread-safe
Definition at line 33 of file FitAlgorithmMap.h.
      
  | 
  
| 
 Get the algorithm associated with the given variable 
 
 Definition at line 15 of file FitAlgorithmMap.cpp. References Sct::InvalidArgument, and Sct::AbstractThrowable::setSeverity().  | 
  
Here is the call graph for this function:

      
  | 
  
| 
 Get the instance of the Map. 
 Definition at line 10 of file FitAlgorithmMap.cpp.  | 
  
      
  | 
  ||||||||||||
| 
 Sets the algorithm for ConfigurationVariables with variableName to the given FitAlgorithm. Note that auto_ptr is used to denote object transfer 
 
 Definition at line 24 of file FitAlgorithmMap.cpp.  | 
  
 
1.3.5