用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
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.
|
|
|
|
#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
|
|
|
|
|
|