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

◆ CreateArgStruct()

static Id drama::sds::Id::CreateArgStruct ( const std::string &  name = "ArgStructure")
static

Factory constructor which creates a new "Arg" style SDS structure.

This static factory drama::sds::Id constructor creates a new top level SDS item of type SDS_STRUCT. This style of structure is commonly used for action arguments within DRAMA.

See also
ArgNew()
Parameters
nameThe name for the structure. The default is what is normally supplied by the ArgNew() function, but any name acceptable to SDS can be specified.
Returns
An Id providing a reference to the structure.
Examples
argtest.cpp, and threadbasic.cpp.

Referenced by CreateArgCmdStruct(), CreateArgCmdStructSingle(), drama::Path::MonitorForward(), and drama::Path::MonitorForward().