CaEvaluatorFactory Class Reference

#include <CaFactory.h>

List of all members.


Detailed Description

Class responsible for evaluators creation.

Available evaluators are registered in the constructor and then addressed by name.

Definition at line 41 of file CaFactory.h.


Public Member Functions

 CaEvaluatorFactory ()
 ~CaEvaluatorFactory ()
CaEvaluatorcreate (const std::string &name)
 Return newly allocated object of CaEvaluator corresponding to given name.
void printList (std::ostream &str)
 Print list of available evaluator's names to stream.

Private Attributes

Private * d

Constructor & Destructor Documentation

CaEvaluatorFactory (  ) 

Definition at line 424 of file CaFactory.cpp.

References Mux4Factory::create(), create(), and d.

Here is the call graph for this function:

~CaEvaluatorFactory (  ) 

Definition at line 477 of file CaFactory.cpp.

References d.


Member Function Documentation

CaEvaluator * create ( const std::string &  name  ) 

Return newly allocated object of CaEvaluator corresponding to given name.

Parameters:
name Name of evaluator to create.

Definition at line 481 of file CaFactory.cpp.

References C_LIGHT_BLUE, C_LIGHT_RED, C_NO_COLOR, and d.

Referenced by CaEvaluatorFactory(), and main().

Here is the caller graph for this function:

void printList ( std::ostream &  str  ) 

Print list of available evaluator's names to stream.

The list can be filtered by GF_INCLUDE_TRIVIAL and GF_INCLUDE_COMPLEX compile-time options.

Parameters:
str Standard output stream to write the list to.

Definition at line 502 of file CaFactory.cpp.

References d.

Referenced by main().

Here is the caller graph for this function:


Member Data Documentation

Private* d [private]

Definition at line 62 of file CaFactory.h.

Referenced by CaEvaluatorFactory(), create(), printList(), and ~CaEvaluatorFactory().


The documentation for this class was generated from the following files:
Generated on Sat May 2 16:39:37 2009 for nucad by  doxygen 1.5.4