public IfcObjective(IfcLabel name, IfcText description, IfcConstraintEnum constraintGrade, IfcLabel constraintSource, IfcActorSelect creatingActor, IfcDateTime creationTime, IfcLabel userDefinedGrade, List <IfcConstraint> benchmarkValues, IfcLogicalOperatorEnum logicalAggregator, IfcObjectiveEnum objectiveQualifier, IfcLabel userDefinedQualifier) : base(name, description, constraintGrade, constraintSource, creatingActor, creationTime, userDefinedGrade) { BenchmarkValues = benchmarkValues; LogicalAggregator = logicalAggregator; ObjectiveQualifier = objectiveQualifier; UserDefinedQualifier = userDefinedQualifier; }
public IfcMetric(IfcLabel name, IfcText description, IfcConstraintEnum constraintGrade, IfcLabel constraintSource, IfcActorSelect creatingActor, IfcDateTime creationTime, IfcLabel userDefinedGrade, IfcBenchmarkEnum benchmark, IfcLabel valueSource, IfcMetricValueSelect dataValue, IfcReference referencePath) : base(name, description, constraintGrade, constraintSource, creatingActor, creationTime, userDefinedGrade) { Benchmark = benchmark; ValueSource = valueSource; DataValue = dataValue; ReferencePath = referencePath; }
public IfcMetric(IfcLabel __Name, IfcText?__Description, IfcConstraintEnum __ConstraintGrade, IfcLabel?__ConstraintSource, IfcActorSelect __CreatingActor, IfcDateTimeSelect __CreationTime, IfcLabel?__UserDefinedGrade, IfcBenchmarkEnum __Benchmark, IfcLabel?__ValueSource, IfcMetricValueSelect __DataValue) : base(__Name, __Description, __ConstraintGrade, __ConstraintSource, __CreatingActor, __CreationTime, __UserDefinedGrade) { this._Benchmark = __Benchmark; this._ValueSource = __ValueSource; this._DataValue = __DataValue; }
} // inverse /// <summary> /// Construct a IfcConstraint with all required attributes. /// </summary> public IfcConstraint(IfcLabel name, IfcConstraintEnum constraintGrade) : base() { HasExternalReferences = new List <IfcExternalReferenceRelationship>(); PropertiesForConstraint = new List <IfcResourceConstraintRelationship>(); Name = name; ConstraintGrade = constraintGrade; }
public IfcObjective(IfcLabel __Name, IfcText?__Description, IfcConstraintEnum __ConstraintGrade, IfcLabel?__ConstraintSource, IfcActorSelect __CreatingActor, IfcDateTimeSelect __CreationTime, IfcLabel?__UserDefinedGrade, IfcMetric __BenchmarkValues, IfcMetric __ResultValues, IfcObjectiveEnum __ObjectiveQualifier, IfcLabel?__UserDefinedQualifier) : base(__Name, __Description, __ConstraintGrade, __ConstraintSource, __CreatingActor, __CreationTime, __UserDefinedGrade) { this._BenchmarkValues = __BenchmarkValues; this._ResultValues = __ResultValues; this._ObjectiveQualifier = __ObjectiveQualifier; this._UserDefinedQualifier = __UserDefinedQualifier; }
public IfcObjective(IfcLabel __Name, IfcText?__Description, IfcConstraintEnum __ConstraintGrade, IfcLabel?__ConstraintSource, IfcActorSelect __CreatingActor, IfcDateTime?__CreationTime, IfcLabel?__UserDefinedGrade, IfcConstraint[] __BenchmarkValues, IfcLogicalOperatorEnum?__LogicalAggregator, IfcObjectiveEnum __ObjectiveQualifier, IfcLabel?__UserDefinedQualifier) : base(__Name, __Description, __ConstraintGrade, __ConstraintSource, __CreatingActor, __CreationTime, __UserDefinedGrade) { this._BenchmarkValues = new List <IfcConstraint>(__BenchmarkValues); this._LogicalAggregator = __LogicalAggregator; this._ObjectiveQualifier = __ObjectiveQualifier; this._UserDefinedQualifier = __UserDefinedQualifier; }
public IfcConstraint(IfcLabel __Name, IfcText?__Description, IfcConstraintEnum __ConstraintGrade, IfcLabel?__ConstraintSource, IfcActorSelect __CreatingActor, IfcDateTime?__CreationTime, IfcLabel?__UserDefinedGrade) { this._Name = __Name; this._Description = __Description; this._ConstraintGrade = __ConstraintGrade; this._ConstraintSource = __ConstraintSource; this._CreatingActor = __CreatingActor; this._CreationTime = __CreationTime; this._UserDefinedGrade = __UserDefinedGrade; }
protected IfcConstraint(IfcLabel __Name, IfcText?__Description, IfcConstraintEnum __ConstraintGrade, IfcLabel?__ConstraintSource, IfcActorSelect __CreatingActor, IfcDateTime?__CreationTime, IfcLabel?__UserDefinedGrade) { this.Name = __Name; this.Description = __Description; this.ConstraintGrade = __ConstraintGrade; this.ConstraintSource = __ConstraintSource; this.CreatingActor = __CreatingActor; this.CreationTime = __CreationTime; this.UserDefinedGrade = __UserDefinedGrade; this.HasExternalReferences = new HashSet <IfcExternalReferenceRelationship>(); this.PropertiesForConstraint = new HashSet <IfcResourceConstraintRelationship>(); }
public IfcConstraint(IfcLabel name, IfcText description, IfcConstraintEnum constraintGrade, IfcLabel constraintSource, IfcActorSelect creatingActor, IfcDateTime creationTime, IfcLabel userDefinedGrade) : base() { HasExternalReferences = new List <IfcExternalReferenceRelationship>(); PropertiesForConstraint = new List <IfcResourceConstraintRelationship>(); Name = name; Description = description; ConstraintGrade = constraintGrade; ConstraintSource = constraintSource; CreatingActor = creatingActor; CreationTime = creationTime; UserDefinedGrade = userDefinedGrade; }
public IfcObjective(DatabaseIfc db, string name, IfcConstraintEnum constraint, List <IfcConstraint> benchmarks, IfcObjectiveEnum qualifier, string userQualifier) : base(db, name, constraint) { if (benchmarks != null && benchmarks.Count > 0) { mBenchmarkValues = benchmarks.ConvertAll(x => x.mIndex); } mObjectiveQualifier = qualifier; if (!string.IsNullOrEmpty(userQualifier)) { mUserDefinedQualifier = userQualifier.Replace("'", ""); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _name = value.StringVal; return; case 1: _description = value.StringVal; return; case 2: _constraintGrade = (IfcConstraintEnum)System.Enum.Parse(typeof(IfcConstraintEnum), value.EnumVal, true); return; case 3: _constraintSource = value.StringVal; return; case 4: _creatingActor = (IfcActorSelect)(value.EntityVal); return; case 5: _creationTime = value.StringVal; return; case 6: _userDefinedGrade = value.StringVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _name = value.StringVal; break; case 1: _description = value.StringVal; break; case 2: _constraintGrade = (IfcConstraintEnum)Enum.Parse(typeof(IfcConstraintEnum), value.EnumVal); break; case 3: _constraintSource = value.StringVal; break; case 4: _creatingActor = (IfcActorSelect)value.EntityVal; break; case 5: _creationTime = (IfcDateTimeSelect)value.EntityVal; break; case 6: _userDefinedGrade = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _name = value.StringVal; break; case 1: _description = value.StringVal; break; case 2: _constraintGrade = (IfcConstraintEnum) Enum.Parse(typeof (IfcConstraintEnum), value.EnumVal); break; case 3: _constraintSource = value.StringVal; break; case 4: _creatingActor = (IfcActorSelect) value.EntityVal; break; case 5: _creationTime = (IfcDateTimeSelect) value.EntityVal; break; case 6: _userDefinedGrade = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcObjective(DatabaseIfc db, string name, IfcConstraintEnum constraint, IfcObjectiveEnum qualifier) : base(db, name, constraint) { mObjectiveQualifier = qualifier; }
public IfcObjective(IfcConstraint benchmark, string name, IfcConstraintEnum constraint, IfcObjectiveEnum qualifier) : base(benchmark.mDatabase, name, constraint) { AddBenchmark(benchmark); mObjectiveQualifier = qualifier; }
} // optional /// <summary> /// Construct a IfcObjective with all required attributes. /// </summary> public IfcObjective(IfcLabel name, IfcConstraintEnum constraintGrade, IfcObjectiveEnum objectiveQualifier) : base(name, constraintGrade) { BenchmarkValues = new List <IfcConstraint>(); ObjectiveQualifier = objectiveQualifier; }
public IfcObjective(DatabaseIfc db, string name, IfcConstraintEnum constraint, List<IfcConstraint> benchmarks, IfcObjectiveEnum qualifier, string userQualifier) : base(db, name, constraint) { if (benchmarks != null && benchmarks.Count > 0) mBenchmarkValues = benchmarks.ConvertAll(x => x.mIndex); mObjectiveQualifier = qualifier; if (!string.IsNullOrEmpty(userQualifier)) mUserDefinedQualifier = userQualifier.Replace("'", ""); }
} // optional /// <summary> /// Construct a IfcMetric with all required attributes. /// </summary> public IfcMetric(IfcLabel name, IfcConstraintEnum constraintGrade, IfcBenchmarkEnum benchmark) : base(name, constraintGrade) { Benchmark = benchmark; }
public IfcMetric(DatabaseIfc db, string name, IfcConstraintEnum constraint, IfcValue dataValue) : base(db, name, constraint) { mDataValueValue = dataValue; }
protected IfcConstraint(DatabaseIfc db, string name, IfcConstraintEnum constraint) : base(db) { Name = name; mConstraintGrade = constraint; }
protected IfcConstraint(IfcConstraint c) : base() { mName = c.mName; mDescription = c.mDescription; mConstraintGrade = c.mConstraintGrade; mConstraintSource = c.mConstraintSource; mCreatingActor = c.mCreatingActor; mCreationTime = c.mCreationTime; mSSCreationTime = c.mSSCreationTime; mUserDefinedGrade = c.mUserDefinedGrade; }