You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
561 B
31 lines
561 B
#pragma once
|
|
|
|
#include "core/SSingletonMap.h"
|
|
|
|
|
|
namespace SOUI
|
|
{
|
|
|
|
class SOUI_EXP SObjDefAttr :public SCmnMap<pugi::xml_node,SStringW>, public TObjRefImpl2<IObjRef, SObjDefAttr>
|
|
{
|
|
public:
|
|
SObjDefAttr()
|
|
{
|
|
}
|
|
virtual ~SObjDefAttr()
|
|
{
|
|
}
|
|
|
|
BOOL Init(pugi::xml_node xmlNode);
|
|
|
|
bool IsEmpty(){return !!m_xmlRoot.root();}
|
|
|
|
pugi::xml_node GetDefAttribute(LPCWSTR pszClassName);
|
|
protected:
|
|
void BuildClassAttribute(pugi::xml_node & xmlNode, LPCWSTR pszClassName);
|
|
|
|
pugi::xml_document m_xmlRoot;
|
|
};
|
|
|
|
}//namespace SOUI
|
|
|
|
|