상속: BaseClassIfc, IfcResourceObjectSelect
예제 #1
0
파일: ifc A.cs 프로젝트: jenca-cloud/ggIFC
		internal static void parseFields(IfcActorRole a,List<string> arrFields, ref int ipos)
		{ 
			string str = arrFields[ipos++];
			if (str != "$")
				a.mRole = (string.Compare(str, "COMISSIONINGENGINEER", true) == 0 ? IfcRoleEnum.COMMISSIONINGENGINEER : (IfcRoleEnum)Enum.Parse(typeof(IfcRoleEnum), str.Replace(".", "")));
			a.mUserDefinedRole = arrFields[ipos++].Replace("'","");
			a.mDescription = arrFields[ipos++].Replace("'",""); 
		}
예제 #2
0
파일: IFC R.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcRelAssignsToActor(IfcActor relActor, List<IfcObjectDefinition> relObjects, IfcActorRole r) : base(relObjects) { mRelatingActor = relActor.mIndex; if (r != null) mActingRole = r.mIndex; }
예제 #3
0
파일: IFC R.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcRelAssignsToActor(IfcActor relActor, IfcActorRole r) : base(relActor.mDatabase) { mRelatingActor = relActor.mIndex; if (r != null) mActingRole = r.mIndex; }
예제 #4
0
파일: ifc A.cs 프로젝트: jenca-cloud/ggIFC
		internal static IfcActorRole Parse(string strDef) { IfcActorRole a = new IfcActorRole(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
예제 #5
0
파일: ifc A.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcActorRole(IfcActorRole o) : base() { mRole = o.mRole; mDescription = o.mDescription; mUserDefinedRole = o.mUserDefinedRole; }
예제 #6
0
		internal IfcActorRole(DatabaseIfc db, IfcActorRole r) : base(db,r) { mRole = r.mRole; mDescription = r.mDescription; mUserDefinedRole = r.mUserDefinedRole; }