The FunctionFactory class is a CloningFactory of operators and functions utilized by the Function term. More...
#include <FunctionFactory.h>
Public Member Functions | |
| FunctionFactory () | |
| virtual | ~FunctionFactory () FL_IOVERRIDE |
| virtual std::vector< std::string > | availableOperators () const |
| Returns a vector of the operators available. More... | |
| virtual std::vector< std::string > | availableFunctions () const |
| Returns a vector of the functions available. More... | |
Public Member Functions inherited from fl::CloningFactory< Function::Element *> | |
| CloningFactory (const std::string &name="") | |
| CloningFactory (const CloningFactory &other) | |
| CloningFactory & | operator= (const CloningFactory &other) |
| virtual | ~CloningFactory () |
| virtual std::string | name () const |
| Returns the name of the factory. More... | |
| virtual void | registerObject (const std::string &key, Function::Element * object) |
| Registers the object in the factory and assumes its ownership. More... | |
| virtual void | deregisterObject (const std::string &key) |
| Deregisters the given object from the factory and deletes it. More... | |
| virtual bool | hasObject (const std::string &key) const |
| Checks whether the factory has the given object registered. More... | |
| virtual Function::Element * | getObject (const std::string &key) const |
| Gets the object registered by the given key, not a clone of the object. More... | |
| virtual Function::Element * | cloneObject (const std::string &key) const |
| Creates a cloned object by executing the clone method on the registered object. More... | |
| virtual std::vector< std::string > | available () const |
| Returns a vector of the available objects. More... | |
| virtual std::map< std::string, Function::Element * > & | objects () |
| Gets the map of registered keys and objects. More... | |
| virtual const std::map< std::string, Function::Element * > & | objects () const |
| Gets an immutable map of registered keys and objects. More... | |
The FunctionFactory class is a CloningFactory of operators and functions utilized by the Function term.
Definition at line 37 of file FunctionFactory.h.
| fl::FunctionFactory::FunctionFactory | ( | ) |
|
virtual |
|
virtual |
Returns a vector of the functions available.
|
virtual |
Returns a vector of the operators available.