internal IfcLibraryInformation(DatabaseIfc db, IfcLibraryInformation i) : base(db, i) { mName = i.mName; mVersion = i.mVersion; if (i.mPublisher > 0) { Publisher = db.Factory.Duplicate(i.mDatabase[i.mPublisher]) as IfcActorSelect; } mVersionDate = i.mVersionDate; mLocation = i.mLocation; mDescription = i.mDescription; }
internal IfcLibraryInformation(DatabaseIfc db, IfcLibraryInformation i) : base(db, i) { mName = i.mName; mVersion = i.mVersion; if (i.mPublisher != null) { Publisher = db.Factory.Duplicate(i.mPublisher); } mVersionDate = i.mVersionDate; mLocation = i.mLocation; mDescription = i.mDescription; }
internal static void parseFields(IfcLibraryInformation f, List <string> arrFields, ref int ipos, ReleaseVersion schema) { IfcExternalInformation.parseFields(f, arrFields, ref ipos); f.mName = arrFields[ipos++].Replace("'", ""); f.mVersion = arrFields[ipos++].Replace("'", ""); f.mPublisher = ParserSTEP.ParseLink(arrFields[ipos++]); if (schema == ReleaseVersion.IFC2x3) { ipos++; string str = arrFields[ipos++]; f.mLibraryReference = ParserSTEP.SplitListLinks(str.Substring(1, str.Length - 2)); } else { f.mVersionDate = arrFields[ipos++].Replace("'", ""); f.mLocation = arrFields[ipos++]; f.mDescription = arrFields[ipos++]; } }
public IfcLibraryReference(IfcLibraryInformation referenced) : base(referenced.mDatabase) { ReferencedLibrary = referenced; }
internal IfcLibraryReference(DatabaseIfc db, IfcLibraryReference r) : base(db, r) { mDescription = r.mDescription; mLanguage = r.mLanguage; ReferencedLibrary = db.Factory.Duplicate(r.ReferencedLibrary) as IfcLibraryInformation; }
internal static IfcLibraryInformation Parse(string strDef, ReleaseVersion schema) { IfcLibraryInformation f = new IfcLibraryInformation(); int ipos = 0; parseFields(f, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return(f); }
internal static void parseFields(IfcLibraryInformation f, List <string> arrFields, ref int ipos) { IfcExternalInformation.parseFields(f, arrFields, ref ipos); }
internal IfcLibraryInformation(IfcLibraryInformation i) : base(i) { mName = i.mName; mVersion = i.mVersion; mPublisher = i.mPublisher; mVersionDate = i.mVersionDate; mLocation = i.mLocation; mDescription = i.mDescription; }
internal static void parseFields(IfcLibraryInformation f, List<string> arrFields, ref int ipos, ReleaseVersion schema) { IfcExternalInformation.parseFields(f, arrFields, ref ipos); f.mName = arrFields[ipos++].Replace("'", ""); f.mVersion = arrFields[ipos++].Replace("'", ""); f.mPublisher = ParserSTEP.ParseLink(arrFields[ipos++]); if (schema == ReleaseVersion.IFC2x3) { ipos++; string str = arrFields[ipos++]; f.mLibraryReference = ParserSTEP.SplitListLinks(str.Substring(1,str.Length-2)); } else { f.mVersionDate = arrFields[ipos++].Replace("'", ""); f.mLocation = arrFields[ipos++]; f.mDescription = arrFields[ipos++]; } }
internal static IfcLibraryInformation Parse(string strDef, ReleaseVersion schema) { IfcLibraryInformation f = new IfcLibraryInformation(); int ipos = 0; parseFields(f, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return f; }
internal IfcLibraryInformation(DatabaseIfc db, IfcLibraryInformation i) : base(db,i) { mName = i.mName; mVersion = i.mVersion; if(i.mPublisher > 0) Publisher = db.Factory.Duplicate(i.mDatabase[ i.mPublisher]) as IfcActorSelect; mVersionDate = i.mVersionDate; mLocation = i.mLocation; mDescription = i.mDescription; }
internal static void parseFields(IfcLibraryInformation f, List<string> arrFields, ref int ipos) { IfcExternalInformation.parseFields(f, arrFields, ref ipos); }