~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_function_container.h

Does not work (compile issue in plugin).

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
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#pragma once
 
21
#ifndef DRIZZLED_TABLE_FUNCTION_CONTAINER_H
 
22
#define DRIZZLED_TABLE_FUNCTION_CONTAINER_H
22
23
 
 
24
#include "drizzled/hash.h"
23
25
#include <set>
24
 
#include <boost/unordered_map.hpp>
25
 
#include <drizzled/util/string.h>
26
26
 
27
27
namespace drizzled {
28
28
 
29
29
class TableFunctionContainer {
30
 
  typedef boost::unordered_map<std::string, plugin::TableFunction *, util::insensitive_hash, util::insensitive_equal_to> ToolMap;
 
30
  typedef hash_map<std::string, plugin::TableFunction *> ToolMap;
31
31
 
32
32
  ToolMap table_map;
33
33
 
48
48
 
49
49
} /* namepsace drizzled */
50
50
 
 
51
#endif /* DRIZZLED_TABLE_FUNCTION_CONTAINER_H */