Classes | |
| class | Element |
| The base element class The positions are set like specified in this schematic :. More... | |
Namespaces | |
| namespace | Allocators |
| The element allocator This can be used to preallocate a pool of HTML element in order to speed up parsing by removing memory allocation time. | |
Functions | |
| bool | allowedInID (const HTML::GenericElement::ElementID container, const HTML::GenericElement::ElementID child) |
| Is the given child allowed in the parent ? | |
| bool | allowedInStrictID (const HTML::GenericElement::ElementID container, const HTML::GenericElement::ElementID child) |
| HTML::GenericElement::ElementID | fromTag (const tchar *const input, const uint32 &length) |
| Get the ID for a given element from the given tag name. | |
| HTML::GenericElement::Level | levelFromID (const HTML::GenericElement::ElementID type) |
| Get the declared level for a given element from the given element ID. | |
| HTML::GenericElement::Level | levelFromStrictID (const HTML::GenericElement::ElementID type) |
| bool HTML::Elements::allowedInID | ( | const HTML::GenericElement::ElementID | container, | |
| const HTML::GenericElement::ElementID | child | |||
| ) |
Is the given child allowed in the parent ?
Validation is based on http://www.w3.org/TR/html4/sgml/dtd.html
| container | The container tag ID | |
| child | The child tag ID |
| bool HTML::Elements::allowedInStrictID | ( | const HTML::GenericElement::ElementID | container, | |
| const HTML::GenericElement::ElementID | child | |||
| ) |
| HTML::GenericElement::ElementID HTML::Elements::fromTag | ( | const tchar *const | input, | |
| const uint32 & | length | |||
| ) |
Get the ID for a given element from the given tag name.
| HTML::GenericElement::Level HTML::Elements::levelFromID | ( | const HTML::GenericElement::ElementID | type | ) |
Get the declared level for a given element from the given element ID.
| HTML::GenericElement::Level HTML::Elements::levelFromStrictID | ( | const HTML::GenericElement::ElementID | type | ) |
