~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function_container.h

  • Committer: Monty Taylor
  • Date: 2010-09-17 18:32:14 UTC
  • mto: (1775.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1773.
  • Revision ID: mordred@inaugust.com-20100917183214-iy27rrta26et3dli
Updated pandora-build files to version 0.151

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2010 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2010 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
23
23
 
24
24
#include <set>
25
25
#include <boost/unordered_map.hpp>
26
 
#include <drizzled/util/string.h>
 
26
#include "drizzled/util/string.h"
27
27
 
28
28
namespace drizzled {
29
29
 
30
 
class Create_func;
 
30
struct Native_func_registry;
 
31
typedef boost::unordered_map<std::string, Native_func_registry *, util::insensitive_hash, util::insensitive_equal_to> NativeFunctionsMap;
31
32
 
32
33
class FunctionContainer {
33
34
public:
34
 
  typedef boost::unordered_map<std::string, Create_func *, util::insensitive_hash, util::insensitive_equal_to> Map;
35
 
 
36
 
  static Map &getMap();
 
35
  static NativeFunctionsMap &getMap();
37
36
};
38
37
 
39
38
} /* namepsace drizzled */