![]() |
ctrlX Data Layer API for Python
3.3.0
The ctrlX Data Layer API allows access to the ctrlX Data Layer with Python
|
Public Member Functions | |
def | __init__ (self, AllowedOperation allowed=AllowedOperation.BROWSE, str description="", str description_url="") |
def | add_extensions (self, str key, str val) |
def | add_localization_description (self, str ident, str txt) |
def | add_localization_display_name (self, str ident, str txt) |
def | add_reference (self, ReferenceType t, str addr) |
Variant | build (self) |
def | set_display_format (self, DisplayFormat.DisplayFormat.Auto f) |
def | set_display_name (self, str name) |
def | set_node_class (self, NodeClass node_class) |
def | set_operations (self, AllowedOperation allowed=AllowedOperation.NONE) |
def | set_unit (self, str unit) |
Static Public Member Functions | |
Variant | create_metadata (str name, str description, str unit, str description_url, NodeClass node_class, bool read_allowed, bool write_allowed, bool create_allowed, bool delete_allowed, bool browse_allowed, str type_path, dict references=None) |
Builds a flatbuffer provided with the metadata information for a Data Layer node.
Definition at line 78 of file metadata_utils.py.
Variant build | ( | self | ) |
Build Metadata as Variant.
Definition at line 149 of file metadata_utils.py.
References MetadataBuilder.__build_descriptions(), MetadataBuilder.__build_display_names(), MetadataBuilder.__build_extensions(), MetadataBuilder.__build_operations(), MetadataBuilder.__build_references(), MetadataBuilder.__buildV2(), MetadataBuilder.__description, MetadataBuilder.__description_url, MetadataBuilder.__displayformat, MetadataBuilder.__name, MetadataBuilder.__node_class, and MetadataBuilder.__unit.