Inheritance: IfcTypeProduct
Exemplo n.º 1
0
        internal static void parseFields(IfcWindowStyle s, List <string> arrFields, ref int ipos)
        {
            IfcTypeProduct.parseFields(s, arrFields, ref ipos);
            string str = arrFields[ipos++];

            if (str != "$")
            {
                s.mConstructionType = (IfcWindowStyleConstructionEnum)Enum.Parse(typeof(IfcWindowStyleConstructionEnum), str.Replace(".", ""));
            }
            str = arrFields[ipos++];
            if (str != "$")
            {
                s.mOperationType = (IfcWindowStyleOperationEnum)Enum.Parse(typeof(IfcWindowStyleOperationEnum), str.Replace(".", ""));
            }
            s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]);
            s.mSizeable = ParserSTEP.ParseBool(arrFields[ipos++]);
        }
Exemplo n.º 2
0
 internal new static IfcWindowStyle Parse(string strDef)
 {
     IfcWindowStyle s = new IfcWindowStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return(s);
 }
Exemplo n.º 3
0
 internal static void parseFields(IfcWindowStyle s, List<string> arrFields, ref int ipos)
 {
     IfcTypeProduct.parseFields(s, arrFields, ref ipos);
     string str = arrFields[ipos++];
     if (str != "$")
         s.mConstructionType = (IfcWindowStyleConstructionEnum)Enum.Parse(typeof(IfcWindowStyleConstructionEnum), str.Replace(".", ""));
     str = arrFields[ipos++];
     if (str != "$")
         s.mOperationType = (IfcWindowStyleOperationEnum)Enum.Parse(typeof(IfcWindowStyleOperationEnum), str.Replace(".", ""));
     s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]);
     s.mSizeable = ParserSTEP.ParseBool(arrFields[ipos++]);
 }
Exemplo n.º 4
0
 internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s) : base(db, s)
 {
     mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable;
 }
Exemplo n.º 5
0
 internal static new IfcWindowStyle Parse(string strDef)
 {
     IfcWindowStyle s = new IfcWindowStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s;
 }
Exemplo n.º 6
0
 internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s)
     : base(db,s)
 {
     mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable;
 }
Exemplo n.º 7
0
 internal IfcWindowStyle(IfcWindowStyle el) : base(el)
 {
     mConstructionType = el.mConstructionType; mOperationType = el.mOperationType; mParameterTakesPrecedence = el.mParameterTakesPrecedence; mSizeable = el.mSizeable;
 }
Exemplo n.º 8
0
 internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s, IfcOwnerHistory ownerHistory, bool downStream) : base(db, s, ownerHistory, downStream)
 {
     mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable;
 }
Exemplo n.º 9
-1
		internal IfcWindowStyle(IfcWindowStyle el) : base(el) { mConstructionType = el.mConstructionType; mOperationType = el.mOperationType; mParameterTakesPrecedence = el.mParameterTakesPrecedence; mSizeable = el.mSizeable; }