#include <XMLResource.h>
Inheritance diagram for CXMLResource:
Public Member Functions | |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual void | Destroy () |
CString | GetFilename () |
virtual bool | IsOfType (eEntityType eType) |
virtual bool | PropertyChanging (const void *pvProperty, void *pvNewValue) |
virtual void | GetProperties (EPropList &PropList) |
Protected Member Functions | |
void | SetFilename (CString strFilename) |
Protected Attributes | |
TiXmlElement * | m_pXMLElement |
CString | m_strFilename |
This class serves as a provider for resources that are loaded from XML file.
Definition at line 17 of file XMLResource.h.
|
Method details: Clean-up occurs here Implements CResource.
Reimplemented in CAnimation, CAnimationManager, CBitmapFont, CCustomFont, CFontManager, CFrameAnimation< TAnimation >, CGUIElement, CGUI, CGUIStatic, CGUITextBox, CGUIButton, CGUIMenuEntry, CMaterial, CMaterialManager, COpenGLMaterial, COpenGLTexture, CResourceManager, CTexture, CTextureFrameAnimation, CTextureManager, and CFrameAnimation< tRect >. Definition at line 109 of file XMLResource.cpp. References TiXmlNode::Clear(), and m_pXMLElement. Referenced by CResourceManager::Destroy(), and CAnimation::Destroy(). |
|
Method details:
References m_strFilename. Referenced by CResourceManager::GetResource(), CMaterialManager::GetResource(), CFontManager::GetResource(), CAnimationManager::GetResource(), and CGUIBorder::SaveXML(). |
|
Method details:
Reimplemented from CEntity.
Reimplemented in CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, and CGUITabControl. Definition at line 101 of file XMLResource.cpp. References CEntity::GetProperties(), and m_strFilename. Referenced by CGUIElement::GetProperties(). |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CResource.
Reimplemented in CAnimation, CAnimationManager, CBitmapFont, CCustomFont, CFontManager, CFrameAnimation< TAnimation >, CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, CGUIWindow, CMaterial, CMaterialManager, COpenGLMaterial, COpenGLTexture, CResourceManager, CTexture, CTextureFrameAnimation, CTextureManager, and CFrameAnimation< tRect >. Definition at line 118 of file XMLResource.cpp. References CResource::IsOfType(). Referenced by CTexture::IsOfType(), CResourceManager::IsOfType(), COpenGLMaterial::IsOfType(), CMaterial::IsOfType(), CGUIElement::IsOfType(), CCustomFont::IsOfType(), and CAnimation::IsOfType(). |
|
|
Method details:
Reimplemented from CEntity.
Reimplemented in CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, and CGUITabControl. Definition at line 94 of file XMLResource.cpp. References CEntity::PropertyChanging(). Referenced by CGUIElement::PropertyChanging(). |
|
Method details:
Reimplemented in CAnimation, CAnimationManager, CBitmapFont, CCustomFont, CFontManager, CFrameAnimation< TAnimation >, CGUIElement, CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, CGUIWindow, CMaterial, CMaterialManager, COpenGLMaterial, COpenGLTexture, CResourceManager, CTexture, CTextureFrameAnimation, CTextureManager, and CFrameAnimation< tRect >. Definition at line 88 of file XMLResource.cpp. Referenced by CCustomFont::SaveXML(). |
|
Method details:
References m_strFilename. |
|
Pointer to XML element holding data for this XML resource Definition at line 69 of file XMLResource.h. |
|
Filename of this resource (external) Definition at line 70 of file XMLResource.h. Referenced by GetFilename(), GetProperties(), LoadXML(), and SetFilename(). |