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:41
Bool IsPopulated() const
Definition: string.h:1451
#define DiagnosticOutput(formatString,...)
Definition: debugdiagnostics.h:170
#define iferr_return
Definition: resultbase.h:1524