IEntitySet

Abstract entity set class.

Members

Aliases

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

Support for the 'in' operator

Functions

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.

getName
istring getName(dchar unicode)

Gets the name associated with the passed unicode character.

getUnicode
dchar getUnicode(Char[] name)

Gets the unicode character associated with the passed name.

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

foreach iterator over the list of entities.

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(wchar unicode)

Checks whether the passed unicode 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(char unicode)

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

Structs

Entity
struct Entity

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

Meta