~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/numhybrid.h

Refactor

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_FUNCTION_NUMHYBRID_H
21
 
#define DRIZZLED_FUNCTION_NUMHYBRID_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/function/func.h>
24
23
 
48
47
 
49
48
  double val_real();
50
49
  int64_t val_int();
51
 
  my_decimal *val_decimal(my_decimal *);
 
50
  type::Decimal *val_decimal(type::Decimal *);
52
51
  String *val_str(String*str);
53
52
 
54
53
  /**
77
76
       - The same pointer it was given, with the area initialized to the
78
77
         result of the operation.
79
78
  */
80
 
  virtual my_decimal *decimal_op(my_decimal *)= 0;
 
79
  virtual type::Decimal *decimal_op(type::Decimal *)= 0;
81
80
 
82
81
  /**
83
82
     @brief Performs the operation that this functions implements when the
91
90
 
92
91
} /* namespace drizzled */
93
92
 
94
 
#endif /* DRIZZLED_FUNCTION_NUMHYBRID_H */