----------------------------------------------------------------------------- Get the name of the next attribute for the current element after a call to firstAttribute(). -----------------------------------------------------------------------------
| 700 | // to firstAttribute(). |
| 701 | // ----------------------------------------------------------------------------- |
| 702 | const char* SimXMLDocument::nextAttribute() |
| 703 | { |
| 704 | if(!m_CurrentAttribute) |
| 705 | { |
| 706 | return StringTable->EmptyString(); |
| 707 | } |
| 708 | |
| 709 | // Gets its next attribute, if any |
| 710 | m_CurrentAttribute = m_CurrentAttribute->Next(); |
| 711 | if(!m_CurrentAttribute) |
| 712 | { |
| 713 | return StringTable->EmptyString(); |
| 714 | } |
| 715 | |
| 716 | return m_CurrentAttribute->Name(); |
| 717 | } |
| 718 | |
| 719 | DefineEngineMethod( SimXMLDocument, nextAttribute, const char*, (),, |
| 720 | "@brief Get the name of the next attribute for the current Element after a call to firstAttribute().\n\n" |
no test coverage detected