public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: base.Parse(propIndex, value, nestedIndex); return; case 4: _mapProjection = value.StringVal; return; case 5: _mapZone = value.StringVal; return; case 6: _mapUnit = (IfcNamedUnit)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcTypeResource(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcIdentifier?__Identification, IfcText?__LongDescription, IfcLabel?__ResourceType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets) { this._Identification = __Identification; this._LongDescription = __LongDescription; this._ResourceType = __ResourceType; }
public IfcLibraryReference(IfcURIReference?__Location, IfcIdentifier?__Identification, IfcLabel?__Name, IfcText?__Description, IfcLanguageId?__Language, IfcLibraryInformation __ReferencedLibrary) : base(__Location, __Identification, __Name) { this.Description = __Description; this.Language = __Language; this.ReferencedLibrary = __ReferencedLibrary; this.LibraryRefForObjects = new HashSet <IfcRelAssociatesLibrary>(); }
public IfcSurfaceTexture(IfcBoolean __RepeatS, IfcBoolean __RepeatT, IfcIdentifier?__Mode, IfcCartesianTransformationOperator2D __TextureTransform, IfcIdentifier[] __Parameter) { this._RepeatS = __RepeatS; this._RepeatT = __RepeatT; this._Mode = __Mode; this._TextureTransform = __TextureTransform; this._Parameter = new List <IfcIdentifier>(__Parameter); }
public IfcPixelTexture(IfcBoolean __RepeatS, IfcBoolean __RepeatT, IfcIdentifier?__Mode, IfcCartesianTransformationOperator2D __TextureTransform, IfcIdentifier[] __Parameter, IfcInteger __Width, IfcInteger __Height, IfcInteger __ColourComponents, IfcBinary[] __Pixel) : base(__RepeatS, __RepeatT, __Mode, __TextureTransform, __Parameter) { this._Width = __Width; this._Height = __Height; this._ColourComponents = __ColourComponents; this._Pixel = new List <IfcBinary>(__Pixel); }
public IfcOrganization(IfcIdentifier?__Identification, IfcLabel __Name, IfcText?__Description, IfcActorRole[] __Roles, IfcAddress[] __Addresses) { this._Identification = __Identification; this._Name = __Name; this._Description = __Description; this._Roles = new List <IfcActorRole>(__Roles); this._Addresses = new List <IfcAddress>(__Addresses); }
public IfcReference(IfcIdentifier?__TypeIdentifier, IfcIdentifier?__AttributeIdentifier, IfcLabel?__InstanceName, IfcInteger[] __ListPositions, IfcReference __InnerReference) { this.TypeIdentifier = __TypeIdentifier; this.AttributeIdentifier = __AttributeIdentifier; this.InstanceName = __InstanceName; this.ListPositions = new List <IfcInteger>(__ListPositions); this.InnerReference = __InnerReference; }
public IfcTableColumn(IfcIdentifier? __Identifier, IfcLabel? __Name, IfcText? __Description, IfcUnit __Unit, IfcReference __ReferencePath) { this._Identifier = __Identifier; this._Name = __Name; this._Description = __Description; this._Unit = __Unit; this._ReferencePath = __ReferencePath; }
public IfcConstructionResource(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcIdentifier?__ResourceIdentifier, IfcLabel?__ResourceGroup, IfcResourceConsumptionEnum?__ResourceConsumption, IfcMeasureWithUnit __BaseQuantity) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType) { this._ResourceIdentifier = __ResourceIdentifier; this._ResourceGroup = __ResourceGroup; this._ResourceConsumption = __ResourceConsumption; this._BaseQuantity = __BaseQuantity; }
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>(); }
public IfcRelInterferesElements(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcElement __RelatingElement, IfcElement __RelatedElement, IfcConnectionGeometry __InterferenceGeometry, IfcIdentifier?__InterferenceType, Boolean?__ImpliedOrder) : base(__GlobalId, __OwnerHistory, __Name, __Description) { this._RelatingElement = __RelatingElement; this._RelatedElement = __RelatedElement; this._InterferenceGeometry = __InterferenceGeometry; this._InterferenceType = __InterferenceType; this._ImpliedOrder = __ImpliedOrder; }
protected IfcSurfaceTexture(IfcBoolean __RepeatS, IfcBoolean __RepeatT, IfcIdentifier?__Mode, IfcCartesianTransformationOperator2D __TextureTransform, IfcIdentifier[] __Parameter) { this.RepeatS = __RepeatS; this.RepeatT = __RepeatT; this.Mode = __Mode; this.TextureTransform = __TextureTransform; this.Parameter = new List <IfcIdentifier>(__Parameter); this.IsMappedBy = new HashSet <IfcTextureCoordinate>(); this.UsedInStyles = new HashSet <IfcSurfaceStyleWithTextures>(); }
public IfcPerson(IfcIdentifier?__Identification, IfcLabel?__FamilyName, IfcLabel?__GivenName, IfcLabel[] __MiddleNames, IfcLabel[] __PrefixTitles, IfcLabel[] __SuffixTitles, IfcActorRole[] __Roles, IfcAddress[] __Addresses) { this._Identification = __Identification; this._FamilyName = __FamilyName; this._GivenName = __GivenName; this._MiddleNames = new List <IfcLabel>(__MiddleNames); this._PrefixTitles = new List <IfcLabel>(__PrefixTitles); this._SuffixTitles = new List <IfcLabel>(__SuffixTitles); this._Roles = new List <IfcActorRole>(__Roles); this._Addresses = new List <IfcAddress>(__Addresses); }
public IfcOrganization(IfcIdentifier?__Identification, IfcLabel __Name, IfcText?__Description, IfcActorRole[] __Roles, IfcAddress[] __Addresses) { this.Identification = __Identification; this.Name = __Name; this.Description = __Description; this.Roles = new List <IfcActorRole>(__Roles); this.Addresses = new List <IfcAddress>(__Addresses); this.IsRelatedBy = new HashSet <IfcOrganizationRelationship>(); this.Relates = new HashSet <IfcOrganizationRelationship>(); this.Engages = new HashSet <IfcPersonAndOrganization>(); }
public IfcPerson(IfcIdentifier?__Identification, IfcLabel?__FamilyName, IfcLabel?__GivenName, IfcLabel[] __MiddleNames, IfcLabel[] __PrefixTitles, IfcLabel[] __SuffixTitles, IfcActorRole[] __Roles, IfcAddress[] __Addresses) { this.Identification = __Identification; this.FamilyName = __FamilyName; this.GivenName = __GivenName; this.MiddleNames = new List <IfcLabel>(__MiddleNames); this.PrefixTitles = new List <IfcLabel>(__PrefixTitles); this.SuffixTitles = new List <IfcLabel>(__SuffixTitles); this.Roles = new List <IfcActorRole>(__Roles); this.Addresses = new List <IfcAddress>(__Addresses); this.EngagedIn = new HashSet <IfcPersonAndOrganization>(); }
public static bool IsSame(this IfcIdentifier?label, IfcIdentifier?compare) { if (label == null && compare == null) { return(true); } if (label == null || compare == null) { return(false); } return(string.Compare(label.Value, compare.Value, StringComparison.OrdinalIgnoreCase) == 0); }
public IfcApproval(IfcIdentifier?__Identifier, IfcLabel?__Name, IfcText?__Description, IfcDateTime?__TimeOfApproval, IfcLabel?__Status, IfcLabel?__Level, IfcText?__Qualifier, IfcActorSelect __RequestingApproval, IfcActorSelect __GivingApproval) { this._Identifier = __Identifier; this._Name = __Name; this._Description = __Description; this._TimeOfApproval = __TimeOfApproval; this._Status = __Status; this._Level = __Level; this._Qualifier = __Qualifier; this._RequestingApproval = __RequestingApproval; this._GivingApproval = __GivingApproval; }
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: _identification = value.StringVal; return; case 6: _originalValue = (IfcCostValue)(value.EntityVal); return; case 7: _currentValue = (IfcCostValue)(value.EntityVal); return; case 8: _totalReplacementCost = (IfcCostValue)(value.EntityVal); return; case 9: _owner = (IfcActorSelect)(value.EntityVal); return; case 10: _user = (IfcActorSelect)(value.EntityVal); return; case 11: _responsiblePerson = (IfcPerson)(value.EntityVal); return; case 12: _incorporationDate = value.StringVal; return; case 13: _depreciatedValue = (IfcCostValue)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcAsset(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcIdentifier?__Identification, IfcCostValue __OriginalValue, IfcCostValue __CurrentValue, IfcCostValue __TotalReplacementCost, IfcActorSelect __Owner, IfcActorSelect __User, IfcPerson __ResponsiblePerson, IfcDate?__IncorporationDate, IfcCostValue __DepreciatedValue) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType) { this._Identification = __Identification; this._OriginalValue = __OriginalValue; this._CurrentValue = __CurrentValue; this._TotalReplacementCost = __TotalReplacementCost; this._Owner = __Owner; this._User = __User; this._ResponsiblePerson = __ResponsiblePerson; this._IncorporationDate = __IncorporationDate; this._DepreciatedValue = __DepreciatedValue; }
public IfcApproval(IfcIdentifier?__Identifier, IfcLabel?__Name, IfcText?__Description, IfcDateTime?__TimeOfApproval, IfcLabel?__Status, IfcLabel?__Level, IfcText?__Qualifier, IfcActorSelect __RequestingApproval, IfcActorSelect __GivingApproval) { this.Identifier = __Identifier; this.Name = __Name; this.Description = __Description; this.TimeOfApproval = __TimeOfApproval; this.Status = __Status; this.Level = __Level; this.Qualifier = __Qualifier; this.RequestingApproval = __RequestingApproval; this.GivingApproval = __GivingApproval; this.HasExternalReferences = new HashSet <IfcExternalReferenceRelationship>(); this.ApprovedObjects = new HashSet <IfcRelAssociatesApproval>(); this.ApprovedResources = new HashSet <IfcResourceApprovalRelationship>(); this.IsRelatedWith = new HashSet <IfcApprovalRelationship>(); this.Relates = new HashSet <IfcApprovalRelationship>(); }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _identifier = value.StringVal; return; case 1: _name = value.StringVal; return; case 2: _description = value.StringVal; return; case 3: _timeOfApproval = value.StringVal; return; case 4: _status = value.StringVal; return; case 5: _level = value.StringVal; return; case 6: _qualifier = value.StringVal; return; case 7: _requestingApproval = (IfcActorSelect)(value.EntityVal); return; case 8: _givingApproval = (IfcActorSelect)(value.EntityVal); 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: _location = value.StringVal; break; case 1: _itemReference = value.StringVal; break; case 2: _name = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcDocumentInformation(IfcIdentifier __Identification, IfcLabel __Name, IfcText?__Description, IfcURIReference?__Location, IfcText?__Purpose, IfcText?__IntendedUse, IfcText?__Scope, IfcLabel?__Revision, IfcActorSelect __DocumentOwner, IfcActorSelect[] __Editors, IfcDateTime?__CreationTime, IfcDateTime?__LastRevisionTime, IfcIdentifier?__ElectronicFormat, IfcDate?__ValidFrom, IfcDate?__ValidUntil, IfcDocumentConfidentialityEnum?__Confidentiality, IfcDocumentStatusEnum?__Status) { this._Identification = __Identification; this._Name = __Name; this._Description = __Description; this._Location = __Location; this._Purpose = __Purpose; this._IntendedUse = __IntendedUse; this._Scope = __Scope; this._Revision = __Revision; this._DocumentOwner = __DocumentOwner; this._Editors = new HashSet <IfcActorSelect>(__Editors); this._CreationTime = __CreationTime; this._LastRevisionTime = __LastRevisionTime; this._ElectronicFormat = __ElectronicFormat; this._ValidFrom = __ValidFrom; this._ValidUntil = __ValidUntil; this._Confidentiality = __Confidentiality; this._Status = __Status; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _location = value.StringVal; return; case 1: _identification = value.StringVal; return; case 2: _name = value.StringVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
void IPersistIfc.IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _Location = value.StringVal; break; case 1: _ItemReference = value.StringVal; break; case 2: _Name = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: base.IfcParse(propIndex, value); break; case 8: _controlElementId = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _id = value.StringVal; return; case 1: _familyName = value.StringVal; return; case 2: _givenName = value.StringVal; return; case 3: _middleNames.InternalAdd(value.StringVal); return; case 4: _prefixTitles.InternalAdd(value.StringVal); return; case 5: _suffixTitles.InternalAdd(value.StringVal); return; case 6: _roles.InternalAdd((IfcActorRole)value.EntityVal); return; case 7: _addresses.InternalAdd((IfcAddress)value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: base.Parse(propIndex, value, nestedIndex); return; case 8: _controlElementId = value.StringVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: base.Parse(propIndex, value, nestedIndex); return; case 4: _applicableOccurrence = value.StringVal; return; case 5: _hasPropertySets.InternalAdd((IfcPropertySetDefinition)value.EntityVal); 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: ((IXbimNoNotifyCollection)_assignedItems).Add((IfcLayeredItem)value.EntityVal); break; case 3: _identifier = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
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: _resourceIdentifier = value.StringVal; break; case 6: _resourceGroup = value.StringVal; break; case 7: _resourceConsumption = (IfcResourceConsumptionEnum) Enum.Parse(typeof (IfcResourceConsumptionEnum), value.EnumVal); break; case 8: _baseQuantity = (IfcMeasureWithUnit) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public virtual void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _description = value.StringVal; break; case 1: _approvalDateTime = (IfcDateTimeSelect) value.EntityVal; break; case 2: _approvalStatus = value.StringVal; break; case 3: _approvalLevel = value.StringVal; break; case 4: _approvalQualifier = value.StringVal; break; case 5: _name = value.StringVal; break; case 6: _identifier = 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: ((IXbimNoNotifyCollection)_assignedItems).Add((IfcLayeredItem) value.EntityVal); break; case 3: _identifier = value.StringVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }