XmlEntitySet

Xml entity set class.

Members

Aliases

This
alias This = typeof(this)

This alias.

Functions

entities
const(Entity)[] entities()

Returns the list of entities.

getEncodedEntity
char[] getEncodedEntity(dchar unicode, char[] output)

Gets the fully encoded form of an entity.

Static variables

xml_entities
Entity[] xml_entities;

Xml character entities

Inherited Members

From IEntitySet

Entity
struct Entity

An entity. Simply a tuple of a name and a unicode value (eg "amp", '&').

entities
const(Entity)[] entities()

Abstract method to return the list of entities.

getEncodedEntity
char[] getEncodedEntity(dchar unicode, char[] output)

Abstract method to get the encoded form of an entity.

getUnicode
dchar getUnicode(Char[] name)

Gets the unicode character associated with the passed name.

getName
istring getName(dchar unicode)

Gets the name associated with the passed unicode character.

opBinaryRight
alias opBinaryRight(istring op : "in") = opIn_r

Support for the 'in' operator

opIn_r
bool opIn_r(char[] name)

Checks whether the passed name is in the list of entities.

opIn_r
bool opIn_r(wchar[] name)

Checks whether the passed name is in the list of entities.

opIn_r
bool opIn_r(dchar[] name)

Checks whether the passed name is in the list of entities.

opIn_r
bool opIn_r(dchar unicode)

Checks whether the passed unicode is in the list of entities.

opIn_r
bool opIn_r(wchar unicode)

Checks whether the passed unicode is in the list of entities.

opIn_r
bool opIn_r(char unicode)

Checks whether the passed unicode is in the list of entities.

opApply
int opApply(int delegate(ref const(istring), ref const(dchar)) dg)

foreach iterator over the list of entities.

Meta