~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function_container.h

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

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 */