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

#include <exact_match.hpp>

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

Public Member Functions

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

Private Attributes

const std::string key_
 

Detailed Description

Definition at line 27 of file exact_match.hpp.

Constructor & Destructor Documentation

jubatus::core::fv_converter::exact_match::exact_match ( const std::string &  key)
inlineexplicit

Definition at line 29 of file exact_match.hpp.

30  : key_(key) {
31  }
jubatus::core::fv_converter::exact_match::~exact_match ( )
inline

Definition at line 32 of file exact_match.hpp.

32  {
33  }

Member Function Documentation

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

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

Definition at line 35 of file exact_match.hpp.

References key_.

35  {
36  return key == key_;
37  }

Member Data Documentation

const std::string jubatus::core::fv_converter::exact_match::key_
private

Definition at line 40 of file exact_match.hpp.

Referenced by match().


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