Confirm or deny that the current attribute value equals the supplied null terminated string
| Return Type | Function name | Arguments |
|---|---|---|
| bool | hzAttrset::ValEQ | (const char*,) |
Declared in file: hzDocument.h
Defined in file : hzDocXml.cpp
Function Logic:
Function body:
bool hzAttrset::ValEQ (const char* cstr)
{
// Confirm or deny that the current attribute value equals the supplied null terminated string
//
// Argument: cstr The test string
//
// 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_B), cstr) == 0 ? true : false ;
return m_Pair.value == cstr ? true : false ;
}