public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _name = value.StringVal;
                return;

            case 1:
                _version = value.StringVal;
                return;

            case 2:
                _publisher = (IfcOrganization)(value.EntityVal);
                return;

            case 3:
                _versionDate = (IfcCalendarDate)(value.EntityVal);
                return;

            case 4:
                _libraryReference.InternalAdd((IfcLibraryReference)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 2
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _typeIdentifier = value.StringVal;
                return;

            case 1:
                _attributeIdentifier = value.StringVal;
                return;

            case 2:
                _instanceName = value.StringVal;
                return;

            case 3:
                _listPositions.InternalAdd(value.IntegerVal);
                return;

            case 4:
                _innerReference = (IfcReference)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 3
0
        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:
                _usageName = value.StringVal;
                return;

            case 5:
                _templateType = (IfcComplexPropertyTemplateTypeEnum)System.Enum.Parse(typeof(IfcComplexPropertyTemplateTypeEnum), value.EnumVal, true);
                return;

            case 6:
                _hasPropertyTemplates.InternalAdd((IfcPropertyTemplate)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 4
0
 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:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 1:
                ((ItemSet <IfcParameterValue>)_normals
                 .InternalGetAt(nestedIndex[0]))
                .InternalAdd((IfcParameterValue)(value.RealVal));
                return;

            case 2:
                _closed = value.BooleanVal;
                return;

            case 3:
                ((ItemSet <IfcPositiveInteger>)_coordIndex
                 .InternalGetAt(nestedIndex[0]))
                .InternalAdd((IfcPositiveInteger)(value.IntegerVal));
                return;

            case 4:
                _pnIndex.InternalAdd(value.IntegerVal);
                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:
            case 8:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 9:
                _baseCosts.InternalAdd((IfcAppliedValue)value.EntityVal);
                return;

            case 10:
                _baseQuantity = (IfcPhysicalQuantity)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 7
0
        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:
                _objectType = value.StringVal;
                return;

            case 5:
                _longName = value.StringVal;
                return;

            case 6:
                _phase = value.StringVal;
                return;

            case 7:
                _representationContexts.InternalAdd((IfcRepresentationContext)value.EntityVal);
                return;

            case 8:
                _unitsInContext = (IfcUnitAssignment)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 8
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _identification = value.StringVal;
                return;

            case 1:
                _name = value.StringVal;
                return;

            case 2:
                _description = value.StringVal;
                return;

            case 3:
                _roles.InternalAdd((IfcActorRole)value.EntityVal);
                return;

            case 4:
                _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()));
            }
        }
Ejemplo n.º 9
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 6:
                _predefinedType = (IfcCostItemTypeEnum)System.Enum.Parse(typeof(IfcCostItemTypeEnum), value.EnumVal, true);
                return;

            case 7:
                _costValues.InternalAdd((IfcCostValue)value.EntityVal);
                return;

            case 8:
                _costQuantities.InternalAdd((IfcPhysicalQuantity)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:
                _repeatS = value.BooleanVal;
                return;

            case 1:
                _repeatT = value.BooleanVal;
                return;

            case 2:
                _mode = value.StringVal;
                return;

            case 3:
                _textureTransform = (IfcCartesianTransformationOperator2D)(value.EntityVal);
                return;

            case 4:
                _parameter.InternalAdd(value.StringVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 11
0
        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:
                _telephoneNumbers.InternalAdd(value.StringVal);
                return;

            case 4:
                _facsimileNumbers.InternalAdd(value.StringVal);
                return;

            case 5:
                _pagerNumber = value.StringVal;
                return;

            case 6:
                _electronicMailAddresses.InternalAdd(value.StringVal);
                return;

            case 7:
                _wWWHomePageURL = value.StringVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 12
0
        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:
            case 8:
            case 9:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 10:
                _moveFrom = (IfcSpatialStructureElement)(value.EntityVal);
                return;

            case 11:
                _moveTo = (IfcSpatialStructureElement)(value.EntityVal);
                return;

            case 12:
                _punchList.InternalAdd(value.StringVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 13
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 6:
                _representationMaps.InternalAdd((IfcRepresentationMap)value.EntityVal);
                return;

            case 7:
                _tag = value.StringVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 14
0
        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:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 7:
                _uAxes.InternalAdd((IfcGridAxis)value.EntityVal);
                return;

            case 8:
                _vAxes.InternalAdd((IfcGridAxis)value.EntityVal);
                return;

            case 9:
                _wAxes.InternalAdd((IfcGridAxis)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:
            case 8:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 9:
                _suppliers.InternalAdd((IfcActorSelect)value.EntityVal);
                return;

            case 10:
                _usageRatio = value.RealVal;
                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:
            case 8:
            case 9:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 10:
                _selfWeightCoefficients.InternalAdd(value.RealVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 17
0
        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:
                _predefinedType = (IfcAnalysisModelTypeEnum)System.Enum.Parse(typeof(IfcAnalysisModelTypeEnum), value.EnumVal, true);
                return;

            case 6:
                _orientationOf2DPlane = (IfcAxis2Placement3D)(value.EntityVal);
                return;

            case 7:
                _loadedBy.InternalAdd((IfcStructuralLoadGroup)value.EntityVal);
                return;

            case 8:
                _hasResults.InternalAdd((IfcStructuralResultGroup)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:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 1:
                _fontFamily.InternalAdd(value.StringVal);
                return;

            case 2:
                _fontStyle = value.StringVal;
                return;

            case 3:
                _fontVariant = value.StringVal;
                return;

            case 4:
                _fontWeight = value.StringVal;
                return;

            case 5:
                _fontSize = (IfcSizeSelect)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 19
0
        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:
                _applicableDates.InternalAdd((IfcDateTimeSelect)value.EntityVal);
                return;

            case 6:
                _timeSeriesScheduleType = (IfcTimeSeriesScheduleTypeEnum)System.Enum.Parse(typeof(IfcTimeSeriesScheduleTypeEnum), value.EnumVal, true);
                return;

            case 7:
                _timeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 20
0
        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:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 7:
                _benchmarkValues.InternalAdd((IfcConstraint)value.EntityVal);
                return;

            case 8:
                _logicalAggregator = (IfcLogicalOperatorEnum)System.Enum.Parse(typeof(IfcLogicalOperatorEnum), value.EnumVal, true);
                return;

            case 9:
                _objectiveQualifier = (IfcObjectiveEnum)System.Enum.Parse(typeof(IfcObjectiveEnum), value.EnumVal, true);
                return;

            case 10:
                _userDefinedQualifier = value.StringVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 21
0
        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:
                _identifier = value.StringVal;
                return;

            case 6:
                _creationDate = (IfcDateTimeSelect)(value.EntityVal);
                return;

            case 7:
                _creators.InternalAdd((IfcPerson)value.EntityVal);
                return;

            case 8:
                _purpose = value.StringVal;
                return;

            case 9:
                _duration = value.RealVal;
                return;

            case 10:
                _totalFloat = value.RealVal;
                return;

            case 11:
                _startTime = (IfcDateTimeSelect)(value.EntityVal);
                return;

            case 12:
                _finishTime = (IfcDateTimeSelect)(value.EntityVal);
                return;

            case 13:
                _workControlType = (IfcWorkControlTypeEnum)System.Enum.Parse(typeof(IfcWorkControlTypeEnum), value.EnumVal, true);
                return;

            case 14:
                _userDefinedControlType = value.StringVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 22
0
		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: 
				case 8: 
					base.Parse(propIndex, value, nestedIndex); 
					return;
				case 9: 
                    _predefinedType = (IfcReinforcingMeshTypeEnum) System.Enum.Parse(typeof (IfcReinforcingMeshTypeEnum), value.EnumVal, true);
					return;
				case 10: 
					_meshLength = value.RealVal;
					return;
				case 11: 
					_meshWidth = value.RealVal;
					return;
				case 12: 
					_longitudinalBarNominalDiameter = value.RealVal;
					return;
				case 13: 
					_transverseBarNominalDiameter = value.RealVal;
					return;
				case 14: 
					_longitudinalBarCrossSectionArea = value.RealVal;
					return;
				case 15: 
					_transverseBarCrossSectionArea = value.RealVal;
					return;
				case 16: 
					_longitudinalBarSpacing = value.RealVal;
					return;
				case 17: 
					_transverseBarSpacing = value.RealVal;
					return;
				case 18: 
					_bendingShapeCode = value.StringVal;
					return;
				case 19: 
					_bendingParameters.InternalAdd((IfcBendingParameterSelect)value.EntityVal);
					return;
				default:
					throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
			}
		}
Ejemplo n.º 23
0
		public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
		{
			switch (propIndex)
			{
				case 0: 
					_outerBoundary = (IfcCurve)(value.EntityVal);
					return;
				case 1: 
					_innerBoundaries.InternalAdd((IfcCurve)value.EntityVal);
					return;
				default:
					throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
			}
		}
Ejemplo n.º 24
0
        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:
                _submittedBy = (IfcActorSelect)(value.EntityVal);
                return;

            case 6:
                _preparedBy = (IfcActorSelect)(value.EntityVal);
                return;

            case 7:
                _submittedOn = (IfcDateTimeSelect)(value.EntityVal);
                return;

            case 8:
                _status = value.StringVal;
                return;

            case 9:
                _targetUsers.InternalAdd((IfcActorSelect)value.EntityVal);
                return;

            case 10:
                _updateDate = (IfcDateTimeSelect)(value.EntityVal);
                return;

            case 11:
                _iD = value.StringVal;
                return;

            case 12:
                _predefinedType = (IfcCostScheduleTypeEnum)System.Enum.Parse(typeof(IfcCostScheduleTypeEnum), value.EnumVal, true);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 25
0
        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:
                _appliedValue = (IfcAppliedValueSelect)(value.EntityVal);
                return;

            case 3:
                _unitBasis = (IfcMeasureWithUnit)(value.EntityVal);
                return;

            case 4:
                _applicableDate = value.StringVal;
                return;

            case 5:
                _fixedUntilDate = value.StringVal;
                return;

            case 6:
                _category = value.StringVal;
                return;

            case 7:
                _condition = value.StringVal;
                return;

            case 8:
                _arithmeticOperator = (IfcArithmeticOperatorEnum)System.Enum.Parse(typeof(IfcArithmeticOperatorEnum), value.EnumVal, true);
                return;

            case 9:
                _components.InternalAdd((IfcAppliedValue)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 26
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _rowCells.InternalAdd((IfcValue)value.EntityVal);
                return;

            case 1:
                _isHeading = value.BooleanVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 27
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 6:
                _creationDate = value.StringVal;
                return;

            case 7:
                _creators.InternalAdd((IfcPerson)value.EntityVal);
                return;

            case 8:
                _purpose = value.StringVal;
                return;

            case 9:
                _duration = value.StringVal;
                return;

            case 10:
                _totalFloat = value.StringVal;
                return;

            case 11:
                _startTime = value.StringVal;
                return;

            case 12:
                _finishTime = 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:
            case 4:
            case 5:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 6:
                _yieldStress = value.RealVal;
                return;

            case 7:
                _ultimateStress = value.RealVal;
                return;

            case 8:
                _ultimateStrain = value.RealVal;
                return;

            case 9:
                _hardeningModule = value.RealVal;
                return;

            case 10:
                _proportionalStress = value.RealVal;
                return;

            case 11:
                _plasticStrain = value.RealVal;
                return;

            case 12:
                _relaxations.InternalAdd((IfcRelaxation)value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 29
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                ((ItemSet <IfcLengthMeasure>)_coordList
                 .InternalGetAt(nestedIndex[0]))
                .InternalAdd((IfcLengthMeasure)(value.RealVal));
                return;

            case 1:
                _tagList.InternalAdd(value.StringVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 30
0
        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:
                _internalLocation = value.StringVal;
                return;

            case 4:
                _addressLines.InternalAdd(value.StringVal);
                return;

            case 5:
                _postalBox = value.StringVal;
                return;

            case 6:
                _town = value.StringVal;
                return;

            case 7:
                _region = value.StringVal;
                return;

            case 8:
                _postalCode = value.StringVal;
                return;

            case 9:
                _country = value.StringVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }