void ArgList::setMembers(Node * pNode) const { for (ArgMap::const_iterator it = m_Args.begin(); it != m_Args.end(); it++) { const ArgBasePtr pCurArg = it->second; pCurArg->setMember(pNode); } pNode->setArgs(*this); }
void ArgList::setMembers(ExportedObject * pObj) const { for (ArgMap::const_iterator it = m_Args.begin(); it != m_Args.end(); it++) { const ArgBasePtr pCurArg = it->second; pCurArg->setMember(pObj); } pObj->setArgs(*this); }