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

CEGUIXmlHandlerHelper.h

Go to the documentation of this file.
00001 /*************************************************************************
00002     Crazy Eddie's GUI System (http://www.cegui.org.uk)
00003     Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Lesser General Public
00007     License as published by the Free Software Foundation; either
00008     version 2.1 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Lesser General Public License for more details.
00014 
00015     You should have received a copy of the GNU Lesser General Public
00016     License along with this library; if not, write to the Free Software
00017     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 *************************************************************************/
00019 #ifndef _CEGUIXmlHandlerHelper_h_
00020 #define _CEGUIXmlHandlerHelper_h_
00021 
00022 
00023 namespace CEGUI 
00024 {
00029 class XmlHandlerHelper
00030 {
00031 public:
00046         static char* getAttributeValueAsChar(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00047 
00048 
00063         static const XMLCh* getAttributeValueAsXmlChar(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00064 
00065 
00079         static int getAttributeValueAsInteger(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00080 
00081 
00095         static String getAttributeValueAsString(const XERCES_CPP_NAMESPACE::Attributes& attrs, const char* const attributeName);
00096 
00097 
00108         static String transcodeXmlCharToString(const XMLCh* const xmlch_str);
00109 };
00110 
00111 }
00112 
00113 #endif

Generated on Wed Feb 16 12:41:08 2005 for Crazy Eddies GUI System by  doxygen 1.3.9.1