|
|
|
Inserts a markup object or PCDATA into the called element.
virtual markup& element::operator <<(
1st Variety const markup& mkup );
virtual markup& element::operator<<(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 a reference to the element's base class, markup. This allows the chaining of the operation, which is most useful
when inserting multiple markup objects.
The first variety above inserts a markup object into the element object. The markup object is inserted at the end of the called element.
If you wish to insert markup objects anywhere before the end of the current markup children, use the markup::insert() operation. This operation is equivalent to the push_back() operation.
The second variety inserts PCDATA into the called element. The passed PCDATA is enclosed within a pcdata object before being
inserted into the called element, and is inserted at the end of any other markup objects which may be present in the element.
Logarithmic