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

◆ Export()

void SdsId::Export ( const unsigned long  length,
void *const  data,
StatusType *const  status 
)
inline

Export the SDS structure into a buffer.

The SDS structure refered to by this SdsId object is exported into the specified buffer.

Note that if any of the underlying data is not defined (say because you created a new item but have not yet put any data into it) then the size will not include space for the data itself. This is acceptable to SDS but may not be what you expect. To create the required space in the exported object, use the SdsId::ExportDefined method.

See also
SdsExport()
SdsId::ExportDefined
Parameters
lengthThe length of the buffer. Should be the value returned by SdsSize() or SdsId::Size
dataThe buffer to write the data into. Should be of at least the size specified by length.
statusInherited status.