ODNodeCreateWithName(_:_:_:_:)
Returns a new node created with a specified name.
Declaration
func ODNodeCreateWithName(_ allocator: CFAllocator!, _ session: ODSessionRef!, _ nodeName: CFString!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNodeRef>!Parameters
- allocator:
The memory allocator to use. If
NULL, the default allocator is used. - session:
The session to create the node in.
- nodeName:
The name of the node.
- error:
An error reference for error details. Can be
NULL.
Return Value
The created node.
See Also
Working with Nodes
ODNodeCopyDetails(_:_:_:)ODNodeCopyRecord(_:_:_:_:_:)ODNodeCopySubnodeNames(_:_:)ODNodeCopySupportedAttributes(_:_:_:)ODNodeCopySupportedRecordTypes(_:_:)ODNodeCopyUnreachableSubnodeNames(_:_:)ODNodeCreateCopy(_:_:_:)ODNodeCreateRecord(_:_:_:_:_:)ODNodeCreateWithNodeType(_:_:_:_:)ODNodeCustomCall(_:_:_:_:)ODNodeGetName(_:)ODNodeGetTypeID()ODNodeSetCredentials(_:_:_:_:_:)ODNodeSetCredentialsExtended(_:_:_:_:_:_:_:)