Insert an element into the actual list. By default this will be before the current position but if bAfter is set then the element will be placed after the current position.

Return TypeFunction nameArguments
hzEcodehzList::Iter::Insert(OBJ,bool,)

Declared and defined in file: hzTmplList.h

Function Logic:

0:START 1:unknown 2:unknown 3:Return E_NOINIT 4:Return mx->_insert(m_pCurr,bAfter)

Function body:

hzEcode hzList::Iter::Insert (OBJ obj)bool bAfter, 
       {
           //  Insert an element into the actual list. By default this will be before the current position but if bAfter is set then
           //  the element will be placed after the current position.
           //  
           //  Returns: E_ARGUMENT If the current link is not supplied
           //     E_NOTFOUND If the supplied current link isn't actually in the list
           //     E_OK  If the object was inserted
           _hzfunc_ct("hzList::Iter::Insert") ;
           if (!m_pHandle || !m_pCurr)
               return E_NOINIT ;
           return mx->_insert(m_pCurr, bAfter) ;
       }