2#include "res.mgr/SObjDefAttr.h"
13 m_xmlRoot.root().RemoveAllChilden();
15 m_xmlRoot.root().append_copy(xmlNode);
27 SMap<SStringW, SXmlNode>::CPair *p =
m_mapNamedObj->GetNext(pos);
40 if (
HasKey(baseClassInfo.szName))
56 SASSERT(pszClassName);
SOUI_EXP BOOL ObjInfo_IsValid(const SObjectInfo *pObjInfo)
Checks if the object information is valid.
SNSBEGIN SOUI_EXP SObjectInfo ObjInfo_New(LPCWSTR name, int type, LPCWSTR alise=NULL)
Creates a new object information structure.
bool GetKeyObject(const SStringW &key, SXmlNode &obj) const
SMap< SStringW, SXmlNode > * m_mapNamedObj
bool AddKeyObject(const SStringW &key, const SXmlNode &obj)
bool HasKey(const SStringW &key) const
void BuildClassAttribute(SXmlNode &xmlNode, LPCWSTR pszClassName)
Builds the class attributes from an XML node.
BOOL Init(SXmlNode xmlNode)
Initializes the default attributes from an XML node.
SXmlNode GetDefAttribute(LPCWSTR pszClassName)
Retrieves the default attributes for a specific class.
SObjectInfo BaseObjectInfoFromObjectInfo(const SObjectInfo &objInfo)
Gets the base object information from a given object information.
static SApplication & getSingleton(void)
Class representing an XML attribute.
bool set_value(const wchar_t *rhs)
Sets the attribute value.
Class representing an XML node.
SXmlNode next_sibling() const
Gets the next sibling node in the children list of the parent node.
SXmlAttr first_attribute() const
Gets the first attribute of the node.
SXmlNode first_child() const
Gets the first child node of the node.
const wchar_t * name() const
Gets the name of the node.
SXmlAttr attribute(const wchar_t *name, bool bCaseSensitive=false) const
Gets the attribute with the specified name.
SXmlAttr append_attribute(const wchar_t *name)
Adds an attribute with the specified name.
SXmlNode root() const
Gets the root node of the DOM tree this node belongs to.
SXmlNode child(const wchar_t *name, bool bCaseSensitive=false) const
Gets the child node, attribute, or next/previous sibling with the specified name.
Bitfield structure for font style attributes.