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

Glib::MarkupError Class Reference
[Simple XML Subset Parser]

#include <markup.h>

Inheritance diagram for Glib::MarkupError:

List of all members.


Detailed Description

Exception class for markup parsing errors.

Definition at line 79 of file markup.h.


Public Types

enum  Code {
  BAD_UTF8, EMPTY, PARSE, UNKNOWN_ELEMENT,
  UNKNOWN_ATTRIBUTE, INVALID_CONTENT
}
typedef void(* ThrowFunc )(GError *)

Public Member Functions

Code code () const
GQuark domain () const
const GError * gobj () const
GError * gobj ()
 MarkupError (GError *gobject)
 MarkupError (Code error_code, const Glib::ustring &error_message)
bool matches (GQuark domain, int code) const
void propagate (GError **dest)
virtual Glib::ustring what () const

Static Public Member Functions

static void register_cleanup ()
static void register_domain (GQuark domain, ThrowFunc throw_func)
static void register_init ()
static void throw_exception (GError *gobject) G_GNUC_NORETURN

Protected Attributes

GError * gobject_

Static Private Member Functions

static void throw_func (GError *gobject)

Friends

void wrap_init ()

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index