Return TypeFunction nameArguments
voidhdsXtag::Generate(hzChain&,hzHttpEvent*,unsigned int&,)

Declared in file: hzDissemino.h
Defined in file : hdsGenerate.cpp

Function Logic:

0:START 1:m_Line!=nLine 2:hzChain::AddByte n 3:n; 4:hzChain::AddByte 5:nLine hdsVE::Children hdsVE::Sibling Children pVE 6:pVE; 7:pVE->m_strPretext 8:S 9:pE&&(pVE->m_flagVE&VE_PT_ACTIVE) 10:hdsApp::ConvertText 11:items 12:hdsVE::Generate 13:m_strContent 14:S 15:pE&&m_flagVE&VE_CT_ACTIVE 16:hdsApp::ConvertText 17:items 18: No text

Function body:

void hdsXtag::Generate (hzChain& C, hzHttpEvent* pE, unsigned int& nLine)
{
   _hzfunc("hdsHtag::Generate") ;
   hdsVE*      pVE ;
   hzString    S ;
   uint32_t    n ;
   if (m_Line != nLine)
   {
       C.AddByte(CHAR_NL) ;
       for (n = m_Indent ; n ; n--)
           C.AddByte(CHAR_TAB) ;
       nLine = m_Line ;
   }
   for (pVE = Children() ; pVE ; pVE = pVE->Sibling())
   {
       if (pVE->m_strPretext)
       {
           S = pVE->m_strPretext ;
           if (pE && (pVE->m_flagVE & VE_PT_ACTIVE))
               C << m_pApp->ConvertText(S, pE) ;
           else
               C << S ;
       }
       pVE->Generate(C, pE, nLine) ;
   }
   if (m_strContent)
   {
       S = m_strContent ;
       if (pE && m_flagVE & VE_CT_ACTIVE)
           C << m_pApp->ConvertText(S, pE) ;
       else
           C << S ;
   }
}