~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/enum.h

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_FIELD_ENUM_H
22
22
#define DRIZZLED_FIELD_ENUM_H
23
23
 
24
 
#include "drizzled/field/str.h"
 
24
#include <drizzled/field/str.h>
25
25
 
26
26
namespace drizzled
27
27
{
61
61
  int  store(const char *to, uint32_t length, const CHARSET_INFO * const);
62
62
  int  store(double nr);
63
63
  int  store(int64_t nr, bool unsigned_val);
64
 
  double val_real(void);
65
 
  int64_t val_int(void);
66
 
  String *val_str(String*, String *);
 
64
  double val_real(void) const;
 
65
  int64_t val_int(void) const;
 
66
  String *val_str(String*, String *) const;
67
67
  int cmp(const unsigned char *, const unsigned char *);
68
68
  void sort_string(unsigned char *buff, uint32_t length);
69
69
  void store_type(uint64_t value);