~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/uint.h

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

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_UINT_H
21
 
#define DRIZZLED_ITEM_UINT_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/item/int.h>
24
23
 
25
 
namespace drizzled
26
 
{
 
24
namespace drizzled {
27
25
 
28
 
class Item_uint :public Item_int
 
26
class Item_uint : public Item_int
29
27
{
30
28
public:
31
29
  Item_uint(const char *str_arg, uint32_t length);
36
34
  String *val_str(String*);
37
35
  Item *clone_item() { return new Item_uint(name, value, max_length); }
38
36
  int save_in_field(Field *field, bool no_conversions);
39
 
  virtual void print(String *str, enum_query_type query_type);
 
37
  virtual void print(String *str);
40
38
  Item_num *neg ();
41
39
  uint32_t decimal_precision() const { return max_length; }
42
40
};
43
41
 
44
42
} /* namespace drizzled */
45
43
 
46
 
#endif /* DRIZZLED_ITEM_UINT_H */