On the condition that the user's access matches that of this <xdiv> tag, aggregate to the supplied chain (the HTML body), all child tags. Do nothing otherwise. Returns: None

Return TypeFunction nameArguments
voidhdsXdiv::Generate(hzChain&,hzHttpEvent*,uint32_t&,)

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

Function Logic:

0:START 1:bShow pInfo 2:unknown 3:unknown 4:bShow 5:unknown 6:bShow 7:unknown 8:unknown 9:items 10: No text

Function body:

void hdsXdiv::Generate (hzChain& C)hzHttpEvent* pE, uint32_t& nLine, 
{
   //  On the condition that the user's access matches that of this <xdiv> tag, aggregate to the supplied chain (the HTML body), all child tags. Do
   //  nothing otherwise.
   //  
   //  Arguments: 1) C  The HTML output chain
   //     2) pE  The HTTP event being responded to
   //     3) nLine Line number tracker (controls NL printing)
   //  
   //  Returns: None
   _hzfunc("hdsXdiv::Generate") ;
   hdsVE*      pVE ;       //  Visible entity
   hdsInfo*    pInfo ;     //  Client session data
   bool        bShow ;     //  Print or not to print
   bShow = false ;
   pInfo = (hdsInfo*) pE->Session() ;
   if (!pInfo)
   {
       if (m_Access == ACCESS_PUBLIC || m_Access == ACCESS_NOBODY)
           bShow = true ;
   }
   else
   {
       if (m_Access == ACCESS_PUBLIC || (m_Access == ACCESS_ADMIN && pInfo->m_Access & ACCESS_ADMIN)
               || (pInfo->m_Access & ACCESS_MASK) == m_Access)
           bShow = true ;
   }
   if (bShow)
   {
       for (pVE = Children() ; pVE ; pVE = pVE->Sibling())
           pVE->Generate(C, pE, nLine) ;
   }
}