StringParameter

primo::avblocks::StringParameter

class StringParameter : public primo::avblocks::Parameter

The parameter represents an untyped value which is stored in a char_t string.

The parameter name constant documents how this value should be interpreted.

Public Functions

virtual const char_t *value() const = 0

Returns the parameter value.

Returns:

A pointer to zero terminated string. The returned pointer cannot be NULL but the string can be empty.

virtual bool_t setValue(const char_t *value) = 0

Sets the parameter value.

Parameters:

value – [in] A pointer to zero terminated string. If NULL it is interpreted as if an empty string is provided. The string pointed by value is copied internally and is not required to be valid after the method returns.