internal static void CopyOut(v_topicDataPolicyI_s from, ref TopicDataQosPolicy to) { if (to == null) { to = new TopicDataQosPolicy(); } SequenceOctetMarshaler.CopyOut(from.v._value, ref to.Value, from.v.size); }
internal static DDS.ReturnCode CopyIn(TopicDataQosPolicy from, ref v_topicDataPolicyI_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, "TopicDataQosPolicy attribute may not be a null pointer."); } return(result); }
internal static void CleanupIn(ref v_topicDataPolicyI_s to) { SequenceOctetMarshaler.CleanupIn(ref to.v._value); }