~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/hex_string.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_HEX_STRING_H
21
 
#define DRIZZLED_ITEM_HEX_STRING_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/item/basic_constant.h>
24
23
 
25
 
namespace drizzled
26
 
{
 
24
namespace drizzled {
27
25
 
28
 
class Item_hex_string: public Item_basic_constant
 
26
class Item_hex_string : public Item_basic_constant
29
27
{
30
28
public:
31
29
  Item_hex_string() {}
44
42
  enum Item_result result_type () const { return STRING_RESULT; }
45
43
  enum Item_result cast_to_int_type() const { return INT_RESULT; }
46
44
  enum_field_types field_type() const { return DRIZZLE_TYPE_VARCHAR; }
47
 
  virtual void print(String *str, enum_query_type query_type);
 
45
  virtual void print(String *str);
48
46
  bool eq(const Item *item, bool binary_cmp) const;
49
 
  virtual Item *safe_charset_converter(const CHARSET_INFO * const tocs);
 
47
  virtual Item *safe_charset_converter(const charset_info_st * const tocs);
50
48
};
51
49
 
52
50
} /* namespace drizzled */
53
51
 
54
 
#endif /* DRIZZLED_ITEM_HEX_STRING_H */