public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _definition = (IfcDefinedSymbolSelect) value.EntityVal;
             break;
         case 1:
             _target = (IfcCartesianTransformationOperator2D) value.EntityVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Esempio n. 2
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                _definition = (IfcDefinedSymbolSelect)(value.EntityVal);
                return;

            case 1:
                _target = (IfcCartesianTransformationOperator2D)(value.EntityVal);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Esempio n. 3
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                _definition = (IfcDefinedSymbolSelect)value.EntityVal;
                break;

            case 1:
                _target = (IfcCartesianTransformationOperator2D)value.EntityVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Esempio n. 4
0
 public IfcDefinedSymbol(IfcDefinedSymbolSelect __Definition, IfcCartesianTransformationOperator2D __Target)
 {
     this._Definition = __Definition;
     this._Target     = __Target;
 }