NEXUS CLASS LIBRARY home | classes | functions

Class NStrCaseSensitiveEquals

Data Members

compStr

Member Functions

NStrCaseSensitiveEquals, operator()

Class Description

Function object (Unary Predicate functor) that stores one string. The ()(const NxsString &) operator then returns the result of a case-sensitive compare. Useful for STL find algorithms.

Key to symbols and colors

public, protected, private, A = abstract, C = constructor, D = destructor, I = inline, S = static, V = virtual, F = friend

 

Data Members
     NxsString   compStr
       

 

Member Functions
CI     NStrCaseSensitiveEquals(const NxsString &s)
       
Creates a function object for case-sensitive comparisons of s to a container of strings.
I   bool   operator()(const NxsString &s)
       
Returns the result of a case-sensitive compare of s and the string stored when the NStrCaseSensitiveEquals was created.