Rocket::Core::ElementInstancerGeneric< T > Class Template Reference

#include <ElementInstancerGeneric.h>

Inheritance diagram for Rocket::Core::ElementInstancerGeneric< T >:
Collaboration diagram for Rocket::Core::ElementInstancerGeneric< T >:

Public Member Functions

virtual ElementInstanceElement (Element *parent, const String &tag, const XMLAttributes &attributes)
virtual void ReleaseElement (Element *element)
virtual void Release ()
 Release the instancer.

Detailed Description

template<typename T>
class Rocket::Core::ElementInstancerGeneric< T >

Generic Instancer that creates a plain old Element

This instancer is used for most elements and is by default registered as the "*" fallback handler.

Author:
Lloyd Weehuizen

Member Function Documentation

template<typename T>
virtual Element* Rocket::Core::ElementInstancerGeneric< T >::InstanceElement ( Element parent,
const String tag,
const XMLAttributes attributes 
) [virtual]

Instances an element given the tag name and attributes

Parameters:
tag Name of the element to instance
attributes vector of name value pairs

Implements Rocket::Core::ElementInstancer.

template<typename T>
virtual void Rocket::Core::ElementInstancerGeneric< T >::ReleaseElement ( Element element  )  [virtual]

Releases the given element

Parameters:
element to release

Implements Rocket::Core::ElementInstancer.


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