glibmm: Glib::Markup Namespace Reference

glibmm 2.78.0

Classes | Typedefs | Enumerations | Functions
Glib::Markup Namespace Reference

## Classes
class | AttributeKeyLess
| Binary predicate used by Markup::Parser::AttributeMap. More...
class | ParseContext
| A parse context is used to parse marked-up documents. More...
class | Parser
| The abstract markup parser base class. More...

## Typedefs
using | Error = Glib::MarkupError

## Enumerations
enum class | ParseFlags { DEFAULT_FLAGS = 0x0 , DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0 , TREAT_CDATA_AS_TEXT = 1 << 1 , PREFIX_ERROR_POSITION = 1 << 2 , IGNORE_QUALIFIED = 1 << 3 }

## Functions
Glib::ustring | escape_text (const Glib::ustring &text)
| Escapes text so that the markup parser will parse it verbatim.
ParseFlags | operator| (ParseFlags lhs, ParseFlags rhs)
ParseFlags | operator& (ParseFlags lhs, ParseFlags rhs)
ParseFlags | operator^ (ParseFlags lhs, ParseFlags rhs)
ParseFlags | operator~ (ParseFlags flags)
ParseFlags & | operator|= (ParseFlags &lhs, ParseFlags rhs)
ParseFlags & | operator&= (ParseFlags &lhs, ParseFlags rhs)
ParseFlags & | operator^= (ParseFlags &lhs, ParseFlags rhs)

## Enumeration Type Documentation

## ◆ ParseFlags

enum class Glib::Markup::ParseFlags
| strong

Enumerator
DEFAULT_FLAGS | No special behaviour. Since glibmm 2.74:
DO_NOT_USE_THIS_UNSUPPORTED_FLAG | Flag you should not use.
TREAT_CDATA_AS_TEXT | When this flag is set, CDATA marked sections are not passed literally to the passthrough function of the parser. Instead, the content of the section (without the `<![CDATA[` and `]]>`) is passed to the text function. This flag was added in GLib 2.12.
PREFIX_ERROR_POSITION | Normally errors caught by GMarkup itself have line/column information prefixed to them to let the caller know the location of the error. When this flag is set the location information is also prefixed to errors generated by the MarkupParser implementation functions.
IGNORE_QUALIFIED | Ignore (don't report) qualified attributes and tags, along with their contents. A qualified attribute or tag is one that contains ':' in its name (ie: is in another namespace). Since glibmm 2.40: