Xport Interface: markup::clear

When called on a derived element object, clears all children from the object.

void markup::clear();

Parameters

None

Returns

Nothing.

Remarks

When called on a derived element object, this operation clears all child markup objects from the element. When called on the other types derived from markup, ( pcdata, comment, and procinstr), this operation does nothing, since these types can contain no children.

Although this operation is relevant only to element derived objects, the clear() operation is implemented in markup, since it is markup which manages any child markup objects.

Complexity

Linear

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.