internal static void CopyOut(v_historyPolicyI_s from, ref HistoryQosPolicy to) { if (to == null) { to = new HistoryQosPolicy(); } to.Kind = (HistoryQosPolicyKind)from.v.kind; to.Depth = from.v.depth; }
internal static DDS.ReturnCode CopyIn(HistoryQosPolicy from, ref v_historyPolicyI_s to) { DDS.ReturnCode result = DDS.ReturnCode.Ok; if (from != null) { to.v.kind = (V_HISTORYQOSKIND)from.Kind; to.v.depth = from.Depth; } else { result = DDS.ReturnCode.BadParameter; ReportStack.Report(result, "HistoryQosPolicy attribute may not be a null pointer."); } return(result); }
internal static void CleanupIn(ref v_historyPolicyI_s to) { }