HTML::Elements::Allocators::SimpleHeap Class Reference

#include <Allocator.hpp>

Inheritance diagram for HTML::Elements::Allocators::SimpleHeap:

HTML::Elements::Allocators::BaseAllocator List of all members.

Detailed Description

Simple heap based allocator (node are allocated with new and destructed with delete).


Public Member Functions

virtual HTML::Attributes::AttributegetAttribute (HTML::GenericAttribute::AttributeID type, uint32 startPos=0, uint32 endPos=0, uint32 startCont=0, uint32 endCont=0) constvolatile
 Get an attribute node here.
virtual DOMTree::NodegetAttrNode (HTML::Attributes::Attribute *attrib, const DOM::DOMString &value, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 The allocation is done here (there is no easy way to make this generic).
virtual DOMTree::NodegetCommentNode (const DOM::DOMString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 The allocation is done here (there is no easy way to make this generic).
virtual DOMTree::NodegetCommentNode (const Strings::FastString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 The allocation is done here (there is no easy way to make this generic).
virtual DOMTree::NodegetDocumentNode (const DOM::DOMString &namespaceURI, const DOM::DOMString &qualifiedName, const DOM::DocumentType *docType, DOMTree::Node *ref, const DOM::Element *htmlElement, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 Get a fully constructed document node.
virtual DOM::DocumentTypegetDocumentType (const DOM::DOMString &qualifiedName, const DOM::DOMString &publicId, const DOM::DOMString &systemId) const volatile
 Get a fully constructed document type node.
virtual DOM::DocumentTypegetDocumentType (const DOM::DOMString &input) const volatile
 Get a fully constructed document type node.
virtual HTML::Elements::ElementgetElement (HTML::GenericElement::ElementID type, uint32 startPos) const volatile
 Let's do it the generic way.
virtual DOMTree::NodegetElementNode (HTML::Elements::Element *element, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 The allocation is done here (there is no easy way to make this generic).
virtual DOMTree::NodegetTextNode (const DOM::DOMString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 The allocation is done here (there is no easy way to make this generic).
virtual DOMTree::NodegetTextNode (const Strings::FastString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &deleter) const volatile
 The allocation is done here (there is no easy way to make this generic).
virtual void returnAttribute (const HTML::Attributes::Attribute *attribute) const volatile throw ()
 The deleter must be virtual and will be used by the tree class.
virtual void returnDocumentType (const DOM::DocumentType *docType) const volatile throw ()
 The deleter must be virtual and will be used by the tree class.
virtual void returnElement (const HTML::Elements::Element *element) const volatile throw ()
 The deleter must be virtual and will be used by the tree class.
virtual void returnNode (const DOM::Node *node) const volatile throw ()
 Let's destruct the generic way too.
 SimpleHeap ()
 Constructor is that simple.


Constructor & Destructor Documentation

HTML::Elements::Allocators::SimpleHeap::SimpleHeap (  )  [inline]

Constructor is that simple.


Member Function Documentation

virtual HTML::Attributes::Attribute* HTML::Elements::Allocators::SimpleHeap::getAttribute ( HTML::GenericAttribute::AttributeID  type,
uint32  startPos = 0,
uint32  endPos = 0,
uint32  startCont = 0,
uint32  endCont = 0 
) const volatile [inline, virtual]

Get an attribute node here.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getAttrNode ( HTML::Attributes::Attribute attrib,
const DOM::DOMString value,
DOMTree::Node root,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

The allocation is done here (there is no easy way to make this generic).

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getCommentNode ( const DOM::DOMString text,
DOMTree::Node root,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

The allocation is done here (there is no easy way to make this generic).

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getCommentNode ( const Strings::FastString text,
DOMTree::Node root,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

The allocation is done here (there is no easy way to make this generic).

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getDocumentNode ( const DOM::DOMString namespaceURI,
const DOM::DOMString qualifiedName,
const DOM::DocumentType docType,
DOMTree::Node ref,
const DOM::Element htmlElement,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

Get a fully constructed document node.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOM::DocumentType* HTML::Elements::Allocators::SimpleHeap::getDocumentType ( const DOM::DOMString qualifiedName,
const DOM::DOMString publicId,
const DOM::DOMString systemId 
) const volatile [inline, virtual]

Get a fully constructed document type node.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOM::DocumentType* HTML::Elements::Allocators::SimpleHeap::getDocumentType ( const DOM::DOMString input  )  const volatile [inline, virtual]

Get a fully constructed document type node.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual HTML::Elements::Element* HTML::Elements::Allocators::SimpleHeap::getElement ( HTML::GenericElement::ElementID  type,
uint32  startPos 
) const volatile [inline, virtual]

Let's do it the generic way.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getElementNode ( HTML::Elements::Element element,
DOMTree::Node root,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

The allocation is done here (there is no easy way to make this generic).

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getTextNode ( const DOM::DOMString text,
DOMTree::Node root,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

The allocation is done here (there is no easy way to make this generic).

Implements HTML::Elements::Allocators::BaseAllocator.

virtual DOMTree::Node* HTML::Elements::Allocators::SimpleHeap::getTextNode ( const Strings::FastString text,
DOMTree::Node root,
Tree::DeleterObject< const DOM::Node * > &  deleter 
) const volatile [inline, virtual]

The allocation is done here (there is no easy way to make this generic).

Implements HTML::Elements::Allocators::BaseAllocator.

virtual void HTML::Elements::Allocators::SimpleHeap::returnAttribute ( const HTML::Attributes::Attribute attribute  )  const volatile throw () [inline, virtual]

The deleter must be virtual and will be used by the tree class.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual void HTML::Elements::Allocators::SimpleHeap::returnDocumentType ( const DOM::DocumentType docType  )  const volatile throw () [inline, virtual]

The deleter must be virtual and will be used by the tree class.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual void HTML::Elements::Allocators::SimpleHeap::returnElement ( const HTML::Elements::Element element  )  const volatile throw () [inline, virtual]

The deleter must be virtual and will be used by the tree class.

Implements HTML::Elements::Allocators::BaseAllocator.

virtual void HTML::Elements::Allocators::SimpleHeap::returnNode ( const DOM::Node node  )  const volatile throw () [inline, virtual]

Let's destruct the generic way too.

Implements HTML::Elements::Allocators::BaseAllocator.


The documentation for this class was generated from the following file:

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is