public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIFunction"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter302 in KeyValueMaps) { _iter302.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (DependabilityRequirements != null && __isset.DependabilityRequirements) { field.Name = "DependabilityRequirements"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, DependabilityRequirements.Count)); foreach (TDDIAbstractDependabilityRequirementRef _iter303 in DependabilityRequirements) { _iter303.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (AssuranceLevel != null && __isset.AssuranceLevel) { field.Name = "AssuranceLevel"; field.Type = TType.Struct; field.ID = 9; oprot.WriteFieldBegin(field); AssuranceLevel.Write(oprot); oprot.WriteFieldEnd(); } if (SubFunctions != null && __isset.SubFunctions) { field.Name = "SubFunctions"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, SubFunctions.Count)); foreach (TDDIAbstractFunctionRef _iter304 in SubFunctions) { _iter304.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Ports != null && __isset.Ports) { field.Name = "Ports"; field.Type = TType.List; field.ID = 11; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Ports.Count)); foreach (TDDIPortRef _iter305 in Ports) { _iter305.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (PerfChars != null && __isset.PerfChars) { field.Name = "PerfChars"; field.Type = TType.Struct; field.ID = 12; oprot.WriteFieldBegin(field); PerfChars.Write(oprot); oprot.WriteFieldEnd(); } if (FailureModels != null && __isset.FailureModels) { field.Name = "FailureModels"; field.Type = TType.List; field.ID = 13; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FailureModels.Count)); foreach (TDDIAbstractFailureLogicPackageRef _iter306 in FailureModels) { _iter306.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Malfunctions != null && __isset.Malfunctions) { field.Name = "Malfunctions"; field.Type = TType.List; field.ID = 14; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Malfunctions.Count)); foreach (TDDIMalFunctionRef _iter307 in Malfunctions) { _iter307.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDITerminologyGroup"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Name.Write(oprot); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); Description.Write(oprot); oprot.WriteFieldEnd(); } if (ImplementationConstraint != null && __isset.ImplementationConstraint) { field.Name = "ImplementationConstraint"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ImplementationConstraint.Count)); foreach (TDDIImplementationConstraintRef _iter1268 in ImplementationConstraint) { _iter1268.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Note != null && __isset.Note) { field.Name = "Note"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Note.Count)); foreach (TDDINoteRef _iter1269 in Note) { _iter1269.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TaggedValue != null && __isset.TaggedValue) { field.Name = "TaggedValue"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TaggedValue.Count)); foreach (TDDITaggedValueRef _iter1270 in TaggedValue) { _iter1270.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TerminologyElement != null && __isset.TerminologyElement) { field.Name = "TerminologyElement"; field.Type = TType.List; field.ID = 11; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TerminologyElement.Count)); foreach (TDDIAbstractTerminologyElementRef _iter1271 in TerminologyElement) { _iter1271.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIInputEvent"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter583 in KeyValueMaps) { _iter583.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (InputFailure != null && __isset.InputFailure) { field.Name = "InputFailure"; field.Type = TType.Struct; field.ID = 8; oprot.WriteFieldBegin(field); InputFailure.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIMarkovChainPackageBinding"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter875 in KeyValueMaps) { _iter875.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (FailureAnalysisArtifacts != null && __isset.FailureAnalysisArtifacts) { field.Name = "FailureAnalysisArtifacts"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FailureAnalysisArtifacts.Count)); foreach (TDDIAbstractFailureAnalysisArtifactRef _iter876 in FailureAnalysisArtifacts) { _iter876.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (MarkovArtifacts != null && __isset.MarkovArtifacts) { field.Name = "MarkovArtifacts"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, MarkovArtifacts.Count)); foreach (TDDIAbstractMarkovArtifact _iter877 in MarkovArtifacts) { _iter877.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (FailStates != null && __isset.FailStates) { field.Name = "FailStates"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FailStates.Count)); foreach (TDDIFailState _iter878 in FailStates) { _iter878.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ParticipantPackages != null && __isset.ParticipantPackages) { field.Name = "ParticipantPackages"; field.Type = TType.List; field.ID = 11; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ParticipantPackages.Count)); foreach (TDDIAbstractMarkovChainPackageRef _iter879 in ParticipantPackages) { _iter879.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIAssertedArtifactSupport"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Name.Write(oprot); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); Description.Write(oprot); oprot.WriteFieldEnd(); } if (ImplementationConstraint != null && __isset.ImplementationConstraint) { field.Name = "ImplementationConstraint"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ImplementationConstraint.Count)); foreach (TDDIImplementationConstraintRef _iter846 in ImplementationConstraint) { _iter846.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Note != null && __isset.Note) { field.Name = "Note"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Note.Count)); foreach (TDDINoteRef _iter847 in Note) { _iter847.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TaggedValue != null && __isset.TaggedValue) { field.Name = "TaggedValue"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TaggedValue.Count)); foreach (TDDITaggedValueRef _iter848 in TaggedValue) { _iter848.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (__isset.AssertionDeclaration) { field.Name = "AssertionDeclaration"; field.Type = TType.I32; field.ID = 11; oprot.WriteFieldBegin(field); oprot.WriteI32((int)AssertionDeclaration); oprot.WriteFieldEnd(); } if (MetaClaim != null && __isset.MetaClaim) { field.Name = "MetaClaim"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, MetaClaim.Count)); foreach (TDDIClaimRef _iter849 in MetaClaim) { _iter849.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (__isset.IsCounter) { field.Name = "IsCounter"; field.Type = TType.Bool; field.ID = 13; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCounter); oprot.WriteFieldEnd(); } if (Source != null && __isset.Source) { field.Name = "Source"; field.Type = TType.List; field.ID = 14; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Source.Count)); foreach (TDDIAbstractArgumentAssetRef _iter850 in Source) { _iter850.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Target != null && __isset.Target) { field.Name = "Target"; field.Type = TType.List; field.ID = 15; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Target.Count)); foreach (TDDIAbstractArgumentAssetRef _iter851 in Target) { _iter851.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Reasoning != null && __isset.Reasoning) { field.Name = "Reasoning"; field.Type = TType.Struct; field.ID = 16; oprot.WriteFieldBegin(field); Reasoning.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDISafetyRelatedSystem"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter214 in KeyValueMaps) { _iter214.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (DependabilityRequirements != null && __isset.DependabilityRequirements) { field.Name = "DependabilityRequirements"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, DependabilityRequirements.Count)); foreach (TDDIAbstractDependabilityRequirementRef _iter215 in DependabilityRequirements) { _iter215.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (AssuranceLevel != null && __isset.AssuranceLevel) { field.Name = "AssuranceLevel"; field.Type = TType.Struct; field.ID = 9; oprot.WriteFieldBegin(field); AssuranceLevel.Write(oprot); oprot.WriteFieldEnd(); } if (SubSystems != null && __isset.SubSystems) { field.Name = "SubSystems"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, SubSystems.Count)); foreach (TDDIAbstractSystemRef _iter216 in SubSystems) { _iter216.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (__isset.OverallLifetime) { field.Name = "OverallLifetime"; field.Type = TType.Double; field.ID = 11; oprot.WriteFieldBegin(field); oprot.WriteDouble(OverallLifetime); oprot.WriteFieldEnd(); } if (__isset.OverallLifetimeTimeUnit) { field.Name = "OverallLifetimeTimeUnit"; field.Type = TType.I32; field.ID = 12; oprot.WriteFieldBegin(field); oprot.WriteI32((int)OverallLifetimeTimeUnit); oprot.WriteFieldEnd(); } if (RealisedFunctions != null && __isset.RealisedFunctions) { field.Name = "RealisedFunctions"; field.Type = TType.List; field.ID = 13; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, RealisedFunctions.Count)); foreach (TDDIAbstractFunctionRef _iter217 in RealisedFunctions) { _iter217.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Configurations != null && __isset.Configurations) { field.Name = "Configurations"; field.Type = TType.List; field.ID = 14; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Configurations.Count)); foreach (TDDIConfiguration _iter218 in Configurations) { _iter218.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Contexts != null && __isset.Contexts) { field.Name = "Contexts"; field.Type = TType.List; field.ID = 15; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Contexts.Count)); foreach (TDDIContext _iter219 in Contexts) { _iter219.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (SystemBoundaries != null && __isset.SystemBoundaries) { field.Name = "SystemBoundaries"; field.Type = TType.List; field.ID = 16; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, SystemBoundaries.Count)); foreach (TDDISystemBoundary _iter220 in SystemBoundaries) { _iter220.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (AppliedStandards != null && __isset.AppliedStandards) { field.Name = "AppliedStandards"; field.Type = TType.List; field.ID = 17; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, AppliedStandards.Count)); foreach (TDDIAbstractStandardRef _iter221 in AppliedStandards) { _iter221.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (FailureModels != null && __isset.FailureModels) { field.Name = "FailureModels"; field.Type = TType.List; field.ID = 18; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FailureModels.Count)); foreach (TDDIAbstractFailureLogicPackageRef _iter222 in FailureModels) { _iter222.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Ports != null && __isset.Ports) { field.Name = "Ports"; field.Type = TType.List; field.ID = 19; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Ports.Count)); foreach (TDDIPortRef _iter223 in Ports) { _iter223.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (SafeState != null && __isset.SafeState) { field.Name = "SafeState"; field.Type = TType.String; field.ID = 20; oprot.WriteFieldBegin(field); oprot.WriteString(SafeState); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIFailState"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter822 in KeyValueMaps) { _iter822.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (__isset.FailureRate) { field.Name = "FailureRate"; field.Type = TType.Double; field.ID = 8; oprot.WriteFieldBegin(field); oprot.WriteDouble(FailureRate); oprot.WriteFieldEnd(); } if (FailureMode != null && __isset.FailureMode) { field.Name = "FailureMode"; field.Type = TType.Struct; field.ID = 9; oprot.WriteFieldBegin(field); FailureMode.Write(oprot); oprot.WriteFieldEnd(); } if (ProbabilityDistribution != null && __isset.ProbabilityDistribution) { field.Name = "ProbabilityDistribution"; field.Type = TType.Struct; field.ID = 10; oprot.WriteFieldBegin(field); ProbabilityDistribution.Write(oprot); oprot.WriteFieldEnd(); } if (OutputFailure != null && __isset.OutputFailure) { field.Name = "OutputFailure"; field.Type = TType.Struct; field.ID = 11; oprot.WriteFieldBegin(field); OutputFailure.Write(oprot); oprot.WriteFieldEnd(); } if (AssociatedStates != null && __isset.AssociatedStates) { field.Name = "AssociatedStates"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, AssociatedStates.Count)); foreach (TDDIState _iter823 in AssociatedStates) { _iter823.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIArtifactPackageBinding"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Name.Write(oprot); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); Description.Write(oprot); oprot.WriteFieldEnd(); } if (ImplementationConstraint != null && __isset.ImplementationConstraint) { field.Name = "ImplementationConstraint"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ImplementationConstraint.Count)); foreach (TDDIImplementationConstraintRef _iter995 in ImplementationConstraint) { _iter995.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Note != null && __isset.Note) { field.Name = "Note"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Note.Count)); foreach (TDDINoteRef _iter996 in Note) { _iter996.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TaggedValue != null && __isset.TaggedValue) { field.Name = "TaggedValue"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TaggedValue.Count)); foreach (TDDITaggedValueRef _iter997 in TaggedValue) { _iter997.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ArtifactElement != null && __isset.ArtifactElement) { field.Name = "ArtifactElement"; field.Type = TType.List; field.ID = 11; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ArtifactElement.Count)); foreach (TDDIAbstractArtifactElementRef _iter998 in ArtifactElement) { _iter998.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ParticipantPackage != null && __isset.ParticipantPackage) { field.Name = "ParticipantPackage"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ParticipantPackage.Count)); foreach (TDDIAbstractArtifactPackage _iter999 in ParticipantPackage) { _iter999.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIAssuranceCasePackageInterface"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Name.Write(oprot); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); Description.Write(oprot); oprot.WriteFieldEnd(); } if (ImplementationConstraint != null && __isset.ImplementationConstraint) { field.Name = "ImplementationConstraint"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ImplementationConstraint.Count)); foreach (TDDIImplementationConstraintRef _iter1208 in ImplementationConstraint) { _iter1208.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Note != null && __isset.Note) { field.Name = "Note"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Note.Count)); foreach (TDDINoteRef _iter1209 in Note) { _iter1209.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TaggedValue != null && __isset.TaggedValue) { field.Name = "TaggedValue"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TaggedValue.Count)); foreach (TDDITaggedValueRef _iter1210 in TaggedValue) { _iter1210.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (AssuranceCasePackage != null && __isset.AssuranceCasePackage) { field.Name = "AssuranceCasePackage"; field.Type = TType.List; field.ID = 11; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, AssuranceCasePackage.Count)); foreach (TDDIAbstractAssuranceCasePackageRef _iter1211 in AssuranceCasePackage) { _iter1211.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Interface != null && __isset.@Interface) { field.Name = "Interface"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Interface.Count)); foreach (TDDIAssuranceCasePackageInterfaceRef _iter1212 in Interface) { _iter1212.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ArtifactPackage != null && __isset.ArtifactPackage) { field.Name = "ArtifactPackage"; field.Type = TType.List; field.ID = 13; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ArtifactPackage.Count)); foreach (TDDIAbstractArtifactPackageRef _iter1213 in ArtifactPackage) { _iter1213.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ArgumentPackage != null && __isset.ArgumentPackage) { field.Name = "ArgumentPackage"; field.Type = TType.List; field.ID = 14; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ArgumentPackage.Count)); foreach (TDDIAbstractArgumentPackageRef _iter1214 in ArgumentPackage) { _iter1214.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TerminologyPackage != null && __isset.TerminologyPackage) { field.Name = "TerminologyPackage"; field.Type = TType.List; field.ID = 15; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TerminologyPackage.Count)); foreach (TDDIAbstractTerminologyPackageRef _iter1215 in TerminologyPackage) { _iter1215.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Implements != null && __isset.Implements) { field.Name = "Implements"; field.Type = TType.Struct; field.ID = 16; oprot.WriteFieldBegin(field); Implements.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIFMEAPackageInterface"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter525 in KeyValueMaps) { _iter525.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (FailureAnalysisArtifacts != null && __isset.FailureAnalysisArtifacts) { field.Name = "FailureAnalysisArtifacts"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FailureAnalysisArtifacts.Count)); foreach (TDDIAbstractFailureAnalysisArtifactRef _iter526 in FailureAnalysisArtifacts) { _iter526.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (FMEAArtifacts != null && __isset.FMEAArtifacts) { field.Name = "FMEAArtifacts"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FMEAArtifacts.Count)); foreach (TDDIAbstractFMEAArtifactRef _iter527 in FMEAArtifacts) { _iter527.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Implements != null && __isset.Implements) { field.Name = "Implements"; field.Type = TType.Struct; field.ID = 11; oprot.WriteFieldBegin(field); Implements.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDINote"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Content != null && __isset.Content) { field.Name = "Content"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Content.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIExpression"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Name.Write(oprot); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); Description.Write(oprot); oprot.WriteFieldEnd(); } if (ImplementationConstraint != null && __isset.ImplementationConstraint) { field.Name = "ImplementationConstraint"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ImplementationConstraint.Count)); foreach (TDDIImplementationConstraintRef _iter1351 in ImplementationConstraint) { _iter1351.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Note != null && __isset.Note) { field.Name = "Note"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Note.Count)); foreach (TDDINoteRef _iter1352 in Note) { _iter1352.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TaggedValue != null && __isset.TaggedValue) { field.Name = "TaggedValue"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TaggedValue.Count)); foreach (TDDITaggedValueRef _iter1353 in TaggedValue) { _iter1353.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Value != null && __isset.@Value) { field.Name = "Value"; field.Type = TType.String; field.ID = 11; oprot.WriteFieldBegin(field); oprot.WriteString(Value); oprot.WriteFieldEnd(); } if (Categories != null && __isset.Categories) { field.Name = "Categories"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Categories.Count)); foreach (TDDICategoryRef _iter1354 in Categories) { _iter1354.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Element != null && __isset.Element) { field.Name = "Element"; field.Type = TType.List; field.ID = 13; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Element.Count)); foreach (TDDIAbstractExpressionElementRef _iter1355 in Element) { _iter1355.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIArchitecturePackage"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter9 in KeyValueMaps) { _iter9.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (DependabilityRequirements != null && __isset.DependabilityRequirements) { field.Name = "DependabilityRequirements"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, DependabilityRequirements.Count)); foreach (TDDIAbstractDependabilityRequirementRef _iter10 in DependabilityRequirements) { _iter10.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (AssuranceLevel != null && __isset.AssuranceLevel) { field.Name = "AssuranceLevel"; field.Type = TType.Struct; field.ID = 9; oprot.WriteFieldBegin(field); AssuranceLevel.Write(oprot); oprot.WriteFieldEnd(); } if (DesignArtifacts != null && __isset.DesignArtifacts) { field.Name = "DesignArtifacts"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, DesignArtifacts.Count)); foreach (TDDIAbstractDesignArtifactRef _iter11 in DesignArtifacts) { _iter11.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIClaim"); oprot.WriteStructBegin(struc); TField field = new TField(); if (Gid != null && __isset.Gid) { field.Name = "Gid"; field.Type = TType.String; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteString(Gid); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 4; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (AbstractForm != null && __isset.AbstractForm) { field.Name = "AbstractForm"; field.Type = TType.Struct; field.ID = 5; oprot.WriteFieldBegin(field); AbstractForm.Write(oprot); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.Struct; field.ID = 6; oprot.WriteFieldBegin(field); Name.Write(oprot); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); Description.Write(oprot); oprot.WriteFieldEnd(); } if (ImplementationConstraint != null && __isset.ImplementationConstraint) { field.Name = "ImplementationConstraint"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ImplementationConstraint.Count)); foreach (TDDIImplementationConstraintRef _iter824 in ImplementationConstraint) { _iter824.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Note != null && __isset.Note) { field.Name = "Note"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Note.Count)); foreach (TDDINoteRef _iter825 in Note) { _iter825.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (TaggedValue != null && __isset.TaggedValue) { field.Name = "TaggedValue"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, TaggedValue.Count)); foreach (TDDITaggedValueRef _iter826 in TaggedValue) { _iter826.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (__isset.AssertionDeclaration) { field.Name = "AssertionDeclaration"; field.Type = TType.I32; field.ID = 11; oprot.WriteFieldBegin(field); oprot.WriteI32((int)AssertionDeclaration); oprot.WriteFieldEnd(); } if (MetaClaim != null && __isset.MetaClaim) { field.Name = "MetaClaim"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, MetaClaim.Count)); foreach (TDDIClaimRef _iter827 in MetaClaim) { _iter827.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIFaultToleranceMeasure"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter375 in KeyValueMaps) { _iter375.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (IntrinsicSafety != null && __isset.IntrinsicSafety) { field.Name = "IntrinsicSafety"; field.Type = TType.String; field.ID = 8; oprot.WriteFieldBegin(field); oprot.WriteString(IntrinsicSafety); oprot.WriteFieldEnd(); } if (SafeGuard != null && __isset.SafeGuard) { field.Name = "SafeGuard"; field.Type = TType.String; field.ID = 9; oprot.WriteFieldBegin(field); oprot.WriteString(SafeGuard); oprot.WriteFieldEnd(); } if (ApplierInformation != null && __isset.ApplierInformation) { field.Name = "ApplierInformation"; field.Type = TType.String; field.ID = 10; oprot.WriteFieldBegin(field); oprot.WriteString(ApplierInformation); oprot.WriteFieldEnd(); } if (__isset.RiskAcceptability) { field.Name = "RiskAcceptability"; field.Type = TType.Bool; field.ID = 11; oprot.WriteFieldBegin(field); oprot.WriteBool(RiskAcceptability); oprot.WriteFieldEnd(); } if (FurtherAction != null && __isset.FurtherAction) { field.Name = "FurtherAction"; field.Type = TType.String; field.ID = 12; oprot.WriteFieldBegin(field); oprot.WriteString(FurtherAction); oprot.WriteFieldEnd(); } if (Source != null && __isset.Source) { field.Name = "Source"; field.Type = TType.String; field.ID = 13; oprot.WriteFieldBegin(field); oprot.WriteString(Source); oprot.WriteFieldEnd(); } if (AssuranceLevel != null && __isset.AssuranceLevel) { field.Name = "AssuranceLevel"; field.Type = TType.Struct; field.ID = 14; oprot.WriteFieldBegin(field); AssuranceLevel.Write(oprot); oprot.WriteFieldEnd(); } if (MeasureType != null && __isset.MeasureType) { field.Name = "MeasureType"; field.Type = TType.Struct; field.ID = 15; oprot.WriteFieldBegin(field); MeasureType.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIDependabilityPackageBinding"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter361 in KeyValueMaps) { _iter361.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (DependabilityArtifacts != null && __isset.DependabilityArtifacts) { field.Name = "DependabilityArtifacts"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, DependabilityArtifacts.Count)); foreach (TDDIAbstractDependabilityArtifactRef _iter362 in DependabilityArtifacts) { _iter362.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ParticipantPackages != null && __isset.ParticipantPackages) { field.Name = "ParticipantPackages"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ParticipantPackages.Count)); foreach (TDDIAbstractDependabilityPackageRef _iter363 in ParticipantPackages) { _iter363.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIODEPackageInterface"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter778 in KeyValueMaps) { _iter778.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (ODEPackages != null && __isset.ODEPackages) { field.Name = "ODEPackages"; field.Type = TType.List; field.ID = 8; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ODEPackages.Count)); foreach (TDDIAbstractODEPackageRef _iter779 in ODEPackages) { _iter779.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (ArchitecturePackages != null && __isset.ArchitecturePackages) { field.Name = "ArchitecturePackages"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, ArchitecturePackages.Count)); foreach (TDDIAbstractArchitecturePackageRef _iter780 in ArchitecturePackages) { _iter780.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (DependabilityPackages != null && __isset.DependabilityPackages) { field.Name = "DependabilityPackages"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, DependabilityPackages.Count)); foreach (TDDIAbstractDependabilityPackageRef _iter781 in DependabilityPackages) { _iter781.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (FailureLogicPackages != null && __isset.FailureLogicPackages) { field.Name = "FailureLogicPackages"; field.Type = TType.List; field.ID = 11; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, FailureLogicPackages.Count)); foreach (TDDIAbstractFailureLogicPackageRef _iter782 in FailureLogicPackages) { _iter782.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (AssuranceCasePackages != null && __isset.AssuranceCasePackages) { field.Name = "AssuranceCasePackages"; field.Type = TType.List; field.ID = 12; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, AssuranceCasePackages.Count)); foreach (TDDIAbstractAssuranceCasePackageRef _iter783 in AssuranceCasePackages) { _iter783.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Implements != null && __isset.Implements) { field.Name = "Implements"; field.Type = TType.Struct; field.ID = 13; oprot.WriteFieldBegin(field); Implements.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIHazard"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter690 in KeyValueMaps) { _iter690.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (Condition != null && __isset.Condition) { field.Name = "Condition"; field.Type = TType.String; field.ID = 8; oprot.WriteFieldBegin(field); oprot.WriteString(Condition); oprot.WriteFieldEnd(); } if (HazardType != null && __isset.HazardType) { field.Name = "HazardType"; field.Type = TType.Struct; field.ID = 9; oprot.WriteFieldBegin(field); HazardType.Write(oprot); oprot.WriteFieldEnd(); } if (Measures != null && __isset.Measures) { field.Name = "Measures"; field.Type = TType.List; field.ID = 10; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, Measures.Count)); foreach (TDDIAbstractMeasureRef _iter691 in Measures) { _iter691.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (OutputFailure != null && __isset.OutputFailure) { field.Name = "OutputFailure"; field.Type = TType.Struct; field.ID = 11; oprot.WriteFieldBegin(field); OutputFailure.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }
public void Write(TProtocol oprot) { oprot.IncrementRecursionDepth(); try { TStruct struc = new TStruct("TDDIRiskAssessment"); oprot.WriteStructBegin(struc); TField field = new TField(); if (__isset.Id) { field.Name = "Id"; field.Type = TType.I64; field.ID = 1; oprot.WriteFieldBegin(field); oprot.WriteI64(Id); oprot.WriteFieldEnd(); } if (Name != null && __isset.Name) { field.Name = "Name"; field.Type = TType.String; field.ID = 2; oprot.WriteFieldBegin(field); oprot.WriteString(Name); oprot.WriteFieldEnd(); } if (Description != null && __isset.Description) { field.Name = "Description"; field.Type = TType.String; field.ID = 3; oprot.WriteFieldBegin(field); oprot.WriteString(Description); oprot.WriteFieldEnd(); } if (__isset.IsCitation) { field.Name = "IsCitation"; field.Type = TType.Bool; field.ID = 4; oprot.WriteFieldBegin(field); oprot.WriteBool(IsCitation); oprot.WriteFieldEnd(); } if (__isset.IsAbstract) { field.Name = "IsAbstract"; field.Type = TType.Bool; field.ID = 5; oprot.WriteFieldBegin(field); oprot.WriteBool(IsAbstract); oprot.WriteFieldEnd(); } if (KeyValueMaps != null && __isset.KeyValueMaps) { field.Name = "KeyValueMaps"; field.Type = TType.List; field.ID = 6; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, KeyValueMaps.Count)); foreach (TDDIKeyValueMapRef _iter698 in KeyValueMaps) { _iter698.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (CitedElement != null && __isset.CitedElement) { field.Name = "CitedElement"; field.Type = TType.Struct; field.ID = 7; oprot.WriteFieldBegin(field); CitedElement.Write(oprot); oprot.WriteFieldEnd(); } if (RelatedStandard != null && __isset.RelatedStandard) { field.Name = "RelatedStandard"; field.Type = TType.String; field.ID = 8; oprot.WriteFieldBegin(field); oprot.WriteString(RelatedStandard); oprot.WriteFieldEnd(); } if (RiskParamaters != null && __isset.RiskParamaters) { field.Name = "RiskParamaters"; field.Type = TType.List; field.ID = 9; oprot.WriteFieldBegin(field); { oprot.WriteListBegin(new TList(TType.Struct, RiskParamaters.Count)); foreach (TDDIAbstractRiskParameterRef _iter699 in RiskParamaters) { _iter699.Write(oprot); } oprot.WriteListEnd(); } oprot.WriteFieldEnd(); } if (Hazard != null && __isset.Hazard) { field.Name = "Hazard"; field.Type = TType.Struct; field.ID = 10; oprot.WriteFieldBegin(field); Hazard.Write(oprot); oprot.WriteFieldEnd(); } oprot.WriteFieldStop(); oprot.WriteStructEnd(); } finally { oprot.DecrementRecursionDepth(); } }