HTML::Elements::Allocators::BaseAllocator Class Reference

#include <Allocator.hpp>

Inheritance diagram for HTML::Elements::Allocators::BaseAllocator:

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

Detailed Description

Allocator interface.


Public Member Functions

virtual HTML::Attributes::AttributegetAttribute (HTML::GenericAttribute::AttributeID type, uint32 startPos=0, uint32 endPos=0, uint32 startCont=0, uint32 endCont=0) constvolatile=0
 Get an attribute here.
virtual DOMTree::NodegetAttrNode (HTML::Attributes::Attribute *attrib, const DOM::DOMString &value, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &) const volatile=0
 Get a fully constructed attribute node.
virtual DOMTree::NodegetCommentNode (const DOM::DOMString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &) constvolatile=0
 Get a fully constructed comment node.
virtual DOMTree::NodegetCommentNode (const Strings::FastString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &) const volatile=0
 Get a fully constructed comment node.
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 * > &) const volatile=0
 Get a fully constructed document node.
virtual DOM::DocumentTypegetDocumentType (const DOM::DOMString &qualifiedName, const DOM::DOMString &publicId, const DOM::DOMString &systemId) const volatile=0
 Get a fully constructed document type.
virtual DOM::DocumentTypegetDocumentType (const DOM::DOMString &input) const volatile=0
 Get a fully constructed document type.
virtual HTML::Elements::ElementgetElement (HTML::GenericElement::ElementID type, uint32 startPos) const volatile=0
 Get an element here.
virtual DOMTree::NodegetElementNode (HTML::Elements::Element *element, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &) const volatile=0
 Get a fully constructed element node.
virtual DOMTree::NodegetTextNode (const DOM::DOMString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &) constvolatile=0
 Get a fully constructed text node.
virtual DOMTree::NodegetTextNode (const Strings::FastString &text, DOMTree::Node *root, Tree::DeleterObject< const DOM::Node * > &) const volatile=0
 Get a fully constructed text node.
virtual void returnAttribute (const HTML::Attributes::Attribute *attribute) const volatile=0
 The deleter must be virtual and will be used by the tree class.
virtual void returnDocumentType (const DOM::DocumentType *docType) const volatile=0
 The deleter must be virtual and will be used by the tree class.
virtual void returnElement (const HTML::Elements::Element *element) const volatile=0
 The deleter must be virtual and will be used by the tree class.
virtual void returnNode (const DOM::Node *) const volatile=0
 The deleter must be virtual and will be used by the tree class.

Protected Member Functions

 BaseAllocator ()
 Only allow construction from child classes.


Constructor & Destructor Documentation

HTML::Elements::Allocators::BaseAllocator::BaseAllocator (  )  [inline, protected]

Only allow construction from child classes.


Member Function Documentation

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

Get an attribute here.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed attribute node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed comment node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed comment node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

virtual DOMTree::Node* HTML::Elements::Allocators::BaseAllocator::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 * > &   
) const volatile [pure virtual]

Get a fully constructed document node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed document type.

Implemented in HTML::Elements::Allocators::SimpleHeap.

virtual DOM::DocumentType* HTML::Elements::Allocators::BaseAllocator::getDocumentType ( const DOM::DOMString input  )  const volatile [pure virtual]

Get a fully constructed document type.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get an element here.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed element node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed text node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

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

Get a fully constructed text node.

Implemented in HTML::Elements::Allocators::SimpleHeap.

virtual void HTML::Elements::Allocators::BaseAllocator::returnAttribute ( const HTML::Attributes::Attribute attribute  )  const volatile [pure virtual]

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

Implemented in HTML::Elements::Allocators::SimpleHeap.

virtual void HTML::Elements::Allocators::BaseAllocator::returnDocumentType ( const DOM::DocumentType docType  )  const volatile [pure virtual]

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

Implemented in HTML::Elements::Allocators::SimpleHeap.

virtual void HTML::Elements::Allocators::BaseAllocator::returnElement ( const HTML::Elements::Element element  )  const volatile [pure virtual]

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

Implemented in HTML::Elements::Allocators::SimpleHeap.

virtual void HTML::Elements::Allocators::BaseAllocator::returnNode ( const DOM::Node  )  const volatile [pure virtual]

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

Implemented in HTML::Elements::Allocators::SimpleHeap.


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