#include <CaFactory.h>
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 () | |
| CaEvaluator * | create (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 |
Definition at line 424 of file CaFactory.cpp.
References Mux4Factory::create(), create(), and d.

| ~CaEvaluatorFactory | ( | ) |
| CaEvaluator * create | ( | const std::string & | name | ) |
Return newly allocated object of CaEvaluator corresponding to given name.
| 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().

| 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.
| str | Standard output stream to write the list to. |
Definition at line 502 of file CaFactory.cpp.
References d.
Referenced by main().

Private* d [private] |
Definition at line 62 of file CaFactory.h.
Referenced by CaEvaluatorFactory(), create(), printList(), and ~CaEvaluatorFactory().
1.5.4