Xport Interface: pcdata::markup_type

Returns the mt_pcdata enumerator of xhtml_markup_type, to indicate the called markup object is a pcdata object.

xhtml_markup_type pcdata::markup_type() const;

Parameters

None

Returns

Returns mt_pcdata, which is an enumerator of xhtml_markup_type.

Remarks

This operation is used to determine the derived type of the called object derived from markup. This operation is overridden from all types derived from markup to return the respective enumerator for that type. This operation is overridden in pcdata to simply return the enumerator mt_pcdata.

Many object oriented experts feel that operations such as this, break the object oriented paradigm, and that there should be no reason to disclose the derived type of an object. In practice, however, this need often arises, so this operation is included for those events.

Complexity

Constant

Example

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.