]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/man/man3/irc_irc_char_traits.3
4b94560db3dc64b27561b69c7b6d13cf958d0d3d
[user/henk/code/inspircd.git] / docs / man / man3 / irc_irc_char_traits.3
1 .TH "irc::irc_char_traits" 3 "15 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 irc::irc_char_traits \- The \fBirc_char_traits\fP class is used for RFC-style comparison of strings.  
6
7 .PP
8 .SH SYNOPSIS
9 .br
10 .PP
11 \fC#include <hashcomp.h>\fP
12 .PP
13 Inherits \fBchar_traits< char >\fP.
14 .PP
15 .SS "Static Public Member Functions"
16
17 .in +1c
18 .ti -1c
19 .RI "static bool \fBeq\fP (char c1st, char c2nd)"
20 .br
21 .RI "\fICheck if two chars match. \fP"
22 .ti -1c
23 .RI "static bool \fBne\fP (char c1st, char c2nd)"
24 .br
25 .RI "\fICheck if two chars do NOT match. \fP"
26 .ti -1c
27 .RI "static bool \fBlt\fP (char c1st, char c2nd)"
28 .br
29 .RI "\fICheck if one char is less than another. \fP"
30 .ti -1c
31 .RI "static int \fBcompare\fP (const char *str1, const char *str2, size_t n)"
32 .br
33 .RI "\fICompare two strings of size n. \fP"
34 .ti -1c
35 .RI "static const char * \fBfind\fP (const char *s1, int n, char c)"
36 .br
37 .RI "\fIFind a char within a string up to position n. \fP"
38 .in -1c
39 .SH "Detailed Description"
40 .PP 
41 The \fBirc_char_traits\fP class is used for RFC-style comparison of strings. 
42
43 This class is used to implement \fBirc::string\fP, a case-insensitive, RFC- comparing string class.
44 .PP
45 Definition at line 104 of file hashcomp.h.
46 .SH "Member Function Documentation"
47 .PP 
48 .SS "static int irc::irc_char_traits::compare (const char * str1, const char * str2, size_t n)\fC [static]\fP"
49 .PP
50 Compare two strings of size n. 
51 .PP
52 .SS "static bool irc::irc_char_traits::eq (char c1st, char c2nd)\fC [static]\fP"
53 .PP
54 Check if two chars match. 
55 .PP
56 .SS "static const char* irc::irc_char_traits::find (const char * s1, int n, char c)\fC [static]\fP"
57 .PP
58 Find a char within a string up to position n. 
59 .PP
60 .SS "static bool irc::irc_char_traits::lt (char c1st, char c2nd)\fC [static]\fP"
61 .PP
62 Check if one char is less than another. 
63 .PP
64 .SS "static bool irc::irc_char_traits::ne (char c1st, char c2nd)\fC [static]\fP"
65 .PP
66 Check if two chars do NOT match. 
67 .PP
68
69
70 .SH "Author"
71 .PP 
72 Generated automatically by Doxygen for InspIRCd from the source code.