| Return Type | Function name | Arguments |
|---|---|---|
| const char* | Doctype2Txt | (hzDoctype,) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
const char* Doctype2Txt (hzDoctype dtype)
{
static const char* strings [] =
{
"DOCTYPE_UNDEFINED",
"DOCTYPE_HTML",
"DOCTYPE_XML",
""
} ;
if (dtype < 0|| dtype >&eq; DOCTYPE_XML)
return strings[0];
return strings[dtype] ;
}