Aggregate to the supplied chain (the HTML body), the set of tags found within this hdsBlock instance. This is the functional equivelent of a server side include. Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | hdsBlock::Generate | (hzChain&,hzHttpEvent*,uint32_t&,) |
Declared in file: hzDissemino.h
Defined in file : hdsGenerate.cpp
Function Logic:
Function body:
void hdsBlock::Generate (hzChain& C)hzHttpEvent* pE, uint32_t& nLine,
{
// Aggregate to the supplied chain (the HTML body), the set of tags found within this hdsBlock instance. This is the functional equivelent of a
// server side include.
//
// 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("hdsBlock::Generate") ;
hzList<hdsVE*>::Iter ih ; // Visible entity iterator
hdsVE* pVE ; // Child visible entity
uint32_t relLn ; // Relative line
uint32_t nV ; // Visual entity iterator
m_pApp->m_pLog->Log("BK %p %d %s\n", this, m_VID, *m_Refname) ;
relLn = nLine ;
for (nV = 0; nV < m_VEs.Count() ; nV++)
{
pVE = m_VEs[nV] ;
m_pApp->m_pLog->Log("VE %p %d %s\n", pVE, pVE->m_VID, *pVE->m_Tag) ;
pVE->Generate(C, pE, nLine) ;
}
nLine = relLn ;
}