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

◆ CreateTopLevel()

static Id drama::sds::Id::CreateTopLevel ( const std::string &  name,
const SdsCodeType  code,
const std::string &  extra = "" 
)
static

Constructor which creates a new (non-array) top-level item.

This static factory sds::Id constructor creates a new SDS top-level SDS item.

See also
SdsNew()
Parameters
nameThe name for the new SDS item.
codeThe SDS code for the new item.
extraThe extra data, if any. Defaults to none.
Returns
An Id providing a reference to the structure.