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