Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void Glib::Markup::Parser::on_start_element ( ParseContext context,
const Glib::ustring element_name,
const AttributeMap &  attributes 
) [protected, virtual]

Called for open tags <foo bar="baz">. This virtual method is invoked when the opening tag of an element is seen.

context The Markup::ParseContext object the parsed data belongs to.
element_name The name of the element.
attributes A map of attribute name/value pairs.
Glib::MarkupError An exception you should throw if something went wrong, for instance if an unknown attribute name was encountered. In particular the MarkupError::UNKNOWN_ELEMENT, MarkupError::UNKNOWN_ATTRIBUTE, and MarkupError::INVALID_CONTENT errors are intended to be thrown from user-implemented methods.

Definition at line 233 of file markup.cc.


Generated by  Doxygen 1.6.0   Back to index