public IfcClassificationReference(IfcURIReference?__Location, IfcIdentifier?__Identification, IfcLabel?__Name, IfcClassificationReferenceSelect __ReferencedSource, IfcText?__Description, IfcIdentifier?__Sort) : base(__Location, __Identification, __Name) { this._ReferencedSource = __ReferencedSource; this._Description = __Description; this._Sort = __Sort; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: base.Parse(propIndex, value, nestedIndex); return; case 3: _referencedSource = (IfcClassificationReferenceSelect)(value.EntityVal); return; case 4: _description = value.StringVal; return; case 5: _sort = value.StringVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcClassificationReference(IfcURIReference?__Location, IfcIdentifier?__Identification, IfcLabel?__Name, IfcClassificationReferenceSelect __ReferencedSource, IfcText?__Description, IfcIdentifier?__Sort) : base(__Location, __Identification, __Name) { this.ReferencedSource = __ReferencedSource; this.Description = __Description; this.Sort = __Sort; this.ClassificationRefForObjects = new HashSet <IfcRelAssociatesClassification>(); this.HasReferences = new HashSet <IfcClassificationReference>(); }