A FunctionCatalog can be used to keep track of registered functions. More...
#include <FunctionCatalog.h>
Public Member Functions | |
std::vector< FunctionDefn * > * | find (const std::string &functionName) const |
It finds the function with the given name. More... | |
FunctionCatalog () | |
Constructor. More... | |
void | insert (FunctionDefn *fdfn) |
It inserts the function into the catalog. More... | |
~FunctionCatalog () | |
Destructor. More... | |
Private Attributes | |
std::map< std::string, std::vector< FunctionDefn * > * > | m_fMap |
Function map: function-name -> std::vector<FunctionDef*>*. More... | |
A FunctionCatalog can be used to keep track of registered functions.
Definition at line 54 of file FunctionCatalog.h.
|
inline |
Constructor.
name | The parameter name. |
t | The parameter type. |
Definition at line 64 of file FunctionCatalog.h.
References insert().
te::da::FunctionCatalog::~FunctionCatalog | ( | ) |
Destructor.
std::vector<FunctionDefn*>* te::da::FunctionCatalog::find | ( | const std::string & | functionName | ) | const |
It finds the function with the given name.
functionName | The function name you are looking information for. |
void te::da::FunctionCatalog::insert | ( | FunctionDefn * | fdfn | ) |
It inserts the function into the catalog.
fdfn | The function definition. The catalog will take the ownership of the given pointer. |
|
private |
Function map: function-name -> std::vector<FunctionDef*>*.
Definition at line 89 of file FunctionCatalog.h.