#include <BoxHierarchy.hpp>
Public Types | |
| typedef DOM::DOMString | String |
| The string class we are using. | |
Public Member Functions | |
| BoxHierarchy (const HTML::GenericElement::ElementID tagID, const String &ID=String(), const String &Class=String()) | |
| The only constructor. | |
| BoxHierarchy * | enterChild (Mapper &mapper, const HTML::GenericElement::ElementID tagID, const String &ID=String(), const String &Class=String()) const |
| Return the new box hierarchy object for the given child. | |
| const DOM::Element * | getElement () const |
| Get the DOM element that match us. | |
| bool | isTaggedAs (const HTML::GenericElement::ElementID tagID) const |
| Make sure the element is of specified type. | |
| BoxHierarchy * | nextChild (Mapper &mapper, const HTML::GenericElement::ElementID tagID, const String &ID=String(), const String &Class=String()) const |
| Return the new box hierarchy object for the next sibling. | |
Friends | |
| struct | ::Tests::RendererTest |
| Allow the test class to access us. | |
| class | Mapper |
| Allow the mapper to use us directly. | |
The string class we are using.
| HTML::Renderer::BoxHierarchy::BoxHierarchy | ( | const HTML::GenericElement::ElementID | tagID, | |
| const String & | ID = String(), |
|||
| const String & | Class = String() | |||
| ) | [inline] |
The only constructor.
| BoxHierarchy * HTML::Renderer::BoxHierarchy::enterChild | ( | Mapper & | mapper, | |
| const HTML::GenericElement::ElementID | tagID, | |||
| const String & | ID = String(), |
|||
| const String & | Class = String() | |||
| ) | const |
Return the new box hierarchy object for the given child.
| mapper | The mapper instance | |
| tagID | The HTML tag type | |
| ID | The ID attribute if set | |
| Class | The class attribute if set |
| const DOM::Element* HTML::Renderer::BoxHierarchy::getElement | ( | ) | const [inline] |
| bool HTML::Renderer::BoxHierarchy::isTaggedAs | ( | const HTML::GenericElement::ElementID | tagID | ) | const [inline] |
Make sure the element is of specified type.
| tagID | The HTML tag type |
| BoxHierarchy * HTML::Renderer::BoxHierarchy::nextChild | ( | Mapper & | mapper, | |
| const HTML::GenericElement::ElementID | tagID, | |||
| const String & | ID = String(), |
|||
| const String & | Class = String() | |||
| ) | const |
Return the new box hierarchy object for the next sibling.
| mapper | The mapper instance | |
| tagID | The HTML tag type | |
| ID | The ID attribute if set | |
| Class | The class attribute if set |
friend struct ::Tests::RendererTest [friend] |
Allow the test class to access us.
friend class Mapper [friend] |
Allow the mapper to use us directly.
