StrLessPred Struct Reference

#include <StrMap.h>

List of all members.

Public Member Functions

bool  operator() (const SI_Char *in_psz1, const SI_Char *in_psz2) const


Detailed Description

String less predicate function object This functor can be used in STL algorithms or assiciative containers to sort strings.

Usage example:

    set<SI_Char*, StrLessPred> l_MySet;


Member Function Documentation

bool operator() ( const SI_Char *  in_psz1,
const SI_Char *  in_psz2  
) const [inline]

Determine if in_psz1 is less than in_psz2

Parameters:
in_psz1  First string
in_psz2  Second string
Returns:
true if in_psz1 is less than in_psz2


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