~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/direct_ref.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 10:31:37 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323103137-lwevis2tfchgu18u
Propogate return void

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_DIRECT_REF_H
21
 
#define DRIZZLED_ITEM_DIRECT_REF_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/item/ref.h>
24
23
 
45
44
  double val_real();
46
45
  int64_t val_int();
47
46
  String *val_str(String* tmp);
48
 
  my_decimal *val_decimal(my_decimal *);
 
47
  type::Decimal *val_decimal(type::Decimal *);
49
48
  bool val_bool();
50
49
  bool is_null();
51
 
  bool get_date(DRIZZLE_TIME *ltime,uint32_t fuzzydate);
 
50
  bool get_date(type::Time &ltime,uint32_t fuzzydate);
52
51
  virtual Ref_Type ref_type() { return DIRECT_REF; }
53
52
};
54
53
 
55
54
} /* namespace drizzled */
56
55
 
57
 
#endif /* DRIZZLED_ITEM_DIRECT_REF_H */