Go to:
Attributes.
Metadata editing node. Used to modify metadata that flows through
the DG. The data to which metadata is attached comes in through
the 'inData' attribute, modified according to the editing instructions
in the 'edits' multi-attribute and reattached to the data going out
through the 'outData' attribute.
The 'edits' attribute is created based on the set of edits applied through
this node. Each successive edit is added to the end of the list. The
attributes may be edited or deleted but there is no "roll-up" feature
implemented directly on the node.
Attributes used by this node. The structure is a multi-level compound
with multi-attributes aggregating per-stream and per-channel edits.
This is the structure of the editing attribute.
aEdits (multi)
/ \
aChannelName aChannelEdits (multi)
/ \
aStreamName __________aStreamEdits (multi) ______
/ / \ \_
/ / \ \_
/ / \ \
aMetadataEditType aMetadataEditIndex aMetadataEditValue aError
The data sent through to the outData attribute will always be of a
type that supports embedded metadata. Most types do not and in those
situations the metadata edits will be put into empty data at the output,
ignoring whatever non-metadata was present at the input.
To help debugging the output called 'errors' has the failure information
stored on it. For example if edit[3] specifies deletion of index 12 and in
the current input metadata index 12 does not exist then there will be
an error[3] with text something like "Tried to delete a non-existent
index". As this example shows, the actual error may not affect the result
at all, but it is relevant for debugging. The error string will be blank
if the operation succeeded.
Node name | Parents | MFn type | Compatible function sets |
---|
editMetadata | node | kEditMetadata | kBase kNamedObject kDependencyNode kEditMetadata |
Attributes (12)
channelEdits, channelName, edits, error, inData, metadataEditType, metadataEditValue, metadataIndexValue, metadataMember, outData, streamEdits, streamName
Long name (short name) | Type | Default | Flags |
---|
|
inData
(id )
| generic typed data | NULL | |
|
|
outData
(od )
| generic typed data | NULL | |
|
|
edits
(e )
| compound | n/a | |
|
| channelName
(cn )
| string | NULL | | |
|
| channelEdits
(ce )
| compound | n/a | | |
| streamName
(sn )
| string | NULL | | |
| | streamEdits
(se )
| compound | n/a | | |
| metadataEditType
(met )
| enum | 0 | | |
| | metadataIndexValue
(miv )
| string | NULL | | |
| | metadataMember
(mm )
| string | NULL | | |
| | metadataEditValue
(mev )
| string | NULL | | |
| |
|
|