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

◆ CreateFromSdsId() [2/2]

static Id drama::sds::Id::CreateFromSdsId ( SdsId item)
static

Factory constructor method that constructs an sds::Id item from an existing old C++ interface SdsId item.

This static factory sds::Id constructor that takes an existing SdsId (Old style DRAMA C++ interface) and creates an sds::Id class object which refers to the underlying SDS id.

This version of this method is normally used when the new item will outlive the source SdsId item. It will become responsible for tidying up the SDS item.

Parameters
itemThe pointer to the SdsId of the item to be wrapped in an sds::Id. Will be modified to tell SdsId not to tidy up this item.
Returns
An Id providing a reference to the structure.