|
|
|
For a derived element object, inserts one or more markup
objects or PCDATA at the beginning of the called element.
virtual markup::iterator markup::push_front(1st Variety
>const markup& mkup
);
virtual markup::iterator markup::push_front(2nd Variety
const std::string& pcdat
);
A markup derived object, which can be one of the following, an element, pcdata, comment, or procinstr.
A string argument which represents PCDATA to insert as content.
Returns an iterator which points to the inserted markup object.
This operation is relevant only if it is called on an element derived object. If called on a pcdata, comment,
or procinstr object, no action will take place, and the end() iterator will be returned.
The first variety is equivalent to the operation markup::insert(markup::begin(), markup& mkup). The second variety is equivalent to
the operation markup::insert(markup::begin(), std::string& pcdat). This operation provides a handy way to insert markup at the beginning
of the called element, rather than at the end of the called element, which is more customary.
logarithmic