fawkes::StringLess Class Reference

String less than test. More...

#include <utils/misc/string_compare.h>

List of all members.

Public Member Functions

bool operator() (const char *__s1, const char *__s2) const
 Check equality of two strings.

Detailed Description

String less than test.

This is a valid binary predicate that can be used for instance for maps as the less predicate.

The only method is used to check whether one supplied strings is less then the other. Uses strcmp for char arrays.

Author:
Tim Niemueller

Definition at line 36 of file string_compare.h.


Member Function Documentation

bool fawkes::StringLess::operator() ( const char *  __s1,
const char *  __s2 
) const

Check equality of two strings.

Parameters:
__s1 first string
__s2 second string
Returns:
true, if the __s1 < __s2

Definition at line 69 of file string_compare.cpp.


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

Generated on 1 Mar 2011 for Fawkes API by  doxygen 1.6.1