22#include <drizzled/plugin/table_function.h>
23#include <drizzled/table_function_container.h>
24#include <drizzled/util/find_ptr.h>
32 return find_ptr2(table_map, path);
35void TableFunctionContainer::getNames(
const string &predicate, std::set<std::string> &set_of_names)
37 for (ToolMap::reference i : table_map)
39 if (i.second->visible() && (predicate.empty() || boost::iequals(predicate, i.second->getSchemaHome())))
40 set_of_names.insert(i.second->getTableLabel());
46 std::pair<ToolMap::iterator, bool> ret= table_map.insert(std::make_pair(tool->getPath(), tool));
TODO: Rename this file - func.h is stupid.