Group CIValueAccess¶
The functions in this section provide access to nodes as value nodes. As value nodes are not an actual node type, the functions are named as regular nodes. Functions include reading from and writing to any node with a string.
Public Functions¶
| Type | Name |
|---|---|
| spinNodeFromString (spinNodeHandle hNode, const char * pBuf) |
|
| spinNodeFromStringEx (spinNodeHandle hNode, bool8_t bVerify, const char * pBuf) |
|
| spinNodeToString (spinNodeHandle hNode, char * pBuf, size_t * pBufLen) |
|
| spinNodeToStringEx (spinNodeHandle hNode, bool8_t bVerify, char * pBuf, size_t * pBufLen) |
Public Functions Documentation¶
function spinNodeFromString¶
Sets the value of any node type from a c-string; it is important to ensure that the value of the c-string is appropriate to the node type
See also: spinError
Parameters:
hNodeThe node having its value changedpBufThe c-string of the value to set
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinNodeFromStringEx¶
Sets the value of any node type from a c-string; manually set whether to verify the node; ensure the value of the c-string is appropriate to the node type
See also: spinError
Parameters:
hNodeThe node having its value changedbVerifyThe boolean of whether to verify the nodepBufThe c-string of the value to set
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinNodeToString¶
Retrieves the value of any node type as a c-string
See also: spinError
Parameters:
hNodeThe node of the value to readpBufThe c-string character buffer in which the value of the node is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinNodeToStringEx¶
Retrieves the value of any node type as a c-string; manually set whether to verify the node
See also: spinError
Parameters:
hNodeThe node of the value to readbVerifyThe boolean of whether to verify the nodepBufThe c-string character buffer in which the value of the node is returnedpBufLenThe unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error