~drizzle-trunk/drizzle/development

390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; version 2 of the License.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 */
1 by brian
clean slate
19
2234 by Brian Aker
Mass removal of ifdef/endif in favor of pragma once.
20
#pragma once
1 by brian
clean slate
21
648 by Brian Aker
Fix for create to keep its include files (which speeds up recompiles).
22
/* If you fix the parser to no longer create functions these can be moved to create.cc */
642.1.30 by Lee
move math functions to drizzled/function/math directory
23
#include <drizzled/function/math/divide.h>
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
24
#include <drizzled/function/get_user_var.h>
642.1.30 by Lee
move math functions to drizzled/function/math directory
25
#include <drizzled/function/math/int.h>
26
#include <drizzled/function/math/int_divide.h>
27
#include <drizzled/function/math/minus.h>
28
#include <drizzled/function/math/mod.h>
29
#include <drizzled/function/math/multiply.h>
30
#include <drizzled/function/math/neg.h>
31
#include <drizzled/function/math/plus.h>
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
32
#include <drizzled/function/rollup_const.h>
642.1.30 by Lee
move math functions to drizzled/function/math directory
33
#include <drizzled/function/math/round.h>
670.1.20 by Monty Taylor
Renamed functions to function... everything else is singular.
34
#include <drizzled/function/user_var_as_out_param.h>
1 by brian
clean slate
35
36
/* For type casts */
37
2318.7.19 by Olaf van der Spek
Refactor Items
38
namespace drizzled {
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
39
1 by brian
clean slate
40
enum Cast_target
41
{
1237.6.11 by Brian Aker
Dead functions.
42
  ITEM_CAST_BINARY,
2015.1.3 by Brian Aker
Merge in CAST operators for SIGNED/UNSIGNED
43
  ITEM_CAST_SIGNED,
44
  ITEM_CAST_UNSIGNED,
1237.6.11 by Brian Aker
Dead functions.
45
  ITEM_CAST_DATE,
46
  ITEM_CAST_TIME,
47
  ITEM_CAST_DATETIME,
48
  ITEM_CAST_CHAR,
2023.2.4 by Brian Aker
Merge in cast() for BOOLEAN.
49
  ITEM_CAST_BOOLEAN,
1 by brian
clean slate
50
  ITEM_CAST_DECIMAL
51
};
52
1280.1.10 by Monty Taylor
Put everything in drizzled into drizzled namespace.
53
} /* namespace drizzled */
54