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

CEGUI::Font_xmlHandler Class Reference

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

#include <CEGUIFont_xmlHandler.h>

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 startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs)
 document processing (only care about elements, schema validates format)
virtual void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
virtual void warning (const XERCES_CPP_NAMESPACE::SAXParseException &exc)
 error processing
virtual void error (const XERCES_CPP_NAMESPACE::SAXParseException &exc)
virtual void fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &exc)

Detailed Description

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

Definition at line 41 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 54 of file CEGUIFont_xmlHandler.h.

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

Destructor for Font::xmlHandler objects.

Definition at line 60 of file CEGUIFont_xmlHandler.h.


Member Function Documentation

void CEGUI::Font_xmlHandler::endElement const XMLCh *const   uri,
const XMLCh *const   localname,
const XMLCh *const   qname
[virtual]
 

Definition at line 269 of file CEGUIFont_xmlHandler.cpp.

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

void CEGUI::Font_xmlHandler::error const XERCES_CPP_NAMESPACE::SAXParseException &  exc  )  [virtual]
 

Definition at line 293 of file CEGUIFont_xmlHandler.cpp.

void CEGUI::Font_xmlHandler::fatalError const XERCES_CPP_NAMESPACE::SAXParseException &  exc  )  [virtual]
 

Definition at line 298 of file CEGUIFont_xmlHandler.cpp.

void CEGUI::Font_xmlHandler::startElement const XMLCh *const   uri,
const XMLCh *const   localname,
const XMLCh *const   qname,
const XERCES_CPP_NAMESPACE::Attributes &  attrs
[virtual]
 

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

Definition at line 84 of file CEGUIFont_xmlHandler.cpp.

References CEGUI::String::append(), CEGUI::Font::constructor_impl(), CEGUI::Font::d_cp_map, CEGUI::Font::d_freetype, CEGUI::Font::d_glyph_images, CEGUI::Font::d_horzScaling, CEGUI::Font::d_name, CEGUI::String::find(), CEGUI::Imageset::getImage(), CEGUI::Informative, CEGUI::String::length(), CEGUI::Font::setAutoScalingEnabled(), CEGUI::Font::setNativeResolution(), CEGUI::uint, CEGUI::utf32, and CEGUI::utf8.

void CEGUI::Font_xmlHandler::warning const XERCES_CPP_NAMESPACE::SAXParseException &  exc  )  [virtual]
 

error processing

Definition at line 288 of file CEGUIFont_xmlHandler.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Feb 16 12:41:10 2005 for Crazy Eddies GUI System by  doxygen 1.3.9.1