Inheritance: IfcFlowTerminal
        internal static void parseFields(IfcLamp s, List <string> arrFields, ref int ipos)
        {
            IfcFlowTerminal.parseFields(s, arrFields, ref ipos);
            string str = arrFields[ipos++];

            if (str[0] == '.')
            {
                s.mPredefinedType = (IfcLampTypeEnum)Enum.Parse(typeof(IfcLampTypeEnum), str.Substring(1, str.Length - 2));
            }
        }
 internal new static IfcLamp Parse(string strDef)
 {
     IfcLamp s = new IfcLamp(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return(s);
 }
 internal IfcLamp(DatabaseIfc db, IfcLamp l) : base(db, l)
 {
     mPredefinedType = l.mPredefinedType;
 }
Exemple #4
0
 internal IfcLamp(IfcLamp l) : base(l)
 {
     mPredefinedType = l.mPredefinedType;
 }
Exemple #5
0
 internal IfcLamp(DatabaseIfc db, IfcLamp l, DuplicateOptions options) : base(db, l, options)
 {
     mPredefinedType = l.mPredefinedType;
 }
Exemple #6
0
 internal IfcLamp(DatabaseIfc db, IfcLamp l, IfcOwnerHistory ownerHistory, bool downStream) : base(db, l, ownerHistory, downStream)
 {
     mPredefinedType = l.mPredefinedType;
 }
Exemple #7
0
 internal static void parseFields(IfcLamp s, List<string> arrFields, ref int ipos)
 {
     IfcFlowTerminal.parseFields(s, arrFields, ref ipos);
     string str = arrFields[ipos++];
     if (str[0] == '.')
         s.mPredefinedType = (IfcLampTypeEnum)Enum.Parse(typeof(IfcLampTypeEnum), str.Substring(1, str.Length - 2));
 }
Exemple #8
0
 internal static new IfcLamp Parse(string strDef)
 {
     IfcLamp s = new IfcLamp(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s;
 }
Exemple #9
0
 internal IfcLamp(DatabaseIfc db, IfcLamp l)
     : base(db, l)
 {
     mPredefinedType = l.mPredefinedType;
 }
Exemple #10
0
		internal IfcLamp(IfcLamp l) : base(l) { mPredefinedType = l.mPredefinedType; }