SBuf equality predicate for STL algorithms etc. More...

#include <Algorithms.h>

Collaboration diagram for SBufEqual:

Public Member Functions

 SBufEqual (const SBuf &reference, SBufCaseSensitive sensitivity=caseSensitive)
 
bool operator() (const SBuf &checking)
 

Private Attributes

SBuf reference_
 
SBufCaseSensitive sensitivity_
 

Detailed Description

Definition at line 18 of file Algorithms.h.

Constructor & Destructor Documentation

◆ SBufEqual()

SBufEqual::SBufEqual ( const SBuf reference,
SBufCaseSensitive  sensitivity = caseSensitive 
)
inlineexplicit

Definition at line 21 of file Algorithms.h.

Member Function Documentation

◆ operator()()

bool SBufEqual::operator() ( const SBuf checking)
inline

Definition at line 23 of file Algorithms.h.

References SBuf::compare(), reference_, and sensitivity_.

Member Data Documentation

◆ reference_

SBuf SBufEqual::reference_
private

Definition at line 25 of file Algorithms.h.

Referenced by operator()().

◆ sensitivity_

SBufCaseSensitive SBufEqual::sensitivity_
private

Definition at line 26 of file Algorithms.h.

Referenced by operator()().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors