AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ Copy()

virtual Id drama::sds::Id::Copy ( ) const
virtual

Factory constructor method Id Copy constructor.

This non-static factory constructor is used to generate a copy of an existing SDS structure. This is a deep copy - a new internal SDS item is created.

Warning
If the current object refers to a null SDS item, then the result is a null id, rather then an error being thrown.
Returns
An Id providing a reference to the copy.
See also
SdsCopy().
Examples
argtest.cpp.

Referenced by drama::thread::TAction::SetReturnArg().