~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function_container.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-24 15:25:06 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110624152506-zivk37gp51e9w84u
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#pragma once
22
22
 
23
 
#include <set>
24
23
#include <boost/unordered_map.hpp>
 
24
#include <drizzled/plugin/table_function.h>
25
25
#include <drizzled/util/string.h>
26
26
 
27
27
namespace drizzled {
29
29
class FunctionContainer 
30
30
{
31
31
public:
32
 
  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;
33
33
 
34
 
  static Map &getMap();
 
34
  static const Map& getMap();
 
35
  static Map& getMutableMap();
35
36
};
36
37
 
37
38
} /* namepsace drizzled */