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