internal static void parseFields(IfcLamp s, List <string> arrFields, ref int ipos) { IfcFlowTerminal.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') { s.mPredefinedType = (IfcLampTypeEnum)Enum.Parse(typeof(IfcLampTypeEnum), str.Substring(1, str.Length - 2)); } }
internal new static IfcLamp Parse(string strDef) { IfcLamp s = new IfcLamp(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return(s); }
internal IfcLamp(DatabaseIfc db, IfcLamp l) : base(db, l) { mPredefinedType = l.mPredefinedType; }
internal IfcLamp(IfcLamp l) : base(l) { mPredefinedType = l.mPredefinedType; }
internal IfcLamp(DatabaseIfc db, IfcLamp l, DuplicateOptions options) : base(db, l, options) { mPredefinedType = l.mPredefinedType; }
internal IfcLamp(DatabaseIfc db, IfcLamp l, IfcOwnerHistory ownerHistory, bool downStream) : base(db, l, ownerHistory, downStream) { mPredefinedType = l.mPredefinedType; }
internal static void parseFields(IfcLamp s, List<string> arrFields, ref int ipos) { IfcFlowTerminal.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') s.mPredefinedType = (IfcLampTypeEnum)Enum.Parse(typeof(IfcLampTypeEnum), str.Substring(1, str.Length - 2)); }
internal static new IfcLamp Parse(string strDef) { IfcLamp s = new IfcLamp(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }