Value.hpp
184 T operator*() {
Encapsulates a value returned an instance of ResultsBase for a specified property.
Definition: Value.hpp:68
Exception thrown when a property does not exist in the data set.
Definition: Exceptions.hpp:102
T getValue()
Gets the value contained in the Value instance.
Definition: Value.hpp:122
There are too many values to be expressed as the requested type.
Definition: results.h:78
There are no results to get a value from.
Definition: results.h:75
const char * getNoValueMessage()
Gets a message explaining why there is no value.
Definition: Value.hpp:112
void setNoValueReason(fiftyoneDegreesResultsNoValueReason reason, const char *message)
Set the reason there is no value available.
Definition: Value.hpp:165
Exception indicating that there were no values in the results for the requested property.
Definition: Exceptions.hpp:145
The requested property does not exist, or is not a required property.
Definition: results.h:63
bool hasValue()
Indicates whether or not a valid value has been returned by the ResultsBase instance.
Definition: Value.hpp:93
fiftyoneDegreesResultsNoValueReason getNoValueReason()
Indicates the reason why valid values are not available.
Definition: Value.hpp:103
fiftyoneDegreesResultsNoValueReason
Enum containing reasons which cause a value to not be present or valid.
Definition: results.h:54
The difference value is higher than the threshold, see the Pattern API.
Definition: results.h:55
void setValue(T value)
Set the value to be contained in the Value instance.
Definition: Value.hpp:152
Exception indicating that an attempt was made to return a single value type (e.g.
Definition: Exceptions.hpp:133
There is no result which contains a value for the requested property.
Definition: results.h:68
