Defined in file: hzDissemino.h

The hdsVE (visible entity) base class and its derivatives are the means by which the HTML content of pages, articles, and other resources are assembled. For the avoidance of of confusion, 'visible' in this context does not mean a visible object will appear in the browser. It simply means that HTML tags will be generated in the output. Some hdsVE derivatives are directly associated with a single HTML tag, while others result in multiiple HTML tags. Resource HTML content is set by providing the resource with an array of VEs, which are then processed into HTML. Rules apply to the processing of hdsVE into HTML. In particular, if a tag is text bearing, its subtags may also contain text but no further subtags. The tag content can be devoid of subtags in which case it can be evaluated directly. But where subtags are included in the content (such as a link), the content is said to be 'composite'. Such composite content is constructed by means of a pre-text value on subtags. The text content of a given tag is produced by visiting each of its subtags in turn and first adding the pre-text value, then adding the content. Only when there are no more subtags to visit are the actual contents of the tag in hand added to the final string.

Constructors/Detructors

hdsVE*hdsVE(hdsVE&)
hdsVE*hdsVE(void)
NULL-TYPEhdsVE(void)
void~hdsVE(void)

Public Methods:

hzEcodeAddAttr(hzString& name)hzString& value, Add an attribute to the visible entity
hzEcodeAddChild(hdsVE* pChild)Add a child to this visible entity. Returns: E_OK
hdsVE*Children(void)Return first child of the current VE
voidComplete(void)
voidGenerate(hzChain& C)hzHttpEvent* pE, uint32_t& nLine,
hzEcodeInitVE(hdsApp* pApp)
voidSetCSS(const char* cpCSS)
hzEcodeSetSibling(hdsVE* pSib)
hdsVE*Sibling(void)
xTagWhatami(void)

Overloaded operators:

hdsVE&operator=(hdsVE&)

Member Variables:

uint32_tm_AccessAccess control etc
uint32_tm_BgColorBackground color (if not set use table value)
hzStringm_CSSStyle-sheet class (if set this will be default for the table's <td> tags)
uint32_tm_ChildrenSub nodes of this node
uint32_tm_FgColorForeground color (if not set use table value)
uint16_tm_IndentIndentation
uint32_tm_LineLine number of opening tag (drawn from the line number of the associated XML node)
uint16_tm_Resv???
uint32_tm_SiblingNext node (in the series m_Chridren belonging to the parent of this)
hzStringm_TagThe HTML or Dissemino tag
uint32_tm_VIDAbsolute unique VE identifier (possible deprecation)
uint32_tm_flagVEOperational flags
uint16_tm_nAttrsNumber of attributes
uint16_tm_nChildrenNumber of chidren
hdsApp*m_pAppParent Dissemino Application
hzStringm_strContentTag content (value)
hzStringm_strPretextIf the parent is complex, this text is to be displayed as part of the parent content