~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/direct_ref.h

Merge Stewart's dead code removal

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
22
22
 
23
23
#include <drizzled/item/ref.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
/*
29
26
  The same as Item_ref, but get value from val_* family of method to get
30
27
  value of item on which it referred instead of result* family.
45
42
  double val_real();
46
43
  int64_t val_int();
47
44
  String *val_str(String* tmp);
48
 
  type::Decimal *val_decimal(type::Decimal *);
 
45
  my_decimal *val_decimal(my_decimal *);
49
46
  bool val_bool();
50
47
  bool is_null();
51
 
  bool get_date(type::Time &ltime,uint32_t fuzzydate);
 
48
  bool get_date(DRIZZLE_TIME *ltime,uint32_t fuzzydate);
52
49
  virtual Ref_Type ref_type() { return DIRECT_REF; }
53
50
};
54
51
 
55
 
} /* namespace drizzled */
56
 
 
57
52
#endif /* DRIZZLED_ITEM_DIRECT_REF_H */