template<typename T, Bool ERROR_WHEN_AMBIGUOUS = true>
class maxon::UniqueValueReceiver< T, ERROR_WHEN_AMBIGUOUS >
ValueReceiver type that will copy the first found value for later access and keep iterating for counting values or validating uniqueness. Useful for calls such as GetConnections when we are interested in enforcing that there is a single connection on a port. Iterations continue until the end is reached, or when non uniqueness is detected. of the given type.
...
UniqueValueReceiver<
const String&,
false> recv;
Definition: c4d_string.h:39
Bool IsPopulated() const
Definition: string.h:1449
#define DiagnosticOutput(formatString,...)
Definition: debugdiagnostics.h:176
#define iferr_return
Definition: resultbase.h:1519