DATAKIT API  V2025.3
Accessing to Dtk_MetaData Class

This is the Dtk_MetaData Class.
The Dtk_MetaDataPtr object is used to store any additional informations about Dtk_ComponentPtr or Dtk_NodePtr.
It can be either properties or parameters for example.
.

Description

A Dtk_MetaData is an entity used to store additional information about a Dtk_ComponentPtr or Dtk_NodePtr.
It includes the type of the metadata (e.g. Dtk_string), its title, and its value.
It can be for example a property or a parameter.
This is the Dtk_MetaDataGroup Class.
The Dtk_MetaDataGroupPtr object is used to store a group of Dtk_MetaDataPtr in a Dtk_ComponentPtr or a or Dtk_NodePtr.
The children metadata may or may not be also stored as single metadata but if it is the case, then their category should be defined with the name of their Dtk_MetaDataGroup in order to be distinguished from metadata only accessible alone.
It is defined by a name and a tab of metadatas.
.

See also
Please use the Dtk_MetaData class to handle it.
Please use the Dtk_MetaDataGroup class to handle it.

Sample

Sample to write a Dtk_MetaData

Related entities

How to use Publications