#pragma once #include #include #include "element.h" #include using namespace std; using namespace OTSDATA; class ZeroElementRule :public xmls::ISlo { public: virtual void Serialize(bool isStoring, tinyxml2::XMLDocument* classDoc, tinyxml2::XMLElement* rootNode) override; CElementsList GetUsingElementList() const { return m_UsingelementList; } void SetUsingElementList(CElementsList val) { m_UsingelementList = val; } std::vector GetImgPropertyList() const { return m_ImgPropertyList; } void SetImgPropertyList(std::vector val) { m_ImgPropertyList = val; } std::vector GetOtherpropertyList() const { return m_OtherpropertyList; } void SetOtherpropertyList(std::vector val) { m_OtherpropertyList = val; } std::vector GetUsingConstants() const { return m_usingConstants; } void SetUsingConstants(std::vector val) { m_usingConstants = val; } std::string GetExpressionStr() const { return m_expressionStr; } void SetExpressionStr(std::string val) { m_expressionStr = val; } std::string GetZeroElementName() const { return m_ZeroElementName; } void SetZeroElementName(std::string val) { m_ZeroElementName = val; } private: CElementsList m_UsingelementList; std::vector m_ImgPropertyList; std::vector m_OtherpropertyList; std::vector m_usingConstants; std::string m_expressionStr; std::string m_ZeroElementName; }; typedef std::shared_ptr ZeroElementRulePtr; typedef std::vector ZeroElementRuleList;