operator<<

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

operator<<

Sets a new value to the item via a Json string or other NxLibItem.

Note: For easier usage of this operator within the NxLib parameter tree, this operator only replaces or appends node values. See also the onlyWriteableNodes parameter of nxLibSetJson.

Signatures

Note: All variants of this function will throw exceptions on API errors!

void operator<<(std::string const& jsonString)

void operator<<(std::string char const * const jsonString)

void operator<<(NxLibItem const& otherItem)

Parameters

jsonString

The JSON representation (a value or subtree) to set the item to.

otherItem

Another item whose JSON representation should be set on this item.

Return Value

none