Inheritance: IfcExternalInformation
Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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++];
     }
 }
Exemplo n.º 4
0
 public IfcLibraryReference(IfcLibraryInformation referenced) : base(referenced.mDatabase)
 {
     ReferencedLibrary = referenced;
 }
Exemplo n.º 5
0
 internal IfcLibraryReference(DatabaseIfc db, IfcLibraryReference r) : base(db, r)
 {
     mDescription = r.mDescription; mLanguage = r.mLanguage; ReferencedLibrary = db.Factory.Duplicate(r.ReferencedLibrary) as IfcLibraryInformation;
 }
Exemplo n.º 6
0
 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);
 }
Exemplo n.º 7
0
 internal static void parseFields(IfcLibraryInformation f, List <string> arrFields, ref int ipos)
 {
     IfcExternalInformation.parseFields(f, arrFields, ref ipos);
 }
Exemplo n.º 8
0
 internal IfcLibraryInformation(IfcLibraryInformation i) : base(i)
 {
     mName = i.mName; mVersion = i.mVersion; mPublisher = i.mPublisher; mVersionDate = i.mVersionDate; mLocation = i.mLocation; mDescription = i.mDescription;
 }
Exemplo n.º 9
0
 public IfcLibraryReference(IfcLibraryInformation referenced)
     : base(referenced.mDatabase)
 {
     ReferencedLibrary = referenced;
 }
Exemplo n.º 10
0
 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++];
     }
 }
Exemplo n.º 11
0
 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;
 }
Exemplo n.º 12
0
 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;
 }
Exemplo n.º 13
0
		internal static void parseFields(IfcLibraryInformation f, List<string> arrFields, ref int ipos) { IfcExternalInformation.parseFields(f, arrFields, ref ipos); }
Exemplo n.º 14
0
		internal IfcLibraryInformation(IfcLibraryInformation i) : base(i) { mName = i.mName; mVersion = i.mVersion; mPublisher = i.mPublisher; mVersionDate = i.mVersionDate; mLocation = i.mLocation; mDescription = i.mDescription; }