Pentagram::ichar_traits Struct Reference

STL char_traits for case insensitive comparisons. More...

#include <istring.h>

List of all members.

Static Public Member Functions

static bool eq (const char_type &c1, const char_type &c2)
static bool lt (const char_type &c1, const char_type &c2)
static int compare (const char_type *s1, const char_type *s2, size_t length)


Detailed Description

STL char_traits for case insensitive comparisons.

Definition at line 36 of file istring.h.


Member Function Documentation

int Pentagram::ichar_traits::compare ( const char_type *  s1,
const char_type *  s2,
size_t  length 
) [static]

Case insensitive comparison for 2 c_strings - based off Q_strncasecmp.

Definition at line 84 of file istring.cpp.

References Pentagram::strncasecmp().

Referenced by Pentagram::pent_string< char >::compare().

bool Pentagram::ichar_traits::eq ( const char_type &  c1,
const char_type &  c2 
) [static]

Case insensitive check for 2 chars being equal.

Definition at line 62 of file istring.cpp.

bool Pentagram::ichar_traits::lt ( const char_type &  c1,
const char_type &  c2 
) [static]

Case insensitive check for the first char being less than the second char

Definition at line 73 of file istring.cpp.


The documentation for this struct was generated from the following files:
Generated on Fri Jul 27 22:30:34 2007 for pentagram by  doxygen 1.4.7