GeometryGym.Ifc.IfcMaterialProfile.SetXML C# (CSharp) Méthode

SetXML() private méthode

private SetXML ( XmlElement xml, BaseClassIfc host, HashSet processed ) : void
xml XmlElement
host BaseClassIfc
processed HashSet
Résultat void
        internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
        {
            base.SetXML(xml, host, processed);
            setAttribute(xml, "Name", Name);
            setAttribute(xml, "Description", Description);
            if (mMaterial > 0)
                xml.AppendChild(Material.GetXML(xml.OwnerDocument, "Material", this, processed));
            if (mProfile > 0)
                xml.AppendChild(Profile.GetXML(xml.OwnerDocument, "Profile", this, processed));
            if (mPriority != int.MaxValue)
                setAttribute(xml, "Priority", mPriority.ToString());
            setAttribute(xml, "Category", Category);
        }
IfcMaterialProfile