A factory to build MetadataNode instances.
More...
#include <iolink/metadata/MetadataNodeFactory.h>
A factory to build MetadataNode instances.
◆ create()
static std::shared_ptr< MetadataNode > iolink::MetadataNodeFactory::create |
( |
const std::string & |
key, |
|
|
std::shared_ptr< VariantDataValue > |
value |
|
) |
| |
|
static |
To create a metadata node with a key and a value.
- Parameters
-
key | string to identify the node |
value | the VariantDataValue object associated to the node (can be null if no value) |
- Returns
- the created node
The documentation for this class was generated from the following file: