internal static void CopyOut(v_orderbyPolicyI_s from, ref DestinationOrderQosPolicy to)
 {
     if (to == null)
     {
         to = new DestinationOrderQosPolicy();
     }
     to.Kind = (DestinationOrderQosPolicyKind)from.v.kind;
 }
        internal static int countErrors(DestinationOrderQosPolicy o)
        {
            int errorCount = 0;

            if (o.Kind > DestinationOrderQosPolicyKind.BySourceTimestampDestinationorderQos)
            {
                errorCount++;
            }
            return(errorCount);
        }
 internal static DDS.ReturnCode CopyIn(DestinationOrderQosPolicy from, ref v_orderbyPolicyI_s to)
 {
     DDS.ReturnCode result = DDS.ReturnCode.Ok;
     if (from != null)
     {
         to.v.kind = (V_ORDERBYKIND)from.Kind;
     }
     else
     {
         result = DDS.ReturnCode.BadParameter;
         ReportStack.Report(result, "DestinationOrderQosPolicy attribute may not be a null pointer.");
     }
     return(result);
 }
 public ModifiableDestinationOrderQosPolicy CopyFrom(DestinationOrderQosPolicy other)
 {
     return new ModifiableDestinationOrderQosPolicyImpl(other.GetKind(),other.GetBootstrap ()); 
 }
 public ModifiableDestinationOrderQosPolicyImpl(DestinationOrderQosPolicy qos)
     : base(qos.GetKind(),qos.GetBootstrap())
 {
 }
 internal static void CopyOut(IntPtr from, ref DestinationOrderQosPolicy to, int offset)
 {
 	if (to == null) to = new DestinationOrderQosPolicy();
     to.Kind = (DestinationOrderQosPolicyKind)
         BaseMarshaler.ReadInt32(from, offset + offset_kind);
 }
 internal void CopyOut(ref DestinationOrderQosPolicy to)
 {
     CopyOut(GapiPtr, ref to, 0);
 }
 internal static DDS.ReturnCode CopyIn(DestinationOrderQosPolicy from, IntPtr to, int offset)
 {
     DDS.ReturnCode result = DDS.ReturnCode.Ok;
     if (from != null) {
         BaseMarshaler.Write(to, offset + offset_kind, (int)from.Kind);
     } else {
         result = DDS.ReturnCode.BadParameter;
         DDS.OpenSplice.OS.Report(
                 DDS.OpenSplice.ReportType.OS_ERROR,
                 "DDS.OpenSplice.CustomMarshalers.DestinationOrderQosPolicyMarshaler.CopyIn",
                 "DDS/OpenSplice/CustomMarshalers/QosContainedMarshalers.cs",
                 DDS.ErrorCode.InvalidValue,
                 "DestinationOrderQosPolicy attribute may not be a null pointer.");
     }
     return result; 
 }
 internal DDS.ReturnCode CopyIn(DestinationOrderQosPolicy from)
 {
     cleanupRequired = true;
     return CopyIn(from, GapiPtr, 0);
 }