RTI Connext .Net APIs  Version 5.1.0
DDS::ICopyable< T > Interface Template Reference

<<eXtension>> <<interface>> Interface for all the user-defined data type classes that support copy. More...

#include <managed_sequence.h>

Inheritance diagram for DDS::ICopyable< T >:
DDS::Bytes DDS::DynamicData DDS::KeyedBytes DDS::KeyedString DDS::ParticipantBuiltinTopicData DDS::PublicationBuiltinTopicData DDS::SubscriptionBuiltinTopicData DDS::TopicBuiltinTopicData Foo Foo

Detailed Description

template<typename T>
interface DDS::ICopyable< T >

<<eXtension>> <<interface>> Interface for all the user-defined data type classes that support copy.

A class implements the DDS::ICopyable interface to indicate that it allows its entire state to be replaced with the state of another object. This state copy is a deep copy, such that subsequent changes to any part of one object will not be observed in the other.

Therefore, in general, object references in this object cannot simply be reassigned to those in the source object. (Strings are an exception to this rule, because they are immutable.)


RTI Connext .Net APIs Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc