#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 1025 of file dt.h.
TCh::TCh |
( |
const char & |
_Val | ) |
|
|
inline |
static int TCh::GetHex |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1069 of file dt.h.
1070 if ((
'0'<=Ch)&&(Ch<=
'9')){
return Ch-
'0';}
1071 else if ((
'A'<=Ch)&&(Ch<=
'F')){
return Ch-
'A'+10;}
1072 else if ((
'a'<=Ch)&&(Ch<=
'f')){
return Ch-
'a'+10;}
1073 else Fail;
return 0;}
static char TCh::GetHexCh |
( |
const int & |
Val | ) |
|
|
inlinestatic |
Definition at line 1074 of file dt.h.
1075 if ((0<=
Val)&&(
Val<=9)){
return char(
'0'+
char(
Val));}
1076 else if ((10<=
Val)&&(
Val<=15)){
return char(
'A'+
char(
Val-10));}
1077 else Fail;
return 0;}
int TCh::GetMemUsed |
( |
| ) |
const |
|
inline |
Definition at line 1053 of file dt.h.
1053 {
return sizeof(
TCh);}
static int TCh::GetNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1066 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 1080 of file dt.h.
1081 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 1065 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 1062 of file dt.h.
1063 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 1067 of file dt.h.
1068 ((
'0'<=Ch)&&(Ch<=
'9'))||((
'A'<=Ch)&&(Ch<=
'F'))||((
'a'<=Ch)&&(Ch<=
'f'));}
static bool TCh::IsNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1064 of file dt.h.
1064 {
return (
'0'<=Ch)&&(Ch<=
'9');}
static char TCh::IsUc |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 1078 of file dt.h.
1079 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 1049 of file dt.h.
1049 {
Val=Ch.
Val;
return *
this;}
bool TCh::operator== |
( |
const TCh & |
Ch | ) |
const |
|
inline |
void TCh::Save |
( |
TSOut & |
SOut | ) |
const |
|
inline |
Definition at line 1045 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: