~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/string_functions/regex.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-28 14:32:36 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110328143236-4ge1d793iqaktfq0
Common fwd

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef PLUGIN_STRING_FUNCTIONS_REGEX_H
22
 
#define PLUGIN_STRING_FUNCTIONS_REGEX_H
 
21
#pragma once
23
22
 
24
 
#include <drizzled/item/cmpfunc.h>
 
23
#include <drizzled/item/function/boolean.h>
25
24
#include <boost/regex.hpp>
26
25
 
27
26
namespace drizzled
29
28
namespace string_functions
30
29
{
31
30
 
32
 
class Regex :public Item_bool_func
 
31
class Regex :public drizzled::item::function::Boolean
33
32
{
34
33
  bool is_negative;
35
34
  boost::regex re;
54
53
} // namespace string_functions
55
54
} // namespace drizzled
56
55
 
57
 
#endif /* PLUGIN_STRING_FUNCTIONS_REGEX_H */