internal static void CopyOut(v_strengthPolicyI_s from, ref OwnershipStrengthQosPolicy to) { if (to == null) { to = new OwnershipStrengthQosPolicy(); } to.Value = from.v._value; }
internal static DDS.ReturnCode CopyIn(OwnershipStrengthQosPolicy from, ref v_strengthPolicyI_s to) { DDS.ReturnCode result = DDS.ReturnCode.Ok; if (from != null) { to.v._value = from.Value; } else { result = DDS.ReturnCode.BadParameter; ReportStack.Report(result, "OwnershipStrengthQosPolicy attribute may not be a null pointer."); } return(result); }
internal static int countErrors(OwnershipStrengthQosPolicy o) { int errorCount = 0; return(errorCount); }
internal static void CopyOut(IntPtr from, ref OwnershipStrengthQosPolicy to, int offset) { if (to == null) to = new OwnershipStrengthQosPolicy(); to.Value = BaseMarshaler.ReadInt32(from, offset + offset_value); }
internal void CopyOut(ref OwnershipStrengthQosPolicy to) { CopyOut(GapiPtr, ref to, 0); }
internal static DDS.ReturnCode CopyIn(OwnershipStrengthQosPolicy from, IntPtr to, int offset) { DDS.ReturnCode result = DDS.ReturnCode.Ok; if (from != null) { BaseMarshaler.Write(to, offset + offset_value, from.Value); } else { result = DDS.ReturnCode.BadParameter; DDS.OpenSplice.OS.Report( DDS.OpenSplice.ReportType.OS_ERROR, "DDS.OpenSplice.CustomMarshalers.OwnershipStrengthQosPolicyMarshaler.CopyIn", "DDS/OpenSplice/CustomMarshalers/QosContainedMarshalers.cs", DDS.ErrorCode.InvalidValue, "OwnershipStrengthQosPolicy attribute may not be a null pointer."); } return result; }
internal DDS.ReturnCode CopyIn(OwnershipStrengthQosPolicy from) { cleanupRequired = true; return CopyIn(from, GapiPtr, 0); }
public ModifiableOwnershipStrengthQosPolicy CopyFrom(OwnershipStrengthQosPolicy other) { return new ModifiableOwnershipStrengthQosPolicyImpl(other); }
public ModifiableOwnershipStrengthQosPolicyImpl(OwnershipStrengthQosPolicy qos) : base(qos.GetValue(),qos.GetBootstrap()) { }