24#if !defined(ODA_ODMVDXMLENTITYRULE_H_INCLUDED_)
25#define ODA_ODMVDXMLENTITYRULE_H_INCLUDED_
48 const OdAnsiString&
getRuleID()
const {
return m_ruleID; };
54 const OdMvdXmlAttributeRulePtrArray&
getEntityRules()
const {
return m_rules; };
146 OdAnsiString m_entityName;
152 OdMvdXmlTemplateRefPtr m_pTemplateRef;
157 OdMvdXmlAttributeRulePtrArray m_rules;
#define SMARTPTR(classname)
#define ODRX_DECLARE_MEMBERS(ClassName)
virtual OdResult outChildNodes(TiXmlNode *pParent) override
const OdMvdXmlTemplateRefPtr getTemplateRef()
OdMvdXmlRule * getRuleByID(const char *ruleId)
void setEntityName(const OdAnsiString &value)
virtual OdResult inChildNode(const char *nodeName, TiXmlElement *pChild) override
virtual OdAnsiString getElementName()
virtual OdResult inAttributes(TiXmlElement *pItem) override
const OdString & getDescription() const
virtual OdResult doCheckInstance(const OdDAI::ApplicationInstance *pInstance, bool &result) override
const OdAnsiString & getRuleID() const
virtual OdResult outAttributes(TiXmlElement *pItem) override
const OdMvdXmlAttributeRulePtrArray & getEntityRules() const
OdMvdXmlEntityRule & operator=(const OdMvdXmlEntityRule &other)
void setTemplateRef(OdMvdXmlTemplateRefPtr value)
void assign(const OdMvdXmlEntityRule *other)
OdResult execute(const OdMvdXmlConceptTemplate *pTemplate, bool &result) const
OdMvdXmlAttributeRule * getAttributeRuleByID(const char *ruleId)
void setDescription(const OdString &value)
OdMvdXmlEntityRule * getEntityRuleByID(const char *ruleId)
virtual void doCleanInstance() override
const OdAnsiString & getEntityName() const
void setRuleID(const OdAnsiString &value)
GLsizei const GLfloat * value