ODNodeCreateWithNodeType(_:_:_:_:)
Returns a new node created with a specified type.
Declaration
func ODNodeCreateWithNodeType(_ allocator: CFAllocator!, _ session: ODSessionRef!, _ nodeType: ODNodeType, _ 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.
- nodeType:
The type 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(_:_:_:_:_:)ODNodeCreateWithName(_:_:_:_:)ODNodeCustomCall(_:_:_:_:)ODNodeGetName(_:)ODNodeGetTypeID()ODNodeSetCredentials(_:_:_:_:_:)ODNodeSetCredentialsExtended(_:_:_:_:_:_:_:)