#include <dt.h>
|
static const char | Mn =CHAR_MIN |
|
static const char | Mx =CHAR_MAX |
|
static const int | Vals =int(TCh::Mx)-int(TCh::Mn)+1 |
|
static const char | NullCh =char(0) |
|
static const char | TabCh =char(9) |
|
static const char | LfCh =char(10) |
|
static const char | CrCh =char(13) |
|
static const char | EofCh =char(26) |
|
static const char | HashCh ='#' |
|
Definition at line 1028 of file dt.h.
TCh::TCh |
( |
const char & |
_Val | ) |
|
|
inline |
static int TCh::GetHex |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1072 of file dt.h.
1073 if ((
'0'<=Ch)&&(Ch<=
'9')){
return Ch-
'0';}
1074 else if ((
'A'<=Ch)&&(Ch<=
'F')){
return Ch-
'A'+10;}
1075 else if ((
'a'<=Ch)&&(Ch<=
'f')){
return Ch-
'a'+10;}
1076 else Fail;
return 0;}
static char TCh::GetHexCh |
( |
const int & |
Val | ) |
|
|
inlinestatic |
Definition at line 1077 of file dt.h.
1078 if ((0<=
Val)&&(
Val<=9)){
return char(
'0'+
char(
Val));}
1079 else if ((10<=
Val)&&(
Val<=15)){
return char(
'A'+
char(
Val-10));}
1080 else Fail;
return 0;}
int TCh::GetMemUsed |
( |
| ) |
const |
|
inline |
Definition at line 1056 of file dt.h.
1056 {
return sizeof(
TCh);}
static int TCh::GetNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1069 of file dt.h.
static bool IsNum(const char &Ch)
int TCh::GetPrimHashCd |
( |
| ) |
const |
|
inline |
int TCh::GetSecHashCd |
( |
| ) |
const |
|
inline |
static TStr TCh::GetStr |
( |
const TCh & |
Ch | ) |
|
|
inlinestatic |
static char TCh::GetUc |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1083 of file dt.h.
1084 if ((
'a'<=Ch)&&(Ch<=
'z')){
return Ch-
'a'+
'A';}
else {
return Ch;}}
char TCh::GetUsFromYuAscii |
( |
const char & |
Ch | ) |
|
|
static |
Definition at line 1885 of file dt.cpp.
1887 case '~':
return 'c';
1888 case '^':
return 'C';
1889 case '{':
return 's';
1890 case '[':
return 'S';
1891 case '`':
return 'z';
1892 case '@':
return 'Z';
1893 case '|':
return 'd';
1894 case '\\':
return 'D';
static bool TCh::IsAlNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1068 of file dt.h.
static bool IsNum(const char &Ch)
static bool IsAlpha(const char &Ch)
static bool TCh::IsAlpha |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1065 of file dt.h.
1066 return ((
'A'<=Ch)&&(Ch<=
'Z'))||((
'a'<=Ch)&&(Ch<=
'z'));}
static bool TCh::IsHashCh |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
static bool TCh::IsHex |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1070 of file dt.h.
1071 ((
'0'<=Ch)&&(Ch<=
'9'))||((
'A'<=Ch)&&(Ch<=
'F'))||((
'a'<=Ch)&&(Ch<=
'f'));}
static bool TCh::IsNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1067 of file dt.h.
1067 {
return (
'0'<=Ch)&&(Ch<=
'9');}
static char TCh::IsUc |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1081 of file dt.h.
1082 return (
'A'<=Ch)&&(Ch<=
'Z');}
static bool TCh::IsWs |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
void TCh::Load |
( |
TSIn & |
SIn | ) |
|
|
inline |
void TCh::LoadXml |
( |
const PXmlTok & |
XmlTok, |
|
|
const TStr & |
Nm |
|
) |
| |
Definition at line 1876 of file dt.cpp.
static int GetIntArg(const PXmlTok &XmlTok, const TStr &Nm)
TCh::operator char |
( |
| ) |
const |
|
inline |
char TCh::operator() |
( |
| ) |
const |
|
inline |
bool TCh::operator< |
( |
const TCh & |
Ch | ) |
const |
|
inline |
TCh& TCh::operator= |
( |
const TCh & |
Ch | ) |
|
|
inline |
Definition at line 1052 of file dt.h.
1052 {
Val=Ch.
Val;
return *
this;}
bool TCh::operator== |
( |
const TCh & |
Ch | ) |
const |
|
inline |
void TCh::Save |
( |
TSOut & |
SOut | ) |
const |
|
inline |
Definition at line 1048 of file dt.h.
void Save(const bool &Bool)
void TCh::SaveXml |
( |
TSOut & |
SOut, |
|
|
const TStr & |
Nm |
|
) |
| const |
Definition at line 1881 of file dt.cpp.
#define XSaveBETagArg(Nm, ArgNm, ArgVal)
const char TCh::CrCh =char(13) |
|
static |
const char TCh::EofCh =char(26) |
|
static |
const char TCh::HashCh ='#' |
|
static |
const char TCh::LfCh =char(10) |
|
static |
const char TCh::Mn =CHAR_MIN |
|
static |
const char TCh::Mx =CHAR_MAX |
|
static |
const char TCh::NullCh =char(0) |
|
static |
const char TCh::TabCh =char(9) |
|
static |
The documentation for this class was generated from the following files: