Inheritance: BaseClassIfc, IfcActorSelect, IfcResourceObjectSelect
Example #1
0
		internal IfcPersonAndOrganization(DatabaseIfc m) : base(m) { mThePerson = new IfcPerson(m).mIndex; mTheOrganization = new IfcOrganization(m).mIndex; }
Example #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++]);
		}
Example #3
0
		internal static IfcPerson Parse(string strDef) { IfcPerson p = new IfcPerson(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
Example #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;
		}