SBuf "starts with" predicate for STL algorithms etc. More...

#include <Algorithms.h>

Collaboration diagram for SBufStartsWith:

Public Member Functions

 SBufStartsWith (const SBuf &prefix, SBufCaseSensitive sensitivity=caseSensitive)
 
bool operator() (const SBuf &checking)
 

Private Attributes

SBuf prefix_
 
SBufCaseSensitive sensitivity_
 

Detailed Description

Definition at line 30 of file Algorithms.h.

Constructor & Destructor Documentation

◆ SBufStartsWith()

SBufStartsWith::SBufStartsWith ( const SBuf prefix,
SBufCaseSensitive  sensitivity = caseSensitive 
)
inlineexplicit

Definition at line 33 of file Algorithms.h.

Member Function Documentation

◆ operator()()

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

Definition at line 35 of file Algorithms.h.

References prefix_, sensitivity_, and SBuf::startsWith().

Member Data Documentation

◆ prefix_

SBuf SBufStartsWith::prefix_
private

Definition at line 37 of file Algorithms.h.

Referenced by operator()().

◆ sensitivity_

SBufCaseSensitive SBufStartsWith::sensitivity_
private

Definition at line 38 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