internal override void CopyOut(v_topicQos from, ref TopicQos to)
 {
     if (to == null)
     {
         to = new TopicQos();
     }
     TopicDataQosPolicyMarshaler.CopyOut(from.topicData, ref to.TopicData);
     DurabilityQosPolicyMarshaler.CopyOut(from.durability, ref to.Durability);
     DurabilityServiceQosPolicyMarshaler.CopyOut(from.durabilityService, ref to.DurabilityService);
     DeadlineQosPolicyMarshaler.CopyOut(from.deadline, ref to.Deadline);
     LatencyBudgetQosPolicyMarshaler.CopyOut(from.latency, ref to.LatencyBudget);
     LivelinessQosPolicyMarshaler.CopyOut(from.liveliness, ref to.Liveliness);
     ReliabilityQosPolicyMarshaler.CopyOut(from.reliability, ref to.Reliability);
     DestinationOrderQosPolicyMarshaler.CopyOut(from._orderby, ref to.DestinationOrder);
     HistoryQosPolicyMarshaler.CopyOut(from.history, ref to.History);
     ResourceLimitsQosPolicyMarshaler.CopyOut(from.resource, ref to.ResourceLimits);
     TransportPriorityQosPolicyMarshaler.CopyOut(from.transport, ref to.TransportPriority);
     LifespanQosPolicyMarshaler.CopyOut(from.lifespan, ref to.Lifespan);
     OwnershipQosPolicyMarshaler.CopyOut(from.ownership, ref to.Ownership);
 }
 internal override void CopyOut(v_writerQos from, ref DataWriterQos to)
 {
     if (to == null)
     {
         to = new DataWriterQos();
     }
     DurabilityQosPolicyMarshaler.CopyOut(from.durability, ref to.Durability);
     DeadlineQosPolicyMarshaler.CopyOut(from.deadline, ref to.Deadline);
     LatencyBudgetQosPolicyMarshaler.CopyOut(from.latency, ref to.LatencyBudget);
     LivelinessQosPolicyMarshaler.CopyOut(from.liveliness, ref to.Liveliness);
     ReliabilityQosPolicyMarshaler.CopyOut(from.reliability, ref to.Reliability);
     DestinationOrderQosPolicyMarshaler.CopyOut(from._orderby, ref to.DestinationOrder);
     HistoryQosPolicyMarshaler.CopyOut(from.history, ref to.History);
     ResourceLimitsQosPolicyMarshaler.CopyOut(from.resource, ref to.ResourceLimits);
     TransportPriorityQosPolicyMarshaler.CopyOut(from.transport, ref to.TransportPriority);
     LifespanQosPolicyMarshaler.CopyOut(from.lifespan, ref to.Lifespan);
     UserDataQosPolicyMarshaler.CopyOut(from.userData, ref to.UserData);
     OwnershipQosPolicyMarshaler.CopyOut(from.ownership, ref to.Ownership);
     OwnershipStrengthQosPolicyMarshaler.CopyOut(from.strength, ref to.OwnershipStrength);
     WriterDataLifecycleQosPolicyMarshaler.CopyOut(from.lifecycle, ref to.WriterDataLifecycle);
 }