#include <dt.h>
List of all members.
Detailed Description
Definition at line 927 of file dt.h.
Constructor & Destructor Documentation
Definition at line 942 of file dt.h.
Definition at line 943 of file dt.h.
Definition at line 945 of file dt.h.
Member Function Documentation
static int TCh::GetHex |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 968 of file dt.h.
{
if (('0'<=Ch)&&(Ch<='9')){return Ch-'0';}
else if (('A'<=Ch)&&(Ch<='F')){return Ch-'A'+10;}
else if (('a'<=Ch)&&(Ch<='f')){return Ch-'a'+10;}
else Fail; return 0;}
Definition at line 973 of file dt.h.
{
if ((0<=Val)&&(Val<=9)){return char('0'+char(Val));}
else if ((10<=Val)&&(Val<=15)){return char('A'+char(Val-10));}
else Fail; return 0;}
Definition at line 954 of file dt.h.
static int TCh::GetNum |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 965 of file dt.h.
Definition at line 956 of file dt.h.
Definition at line 957 of file dt.h.
Definition at line 983 of file dt.h.
static char TCh::GetUc |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 979 of file dt.h.
{
if (('a'<=Ch)&&(Ch<='z')){return Ch-'a'+'A';} else {return Ch;}}
Definition at line 1854 of file dt.cpp.
{
switch (Ch){
case '~': return 'c';
case '^': return 'C';
case '{': return 's';
case '[': return 'S';
case '`': return 'z';
case '@': return 'Z';
case '|': return 'd';
case '\\': return 'D';
default: return Ch;
}
}
static bool TCh::IsAlNum |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 964 of file dt.h.
static bool TCh::IsAlpha |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 961 of file dt.h.
{
return (('A'<=Ch)&&(Ch<='Z'))||(('a'<=Ch)&&(Ch<='z'));}
static bool TCh::IsHex |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 966 of file dt.h.
{return
(('0'<=Ch)&&(Ch<='9'))||(('A'<=Ch)&&(Ch<='F'))||(('a'<=Ch)&&(Ch<='f'));}
static bool TCh::IsNum |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 963 of file dt.h.
{return ('0'<=Ch)&&(Ch<='9');}
static char TCh::IsUc |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 977 of file dt.h.
{
return ('A'<=Ch)&&(Ch<='Z');}
static bool TCh::IsWs |
( |
const char & |
Ch | ) |
[inline, static] |
Definition at line 959 of file dt.h.
TCh::operator char |
( |
| ) |
const [inline] |
Definition at line 944 of file dt.h.
char TCh::operator() |
( |
| ) |
const [inline] |
Definition at line 953 of file dt.h.
bool TCh::operator< |
( |
const TCh & |
Ch | ) |
const [inline] |
Definition at line 952 of file dt.h.
TCh& TCh::operator= |
( |
const TCh & |
Ch | ) |
[inline] |
Definition at line 950 of file dt.h.
bool TCh::operator== |
( |
const TCh & |
Ch | ) |
const [inline] |
Definition at line 951 of file dt.h.
Definition at line 946 of file dt.h.
Member Data Documentation
Definition at line 938 of file dt.h.
Definition at line 939 of file dt.h.
Definition at line 940 of file dt.h.
Definition at line 937 of file dt.h.
const char TCh::Mn = CHAR_MIN [static] |
Definition at line 931 of file dt.h.
const char TCh::Mx = CHAR_MAX [static] |
Definition at line 932 of file dt.h.
Definition at line 935 of file dt.h.
Definition at line 936 of file dt.h.
Definition at line 929 of file dt.h.
Definition at line 933 of file dt.h.
The documentation for this class was generated from the following files: