19 static const char * iqTypeStringValues[] =
21 "get",
"set",
"result",
"error"
24 static inline const char* typeString(
IQ::IqType type )
26 return iqTypeStringValues[type];
30 : Stanza( tag ), m_subtype( Invalid )
32 if( !tag || tag->name() !=
"iq" )
35 m_subtype = (
IQ::IqType)util::lookup( tag->findAttribute(
TYPE ), iqTypeStringValues );
39 :
Stanza( to ), m_subtype( type )
62 StanzaExtensionList::const_iterator it = m_extensionList.begin();
63 for( ; it != m_extensionList.end(); ++it )