operator<<

Navigation:  NxLib API > C++ Interface > NxLibItem >

operator<<

Previous pageReturn to chapter overviewNext page

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) const

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

void operator<<(NxLibItem const& otherItem) const

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