AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ COut() [2/2]

void SdsId::COut ( const bool  outlives,
SdsIdType *  item,
bool *const  free = 0,
bool *const  del = 0,
bool *const  readfree = 0 
)
inline

Return this item as an SdsIdType for return to C code.

Deprecated:
Please use the version which returns the value.

This method will setup for and obtain details of this item for return of this item using an SdsIdType. Of particular note - if outlives is true, the SdsIdType item returned by this is considered to outlive this object and we leave the freeing of the id etc up to the caller, who can use the other variables to work out what to do.

Parameters
outlivesIf true, then the returned value will outlive this object and this object is modified to reflect this.
itemthe SDS item is returned here.
freeIf specified, set true to indicate that the destructor for this object would have invoked SdsFreeId() on the underlying SDS ID. If outlives is true, this won't now happen.
delIf specified, set true to indicate that the destructor for this object would have invoked SdsDelete() on the underlying SDS ID. If outlives is true, this won't now happen.
readfreeIf specified, set true to indicate that the destructor for this object would have invoked SdsReadFree() on the underlying SDS ID. If outlives is true, this won't now happen.
Returns
The underlying SDS ID value.