<< Click to Display Table of Contents >> Navigation: NxLib API > C++ Interface > NxLibItem > set |
Set the item's value to a constant.
Variants throwing exceptions on API errors (template will be generated for int, double, bool, std::string and char*):
template <typename T> void set(T const& value) const
Variants returning API errors as int* parameter:
void set(int* returnCode, int value) const
void set(int* returnCode, double value) const
void set(int* returnCode, bool value) const
void set(int* returnCode, std::string const& value) const
void set(int* returnCode, char const * const value) const
returnCode |
The error code returned when accessing the item |
value |
The value to set. |
none