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