|
ADTF Qt5
|
#include <types.h>
Inherits QObject, and ddl::DDStructure.
Public Member Functions | |
| Q_INVOKABLE QObject * | add (const QString &strElementName, const QJSValue &oElementType, quint64 nArraySize=1) |
A wrapper for adtf::mediadescription::structure.
| Q_INVOKABLE QObject * adtf::javascript::scripting::cScriptStructure::add | ( | const QString & | strElementName, |
| const QJSValue & | oElementType, | ||
| quint64 | nArraySize = 1 ) |
Adds an element to the structure definition.
| [in] | strElementName | The name of the element. |
| [in] | oElementType | Either the Type name (i.e. "tUInt32") or a cScriptStructure sub-structure definition. |
| [in] | nArraySize | The array size. |