Drizzled Public API Documentation

gman_servers_set.h
00001 /* Copyright (C) 2009 Sun Microsystems, Inc.
00002 
00003    This program is free software; you can redistribute it and/or modify
00004    it under the terms of the GNU General Public License as published by
00005    the Free Software Foundation; version 2 of the License.
00006 
00007    This program is distributed in the hope that it will be useful,
00008    but WITHOUT ANY WARRANTY; without even the implied warranty of
00009    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010    GNU General Public License for more details.
00011 
00012    You should have received a copy of the GNU General Public License
00013    along with this program; if not, write to the Free Software
00014    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
00015 
00016 #pragma once
00017 
00018 #include <drizzled/item/func.h>
00019 #include <drizzled/function/str/strfunc.h>
00020 
00021 class Item_func_gman_servers_set :public drizzled::Item_str_func
00022 {
00023   drizzled::String buffer;
00024 public:
00025   Item_func_gman_servers_set():Item_str_func() {}
00026   Item_func_gman_servers_set(Item *a):Item_str_func(a) {}
00027   void fix_length_and_dec() { max_length= args[0]->max_length; }
00028   const char *func_name() const{ return "gman_servers_set"; }
00029   drizzled::String *val_str(drizzled::String *);
00030 };
00031