mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
LittleHelper Class Reference

#include <LittleHelper.h>

Static Public Member Functions

static size_t stringCmpi (const std::string &s1, const std::string &s2)
 Compares two strings case insensitive.
 

Detailed Description

Definition at line 10 of file LittleHelper.h.

Member Function Documentation

size_t LittleHelper::stringCmpi ( const std::string &  s1,
const std::string &  s2 
)
static

Compares two strings case insensitive.

If string one is smaller than the second, -1 is returned, if it's greater 1. If they are perfectly equal, that means, they have the same size, 0 is returned. If they are the same until the first string ends, the difference in size is returned.

Parameters
s1one string
s2another string

Definition at line 19 of file LittleHelper.cpp.


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