~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_row.h

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

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) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 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
20
20
#ifndef DRIZZLED_ITEM_CACHE_ROW_H
21
21
#define DRIZZLED_ITEM_CACHE_ROW_H
22
22
 
 
23
#include <stdint.h>
23
24
#include <drizzled/item/cache.h>
24
25
 
25
 
namespace drizzled
26
 
{
27
 
 
28
26
class Item_cache;
29
27
class Item;
30
 
class SendField;
 
28
class Send_field;
31
29
 
32
30
class Item_cache_row: public Item_cache
33
31
{
51
49
  bool setup(Item *item);
52
50
  void store(Item *item);
53
51
  void illegal_method_call(const char * method_name);
54
 
  void make_field(SendField *field);
 
52
  void make_field(Send_field *field);
55
53
  double val_real();
56
54
  int64_t val_int();
57
55
  String *val_str(String *val);
58
 
  type::Decimal *val_decimal(type::Decimal *val);
 
56
  my_decimal *val_decimal(my_decimal *val);
59
57
 
60
58
  enum Item_result result_type() const;
61
59
 
70
68
 
71
69
};
72
70
 
73
 
} /* namespace drizzled */
74
 
 
75
71
#endif /* DRIZZLED_ITEM_CACHE_ROW_H */