Main Page Modules Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Examples
bioinfo::ci_char_traits Struct Reference
ci_char_traits : defines case insenstive "char traits".
More...
#include <ci_char_traits.h>
Inheritance diagram for bioinfo::ci_char_traits:
[legend]Collaboration diagram for bioinfo::ci_char_traits:
[legend]List of all members.
Static Public Methods |
bool | eq (char c1, char c2) |
bool | ne (char c1, char c2) |
bool | lt (char c1, char c2) |
int | compare (const char *s1, const char *s2, size_t n) |
const char* | find (const char *s, int n, char a) |
Detailed Description
ci_char_traits : defines case insenstive "char traits".
credits: this is ruthlessly and shamelessly ripped from gcc3 documentation, which credits is source as discussions relating to "guru of the week" articles (www.gotw.ca)
Member Function Documentation
bool bioinfo::ci_char_traits::eq (
|
char c1,
|
|
char c2 ) [inline, static]
|
|
|
-
Parameters:
-
c1
|
= input char 1 |
c2
|
= input char 2 |
-
Returns:
-
calls tolower on char 1 and 2 returns true if equal
|
bool bioinfo::ci_char_traits::lt (
|
char c1,
|
|
char c2 ) [inline, static]
|
|
|
-
Parameters:
-
c1
|
= input char 1 |
c2
|
= input char 2 |
-
Returns:
-
calls tolower on char 1 and 2 returns true if char 1 < char 2
|
bool bioinfo::ci_char_traits::ne (
|
char c1,
|
|
char c2 ) [inline, static]
|
|
|
-
Parameters:
-
c1
|
= input char 1 |
c2
|
= input char 2 |
-
Returns:
-
calls tolower on char 1 and 2 returns true if not equal
|
The documentation for this struct was generated from the following file: