Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CEGUI::Font_xmlHandler Class Reference

Handler class used to parse the Font XML files using SAX2. More...

#include <CEGUIFont_xmlHandler.h>

Inheritance diagram for CEGUI::Font_xmlHandler:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::Font_xmlHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Font_xmlHandler (Font *font)
 Constructor for Font::xmlHandler objects.
virtual ~Font_xmlHandler (void)
 Destructor for Font::xmlHandler objects.
virtual void elementStart (const String &element, const XMLAttributes &attributes)
 document processing (only care about elements, schema validates format)
virtual void elementEnd (const String &element)
 Method called to notify the handler at the end of each XML element encountered.

Detailed Description

Handler class used to parse the Font XML files using SAX2.

Definition at line 40 of file CEGUIFont_xmlHandler.h.


Constructor & Destructor Documentation

CEGUI::Font_xmlHandler::Font_xmlHandler Font font  )  [inline]
 

Constructor for Font::xmlHandler objects.

Parameters:
font Pointer to the Font object creating this xmlHandler object

Definition at line 53 of file CEGUIFont_xmlHandler.h.

virtual CEGUI::Font_xmlHandler::~Font_xmlHandler void   )  [inline, virtual]
 

Destructor for Font::xmlHandler objects.

Definition at line 59 of file CEGUIFont_xmlHandler.h.


Member Function Documentation

void CEGUI::Font_xmlHandler::elementEnd const String element  )  [virtual]
 

Method called to notify the handler at the end of each XML element encountered.

Parameters:
element String object holding the name of the element that is ending.
Returns:
Nothing.

Reimplemented from CEGUI::XMLHandler.

Definition at line 260 of file CEGUIFont_xmlHandler.cpp.

References CEGUI::Font::d_freetype, CEGUI::Font::d_name, CEGUI::Font::defineFontGlyphs(), CEGUI::Logger::getSingleton(), CEGUI::Informative, and CEGUI::Logger::logEvent().

void CEGUI::Font_xmlHandler::elementStart const String element,
const XMLAttributes attributes
[virtual]
 

document processing (only care about elements, schema validates format)

Reimplemented from CEGUI::XMLHandler.

Definition at line 81 of file CEGUIFont_xmlHandler.cpp.

References CEGUI::String::append(), CEGUI::Font::constructor_impl(), CEGUI::ImagesetManager::createImageset(), CEGUI::Font::d_autoScale, CEGUI::Font::d_cp_map, CEGUI::Font::d_freetype, CEGUI::Font::d_glyph_images, CEGUI::Font::d_horzScaling, CEGUI::Font::d_name, CEGUI::Font::d_sourceFilename, CEGUI::String::find(), CEGUI::Imageset::getImage(), CEGUI::ImagesetManager::getSingleton(), CEGUI::Logger::getSingleton(), CEGUI::XMLAttributes::getValueAsBool(), CEGUI::XMLAttributes::getValueAsInteger(), CEGUI::XMLAttributes::getValueAsString(), CEGUI::Informative, CEGUI::String::length(), CEGUI::Logger::logEvent(), CEGUI::NoAntiAlias, CEGUI::String::npos, CEGUI::Font::setAutoScalingEnabled(), and CEGUI::Font::setNativeResolution().


The documentation for this class was generated from the following files:
Generated on Wed Sep 7 10:06:11 2005 for Crazy Eddies GUI System by  doxygen 1.4.3