Esempio n. 1
0
		internal static IfcSubContractResource Parse(string strDef, Schema schema) { IfcSubContractResource r = new IfcSubContractResource(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return r; }
Esempio n. 2
0
		internal static void parseFields(IfcSubContractResource r, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcConstructionResource.parseFields(r, arrFields, ref ipos,schema);
			if (schema != Schema.IFC2x3)
			{
				string str = arrFields[ipos++];
				if (str[0] == '.')
					r.mPredefinedType = (IfcSubContractResourceTypeEnum)Enum.Parse(typeof(IfcSubContractResourceTypeEnum), str.Substring(1, str.Length - 2));
			}
		}
Esempio n. 3
0
		internal IfcSubContractResource(IfcSubContractResource o) : base(o) { mPredefinedType = o.mPredefinedType; }