internal static void CopyOut(v_durabilityPolicyI_s from, ref DurabilityQosPolicy to)
        {
            if (to == null)
            {
                to = new DurabilityQosPolicy();
            }

            // Get kind field
            to.Kind = (DurabilityQosPolicyKind)from.v.kind;
        }
 internal static DDS.ReturnCode CopyIn(DurabilityQosPolicy from, ref v_durabilityPolicyI_s to)
 {
     DDS.ReturnCode result = DDS.ReturnCode.Ok;
     if (from != null)
     {
         to.v.kind = (V_DURABILITYKIND)from.Kind;
     }
     else
     {
         result = DDS.ReturnCode.BadParameter;
         ReportStack.Report(result, "DurabilityQosPolicy attribute may not be a null pointer.");
     }
     return(result);
 }
 internal static void CleanupIn(ref v_durabilityPolicyI_s to)
 {
 }