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:
                _procedureID = value.StringVal;
                return;

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

            case 7:
                _userDefinedProcedureType = value.StringVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Esempio n. 2
0
 public IfcProcedure(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcIdentifier __ProcedureID, IfcProcedureTypeEnum __ProcedureType, IfcLabel?__UserDefinedProcedureType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType)
 {
     this._ProcedureID              = __ProcedureID;
     this._ProcedureType            = __ProcedureType;
     this._UserDefinedProcedureType = __UserDefinedProcedureType;
 }
Esempio n. 3
0
 public IfcProcedureType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcIdentifier?__Identification, IfcText?__LongDescription, IfcLabel?__ProcessType, IfcProcedureTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __Identification, __LongDescription, __ProcessType)
 {
     this.PredefinedType = __PredefinedType;
 }
Esempio n. 4
0
 public IfcProcedureType(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcIdentifier applicableOccurrence, List <IfcPropertySetDefinition> hasPropertySets, IfcIdentifier identification, IfcText longDescription, IfcLabel processType, IfcProcedureTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, applicableOccurrence, hasPropertySets, identification, longDescription, processType)
 {
     PredefinedType = predefinedType;
 }
Esempio n. 5
0
 /// <summary>
 /// Construct a IfcProcedureType with all required attributes.
 /// </summary>
 public IfcProcedureType(IfcGloballyUniqueId globalId, IfcProcedureTypeEnum predefinedType) : base(globalId)
 {
     PredefinedType = predefinedType;
 }
Esempio n. 6
0
		internal IfcProcedure(IfcProcedure o) : base(o) { mProcedureID = o.mProcedureID; mProcedureType = o.mProcedureType; mUserDefinedProcedureType = o.mUserDefinedProcedureType; }
Esempio n. 7
0
		internal IfcProcedureType(DatabaseIfc m, string name, IfcProcedureTypeEnum t) : base(m) { Name = name; mPredefinedType = t; }
Esempio n. 8
0
		internal IfcProcedureType(IfcProcedureType t) : base(t) { mPredefinedType = t.mPredefinedType; }
Esempio n. 9
0
 public IfcProcedure(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcIdentifier identification, IfcText longDescription, IfcProcedureTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, identification, longDescription)
 {
     PredefinedType = predefinedType;
 }