jubatus_core  0.1.2
Jubatus: Online machine learning framework for distributed environment
Public Member Functions | Private Member Functions | Private Attributes | List of all members
jubatus::core::fv_converter::regexp_match Class Reference

#include <null_regexp_match.hpp>

Inheritance diagram for jubatus::core::fv_converter::regexp_match:
Inheritance graph
Collaboration diagram for jubatus::core::fv_converter::regexp_match:
Collaboration graph

Public Member Functions

bool match (const std::string &key)
 
bool match (const std::string &key)
 
bool match (const std::string &key)
 
 regexp_match (const std::string &regexp)
 
 regexp_match (const std::string &regexp)
 
 regexp_match (const std::string &regexp)
 
 ~regexp_match ()
 
- Public Member Functions inherited from jubatus::core::fv_converter::key_matcher
 key_matcher ()
 
virtual ~key_matcher ()
 

Private Member Functions

 regexp_match ()
 
 regexp_match ()
 

Private Attributes

re2::RE2 re_
 
regex_t * reg_
 

Detailed Description

Definition at line 29 of file null_regexp_match.hpp.

Constructor & Destructor Documentation

jubatus::core::fv_converter::regexp_match::regexp_match ( const std::string &  regexp)
inlineexplicit

Definition at line 31 of file null_regexp_match.hpp.

References JUBATUS_EXCEPTION.

31  {
32  throw JUBATUS_EXCEPTION(
33  converter_exception("regexp support is disabled"));
34  }
#define JUBATUS_EXCEPTION(e)
Definition: exception.hpp:79
jubatus::core::fv_converter::regexp_match::regexp_match ( const std::string &  regexp)
explicit
jubatus::core::fv_converter::regexp_match::~regexp_match ( )

Definition at line 36 of file onig_match.cpp.

References reg_.

36  {
37  if (reg_) {
38  onig_free(reg_);
39  }
40 }
jubatus::core::fv_converter::regexp_match::regexp_match ( )
private
jubatus::core::fv_converter::regexp_match::regexp_match ( const std::string &  regexp)
explicit
jubatus::core::fv_converter::regexp_match::regexp_match ( )
private

Member Function Documentation

bool jubatus::core::fv_converter::regexp_match::match ( const std::string &  key)
virtual
bool jubatus::core::fv_converter::regexp_match::match ( const std::string &  key)
virtual
bool jubatus::core::fv_converter::regexp_match::match ( const std::string &  key)
inlinevirtual

Implements jubatus::core::fv_converter::key_matcher.

Definition at line 36 of file null_regexp_match.hpp.

36  {
37  return false;
38  }

Member Data Documentation

re2::RE2 jubatus::core::fv_converter::regexp_match::re_
private

Definition at line 37 of file re2_match.hpp.

regex_t* jubatus::core::fv_converter::regexp_match::reg_
private

Definition at line 38 of file onig_match.hpp.

Referenced by ~regexp_match().


The documentation for this class was generated from the following files: