~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/float.h

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_ITEM_FLOAT_H
21
 
#define DRIZZLED_ITEM_FLOAT_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/item/num.h>
24
23
 
56
55
  Item *clone_item()
57
56
  { return new Item_float(name, value, decimals, max_length); }
58
57
  Item_num *neg() { value= -value; return this; }
59
 
  virtual void print(String *str, enum_query_type query_type);
 
58
  virtual void print(String *str);
60
59
  bool eq(const Item *, bool binary_cmp) const;
61
60
};
62
61
 
69
68
    :Item_float(NULL, val_arg, decimal_par, length), func_name(str)
70
69
  {}
71
70
 
72
 
  virtual inline void print(String *str, enum_query_type)
 
71
  virtual inline void print(String *str)
73
72
  {
74
73
    str->append(func_name);
75
74
  }
76
75
 
77
 
  Item *safe_charset_converter(const CHARSET_INFO * const tocs);
 
76
  Item *safe_charset_converter(const charset_info_st * const tocs);
78
77
};
79
78
 
80
79
} /* namespace drizzled */
81
80
 
82
 
#endif /* DRIZZLED_ITEM_FLOAT_H */
83
81