HTML::Renderer::Allocators::BaseAllocator Class Reference

#include <Allocator.hpp>

Inheritance diagram for HTML::Renderer::Allocators::BaseAllocator:

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

Detailed Description

Allocator interface.


Public Member Functions

virtual CSS::LengthgetNewAbsoluteLength (const float value, const CSS::AbsoluteLength::AbsoluteUnit &relUnit) const volatile=0
 The allocation is done here (there is no easy way to make this generic).
virtual CSS::LengthgetNewAutoLength () constvolatile=0
 The allocation is done here (there is no easy way to make this generic).
virtual HTML::Renderer::BoxgetNewBox (Mapper &, const BoxHierarchy *, const CSS::StyleImplement &style, const uint32 ct=0, const Strings::FastString &text="") const volatile=0
 The allocation is done here (there is no easy way to make this generic).
virtual HTML::Renderer::BoxHierarchygetNewBoxHierarchy (const HTML::GenericElement::ElementID tagID, const HTML::Renderer::BoxHierarchy::String &ID, const HTML::Renderer::BoxHierarchy::String &Class) constvolatile=0
 The allocation is done here (there is no easy way to make this generic).
virtual CSS::LengthgetNewRelativeLength (const float value, const CSS::RelativeLength::RelativeUnit &relUnit, CSS::Length *relativeTo) constvolatile=0
 The allocation is done here (there is no easy way to make this generic).
virtual void returnBox (HTML::Renderer::Box *) const volatile=0
 The deleter must be virtual and will be used by the tree class.
virtual void returnBoxHierarchy (const HTML::Renderer::BoxHierarchy *) const volatile=0
 The deleter must be virtual and will be used by the tree class.
virtual void returnLength (CSS::Length *) 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::Renderer::Allocators::BaseAllocator::BaseAllocator (  )  [inline, protected]

Only allow construction from child classes.


Member Function Documentation

virtual CSS::Length* HTML::Renderer::Allocators::BaseAllocator::getNewAbsoluteLength ( const float  value,
const CSS::AbsoluteLength::AbsoluteUnit relUnit 
) const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual CSS::Length* HTML::Renderer::Allocators::BaseAllocator::getNewAutoLength (  )  const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual HTML::Renderer::Box* HTML::Renderer::Allocators::BaseAllocator::getNewBox ( Mapper ,
const BoxHierarchy ,
const CSS::StyleImplement style,
const uint32  ct = 0,
const Strings::FastString text = "" 
) const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual HTML::Renderer::BoxHierarchy* HTML::Renderer::Allocators::BaseAllocator::getNewBoxHierarchy ( const HTML::GenericElement::ElementID  tagID,
const HTML::Renderer::BoxHierarchy::String ID,
const HTML::Renderer::BoxHierarchy::String Class 
) const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual CSS::Length* HTML::Renderer::Allocators::BaseAllocator::getNewRelativeLength ( const float  value,
const CSS::RelativeLength::RelativeUnit relUnit,
CSS::Length relativeTo 
) const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual void HTML::Renderer::Allocators::BaseAllocator::returnBox ( HTML::Renderer::Box  )  const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual void HTML::Renderer::Allocators::BaseAllocator::returnBoxHierarchy ( const HTML::Renderer::BoxHierarchy  )  const volatile [pure virtual]

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

Implemented in HTML::Renderer::Allocators::SimpleHeap.

virtual void HTML::Renderer::Allocators::BaseAllocator::returnLength ( CSS::Length  )  const volatile [pure virtual]

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

Implemented in HTML::Renderer::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