RTI Connext .NET API (legacy)  Version 6.1.2
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>

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.)

Examples:
HelloWorld.cpp.