internal static void parseFields(IfcRoof r, List<string> arrFields, ref int ipos) { IfcBuildingElement.parseFields(r, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') r.mPredefinedType = (IfcRoofTypeEnum)Enum.Parse(typeof(IfcRoofTypeEnum), str.Substring(1, str.Length - 2)); }
internal IfcRoof(IfcRoof r) : base(r) { mPredefinedType = r.mPredefinedType; }
internal static IfcRoof Parse(string strDef) { IfcRoof r = new IfcRoof(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos); return r; }
public Pset_ConcreteElementGeneral(IfcRoof instance) : base(instance.mDatabase, "Pset_ConcreteElementGeneral") { Description = instance.Name; DefinesOccurrence.Assign(instance); }