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

void Glib::Markup::ParseContext::parse ( const Glib::ustring text  ) 

Feed some data to the ParseContext. The data need not be valid UTF-8; an error will be signalled if it's invalid. The data need not be an entire document; you can feed a document into the parser incrementally, via multiple calls to this function. Typically, as you receive data from a network connection or file, you feed each received chunk of data into this function, aborting the process if an error occurs. Once an error is reported, no further data may be fed to the ParseContext; all errors are fatal.

text Chunk of text to parse.

Definition at line 264 of file markup.cc.

References Glib::ustring::bytes(), and Glib::ustring::data().

  GError* error = 0;
  g_markup_parse_context_parse(gobject_, text.data(), text.bytes(), &error);


Generated by  Doxygen 1.6.0   Back to index