PyMaterialXCore.Implementation¶
- class Implementation¶
Bases:
InterfaceElementAn implementation element within a
Document.An
Implementationis used to associate external source code with a specificNodeDef, providing a definition for the node that may either be universal or restricted to a specific target.Methods
__init__(*args, **kwargs)getFile(self)getFunction(self)getNodeDef(self)getNodeGraph(self)hasFile(self)hasFunction(self)hasNodeGraph(self)setFile(self, arg0)setFunction(self, arg0)setNodeDef(self, arg0)setNodeGraph(self, arg0)Attribute Names¶
- FILE_ATTRIBUTE = 'file'¶
- FUNCTION_ATTRIBUTE = 'function'¶
Properties¶
- CATEGORY = 'implementation'¶
Methods¶
- __init__(*args, **kwargs)¶
- getFile(self: Implementation) str¶
- getFunction(self: Implementation) str¶
- getNodeDef(self: Implementation) NodeDef¶
- getNodeGraph(self: Implementation) str¶
- hasFile(self: Implementation) bool¶
- hasFunction(self: Implementation) bool¶
- hasNodeGraph(self: Implementation) bool¶
- setFile(self: Implementation, arg0: str) None¶
- setFunction(self: Implementation, arg0: str) None¶
- setNodeDef(self: Implementation, arg0: NodeDef) None¶
- setNodeGraph(self: Implementation, arg0: str) None¶