#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 935 of file dt.h.
Definition at line 950 of file dt.h.
TCh::TCh |
( |
const char & |
_Val | ) |
|
|
inline |
Definition at line 951 of file dt.h.
Definition at line 953 of file dt.h.
static int TCh::GetHex |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 977 of file dt.h.
978 if ((
'0'<=Ch)&&(Ch<=
'9')){
return Ch-
'0';}
979 else if ((
'A'<=Ch)&&(Ch<=
'F')){
return Ch-
'A'+10;}
980 else if ((
'a'<=Ch)&&(Ch<=
'f')){
return Ch-
'a'+10;}
981 else Fail;
return 0;}
static char TCh::GetHexCh |
( |
const int & |
Val | ) |
|
|
inlinestatic |
Definition at line 982 of file dt.h.
983 if ((0<=
Val)&&(
Val<=9)){
return char(
'0'+
char(
Val));}
984 else if ((10<=
Val)&&(
Val<=15)){
return char(
'A'+
char(
Val-10));}
985 else Fail;
return 0;}
int TCh::GetMemUsed |
( |
| ) |
const |
|
inline |
Definition at line 963 of file dt.h.
963 {
return sizeof(
TCh);}
static int TCh::GetNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 974 of file dt.h.
static bool IsNum(const char &Ch)
int TCh::GetPrimHashCd |
( |
| ) |
const |
|
inline |
Definition at line 965 of file dt.h.
int TCh::GetSecHashCd |
( |
| ) |
const |
|
inline |
Definition at line 966 of file dt.h.
static TStr TCh::GetStr |
( |
const TCh & |
Ch | ) |
|
|
inlinestatic |
Definition at line 992 of file dt.h.
static char TCh::GetUc |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 988 of file dt.h.
989 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 973 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 970 of file dt.h.
971 return ((
'A'<=Ch)&&(Ch<=
'Z'))||((
'a'<=Ch)&&(Ch<=
'z'));}
static bool TCh::IsHex |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 975 of file dt.h.
976 ((
'0'<=Ch)&&(Ch<=
'9'))||((
'A'<=Ch)&&(Ch<=
'F'))||((
'a'<=Ch)&&(Ch<=
'f'));}
static bool TCh::IsNum |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 972 of file dt.h.
972 {
return (
'0'<=Ch)&&(Ch<=
'9');}
static char TCh::IsUc |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 986 of file dt.h.
987 return (
'A'<=Ch)&&(Ch<=
'Z');}
static bool TCh::IsWs |
( |
const char & |
Ch | ) |
|
|
inlinestatic |
Definition at line 968 of file dt.h.
void TCh::Load |
( |
TSIn & |
SIn | ) |
|
|
inline |
Definition at line 954 of file dt.h.
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 |
Definition at line 952 of file dt.h.
char TCh::operator() |
( |
| ) |
const |
|
inline |
Definition at line 962 of file dt.h.
bool TCh::operator< |
( |
const TCh & |
Ch | ) |
const |
|
inline |
Definition at line 961 of file dt.h.
TCh& TCh::operator= |
( |
const TCh & |
Ch | ) |
|
|
inline |
Definition at line 959 of file dt.h.
959 {
Val=Ch.
Val;
return *
this;}
bool TCh::operator== |
( |
const TCh & |
Ch | ) |
const |
|
inline |
Definition at line 960 of file dt.h.
void TCh::Save |
( |
TSOut & |
SOut | ) |
const |
|
inline |
Definition at line 955 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 |
Definition at line 946 of file dt.h.
const char TCh::EofCh =char(26) |
|
static |
Definition at line 947 of file dt.h.
const char TCh::HashCh ='#' |
|
static |
Definition at line 948 of file dt.h.
const char TCh::LfCh =char(10) |
|
static |
Definition at line 945 of file dt.h.
const char TCh::Mn =CHAR_MIN |
|
static |
Definition at line 939 of file dt.h.
const char TCh::Mx =CHAR_MAX |
|
static |
Definition at line 940 of file dt.h.
const char TCh::NullCh =char(0) |
|
static |
Definition at line 943 of file dt.h.
const char TCh::TabCh =char(9) |
|
static |
Definition at line 944 of file dt.h.
Definition at line 937 of file dt.h.
Definition at line 941 of file dt.h.
The documentation for this class was generated from the following files: