MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / hasNodeDefString

Function hasNodeDefString

source/MaterialXCore/Interface.h:339–342  ·  view source on GitHub ↗

Return true if the given interface has a NodeDef string.

Source from the content-addressed store, hash-verified

337
338 /// Return true if the given interface has a NodeDef string.
339 bool hasNodeDefString() const
340 {
341 return hasAttribute(NODE_DEF_ATTRIBUTE);
342 }
343
344 /// Return the NodeDef string for the interface.
345 const string& getNodeDefString() const

Callers 3

getNodeDefMethod · 0.85
validateMethod · 0.85
getDeclarationMethod · 0.85

Calls 1

hasAttributeFunction · 0.70

Tested by

no test coverage detected