~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/trim.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-23 11:44:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110623114430-no355yypk4y3icqb
Refactor

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
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
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
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_FUNCTION_STR_TRIM_H
21
 
#define DRIZZLED_FUNCTION_STR_TRIM_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/function/str/strfunc.h>
24
23
 
36
35
  String *val_str(String *);
37
36
  void fix_length_and_dec();
38
37
  const char *func_name() const { return "trim"; }
39
 
  virtual void print(String *str, enum_query_type query_type);
 
38
  virtual void print(String *str);
40
39
  virtual const char *mode_name() const { return "both"; }
41
40
};
42
41
 
63
62
 
64
63
} /* namespace drizzled */
65
64
 
66
 
#endif /* DRIZZLED_FUNCTION_STR_TRIM_H */