Kinetis Bootloader Host  2.0.0
Host Tools for Kinetis devices
blfwk::FixedMatcher Class Reference

Simple string matcher that compares against a fixed value. More...

#include <StringMatcher.h>

+ Inheritance diagram for blfwk::FixedMatcher:
+ Collaboration diagram for blfwk::FixedMatcher:

Public Member Functions

 FixedMatcher (const std::string &fixedValue)
 Constructor. Sets the string to compare against to be fixedValue.
 
virtual bool match (const std::string &testValue)
 Returns whether testValue is the same as the value passed to the constructor. More...
 

Protected Attributes

const std::string & m_value
 The section name to look for.
 

Detailed Description

Simple string matcher that compares against a fixed value.

Member Function Documentation

virtual bool blfwk::FixedMatcher::match ( const std::string &  testValue)
inlinevirtual

Returns whether testValue is the same as the value passed to the constructor.

Return values
trueThe testValue argument matches the fixed compare value.
falseThe argument is not the same as the compare value.

Implements blfwk::StringMatcher.


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