Generate HTML for an article. If the applicable article contains active elements and so is itself active, this function will be called to serve the article in response to an AJAX request. Otherwise this function is only called to create a fixed HTML value for the article during program initialization. Note this function is never called by hdsPage::Display() since an hdsArticle cannot be a page component. Returns: None

Return TypeFunction nameArguments
voidhdsArticleStd::EvalHtml(hzChain&,)

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

Function Logic:

0:START 1:items 2:unknown 3:pVE items 4: No text

Function body:

void hdsArticleStd::EvalHtml (hzChain& C)
{
   //  Generate HTML for an article.
   //  
   //  If the applicable article contains active elements and so is itself active, this function will be called to serve the article in response to an AJAX request. Otherwise this
   //  function is only called to create a fixed HTML value for the article during program initialization.
   //  
   //  Note this function is never called by hdsPage::Display() since an hdsArticle cannot be a page component.
   //  
   //  Argument: C The HTML output chain
   //  Returns: None
   _hzfunc("hdsArticleStd::Display") ;
   hzHttpEvent     httpEv ;    //  Artificial HTTP event
   hdsVE*          pVE ;       //  Html entity
   uint32_t        nV ;        //  Visual entity iterator
   uint32_t        relLn ;     //  Relative line
   threadLog("Generating Article %s\n", *m_Title) ;
   for (nV = 0; nV < m_VEs.Count() ; nV++)
   {
       pVE = m_VEs[nV] ; pVE->Generate(C, &httpEv, relLn) ;
   }
}