| 189 | } |
| 190 | |
| 191 | bool CMarkupNode::HasAttribute(LPCTSTR pstrName) |
| 192 | { |
| 193 | if( m_pOwner == NULL ) return false; |
| 194 | if( m_nAttributes == 0 ) _MapAttributes(); |
| 195 | for( int i = 0; i < m_nAttributes; i++ ) { |
| 196 | if( _tcscmp(m_pOwner->m_pstrXML + m_aAttributes[i].iName, pstrName) == 0 ) return true; |
| 197 | } |
| 198 | return false; |
| 199 | } |
| 200 | |
| 201 | void CMarkupNode::_MapAttributes() |
| 202 | { |
nothing calls this directly
no outgoing calls
no test coverage detected