Inheritance: BaseClassIfc, IfcActorSelect, IfcResourceObjectSelect
Beispiel #1
0
		internal IfcPersonAndOrganization(DatabaseIfc m) : base(m) { mThePerson = new IfcPerson(m).mIndex; mTheOrganization = new IfcOrganization(m).mIndex; }
Beispiel #2
0
		internal static void parseFields(IfcPerson p, List<string> arrFields, ref int ipos)
		{
			p.mIdentification = arrFields[ipos++].Replace("'", "");
			p.mFamilyName = arrFields[ipos++].Replace("'", "");
			p.mGivenName = arrFields[ipos++].Replace("'", "");
			p.mMiddleNames = ParserSTEP.SplitListStrings(arrFields[ipos++]).ConvertAll(x => x.Replace("'", ""));
			p.mPrefixTitles = ParserSTEP.SplitListStrings(arrFields[ipos++]).ConvertAll(x => x.Replace("'", ""));
			p.mSuffixTitles = ParserSTEP.SplitListStrings(arrFields[ipos++]).ConvertAll(x => x.Replace("'", ""));
			p.mRoles = ParserSTEP.SplitListLinks(arrFields[ipos++]);
			p.mAddresses = ParserSTEP.SplitListLinks(arrFields[ipos++]);
		}
Beispiel #3
0
		internal static IfcPerson Parse(string strDef) { IfcPerson p = new IfcPerson(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
Beispiel #4
0
		internal IfcPerson(IfcPerson i)
			: base()
		{
			mIdentification = i.mIdentification;
			mFamilyName = i.mFamilyName;
			mGivenName = i.mGivenName;
			mMiddleNames = i.mMiddleNames;
			mPrefixTitles = i.mPrefixTitles;
			mSuffixTitles = i.mSuffixTitles;
			mRoles = i.mRoles;
			mAddresses = i.mAddresses;
		}