} // inverse /// <summary> /// Construct a IfcStructuralResultGroup with all required attributes. /// </summary> public IfcStructuralResultGroup(IfcGloballyUniqueId globalId, IfcAnalysisTheoryTypeEnum theoryType, IfcBoolean isLinear) : base(globalId) { ResultGroupFor = new List <IfcStructuralAnalysisModel>(); TheoryType = theoryType; IsLinear = isLinear; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: base.Parse(propIndex, value, nestedIndex); return; case 5: _theoryType = (IfcAnalysisTheoryTypeEnum)System.Enum.Parse(typeof(IfcAnalysisTheoryTypeEnum), value.EnumVal, true); return; case 6: _resultForLoadGroup = (IfcStructuralLoadGroup)(value.EntityVal); return; case 7: _isLinear = value.BooleanVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcStructuralResultGroup(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcAnalysisTheoryTypeEnum __TheoryType, IfcStructuralLoadGroup __ResultForLoadGroup, Boolean __IsLinear) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType) { this._TheoryType = __TheoryType; this._ResultForLoadGroup = __ResultForLoadGroup; this._IsLinear = __IsLinear; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: base.IfcParse(propIndex, value); break; case 5: _theoryType = (IfcAnalysisTheoryTypeEnum) Enum.Parse(typeof(IfcAnalysisTheoryTypeEnum), value.EnumVal, true); break; case 6: _resultForLoadGroup = (IfcStructuralLoadGroup)value.EntityVal; break; case 7: _isLinear = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcStructuralResultGroup(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcAnalysisTheoryTypeEnum theoryType, IfcStructuralLoadGroup resultForLoadGroup, IfcBoolean isLinear) : base(globalId, ownerHistory, name, description, objectType) { ResultGroupFor = new List <IfcStructuralAnalysisModel>(); TheoryType = theoryType; ResultForLoadGroup = resultForLoadGroup; IsLinear = isLinear; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: base.IfcParse(propIndex, value); break; case 5: _theoryType = (IfcAnalysisTheoryTypeEnum) Enum.Parse(typeof (IfcAnalysisTheoryTypeEnum), value.EnumVal, true); break; case 6: _resultForLoadGroup = (IfcStructuralLoadGroup) value.EntityVal; break; case 7: _isLinear = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
internal IfcStructuralResultGroup(IfcStructuralResultGroup p) : base(p) { mTheoryType = p.mTheoryType; mResultForLoadGroup = p.mResultForLoadGroup; mIsLinear = p.mIsLinear; }