Confirm or deny that the current attribute name equals the supplied null terminated string
| Return Type | Function name | Arguments |
|---|---|---|
| bool | hzAttrset::NameEQ | (const char*,) |
Declared in file: hzDocument.h
Defined in file : hzDocXml.cpp
Function Logic:
Function body:
bool hzAttrset::NameEQ (const char* cstr)
{
// Confirm or deny that the current attribute name equals the supplied null terminated string
//
// Argument: cstr The test name
//
// Returns: True If the supplied test string matches the name
// false otherwise
if (!m_pHostDoc)
return false ;
// return CstrCompare(m_pHostDoc->Xlate(m_Pair.m_A), cstr) == 0 ? true : false ;
return m_Pair.name == cstr ? true : false ;
}