|
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;
Returns mt_pcdata, which is an enumerator of xhtml_markup_type
.
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.
Constant