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())); } }
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; }
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; }
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; }
/// <summary> /// Construct a IfcProcedureType with all required attributes. /// </summary> public IfcProcedureType(IfcGloballyUniqueId globalId, IfcProcedureTypeEnum predefinedType) : base(globalId) { PredefinedType = predefinedType; }
internal IfcProcedure(IfcProcedure o) : base(o) { mProcedureID = o.mProcedureID; mProcedureType = o.mProcedureType; mUserDefinedProcedureType = o.mUserDefinedProcedureType; }
internal IfcProcedureType(DatabaseIfc m, string name, IfcProcedureTypeEnum t) : base(m) { Name = name; mPredefinedType = t; }
internal IfcProcedureType(IfcProcedureType t) : base(t) { mPredefinedType = t.mPredefinedType; }
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; }