Inheritance: BaseClassIfc
Esempio n. 1
0
 internal static void parseFields(IfcLocalTime s, List <string> arrFields, ref int ipos)
 {
     s.mHourComponent        = int.Parse(arrFields[ipos++]);
     s.mMinuteComponent      = ParserSTEP.ParseInt(arrFields[ipos++]);
     s.mSecondComponent      = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mZone                 = ParserSTEP.ParseLink(arrFields[ipos++]);
     s.mDaylightSavingOffset = int.Parse(arrFields[ipos++]);
 }
Esempio n. 2
0
 internal IfcLocalTime(DatabaseIfc db, IfcLocalTime t) : base(db, t)
 {
     mHourComponent        = t.mHourComponent;
     mMinuteComponent      = t.mMinuteComponent;
     mSecondComponent      = t.mSecondComponent;
     mZone                 = t.mZone;
     mDaylightSavingOffset = t.mDaylightSavingOffset;
 }
Esempio n. 3
0
 internal static IfcLocalTime Parse(string strDef)
 {
     IfcLocalTime t = new IfcLocalTime(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return(t);
 }
Esempio n. 4
0
		internal IfcDateAndTime(IfcCalendarDate d, IfcLocalTime t) : base(d.mDatabase) { mDateComponent = d.mIndex; mTimeComponent = t.mIndex; }
Esempio n. 5
0
 internal static void parseFields(IfcLocalTime s, List<string> arrFields, ref int ipos)
 {
     s.mHourComponent = int.Parse(arrFields[ipos++]);
     s.mMinuteComponent = ParserSTEP.ParseInt(arrFields[ipos++]);
     s.mSecondComponent = ParserSTEP.ParseDouble(arrFields[ipos++]);
     s.mZone = ParserSTEP.ParseLink(arrFields[ipos++]);
     s.mDaylightSavingOffset = int.Parse(arrFields[ipos++]);
 }
Esempio n. 6
0
 internal static IfcLocalTime Parse(string strDef)
 {
     IfcLocalTime t = new IfcLocalTime(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return t;
 }
Esempio n. 7
0
 internal IfcLocalTime(DatabaseIfc db, IfcLocalTime t)
     : base(db,t)
 {
     mHourComponent = t.mHourComponent;
     mMinuteComponent = t.mMinuteComponent;
     mSecondComponent = t.mSecondComponent;
     mZone = t.mZone;
     mDaylightSavingOffset = t.mDaylightSavingOffset;
 }