~clint-fewbar/drizzle/regex-policy-cache-limiter

« back to all changes in this revision

Viewing changes to drizzled/function_container.h

  • Committer: Clint Byrum
  • Date: 2012-03-15 18:05:43 UTC
  • mfrom: (2224.1.302 workspace)
  • Revision ID: clint@ubuntu.com-20120315180543-9jxxm4q10k3np2ws
merging with latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_FUNCTION_CONTAINER_H
22
 
#define DRIZZLED_FUNCTION_CONTAINER_H
 
21
#pragma once
23
22
 
24
 
#include <set>
25
23
#include <boost/unordered_map.hpp>
 
24
#include <drizzled/plugin/table_function.h>
26
25
#include <drizzled/util/string.h>
27
26
 
28
27
namespace drizzled {
29
28
 
30
 
class Create_func;
31
 
 
32
 
class FunctionContainer {
 
29
class FunctionContainer 
 
30
{
33
31
public:
34
 
  typedef boost::unordered_map<std::string, Create_func *, util::insensitive_hash, util::insensitive_equal_to> Map;
 
32
  typedef boost::unordered_map<std::string, Create_func*, util::insensitive_hash, util::insensitive_equal_to> Map;
35
33
 
36
 
  static Map &getMap();
 
34
  static const Map& getMap();
 
35
  static Map& getMutableMap();
37
36
};
38
37
 
39
38
} /* namepsace drizzled */
40
39
 
41
 
#endif /* DRIZZLED_FUNCTION_CONTAINER_H */