MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ decode() [4/4]

template<NumericControlSlot T>
bool MayaFlux::Reflect::TextCodec< T >::decode ( std::string_view source,
T & value,
TextError & error )
inlinestatic

Definition at line 89 of file TextCodec.hpp.

90 {
92 if (!decoded)
93 return false;
94 value = (*decoded)[0];
95 return true;
96 }
std::optional< std::array< T, N > > parse_tuple(std::string_view source, TextError &error)
Parse exactly N whitespace separated finite numbers.
Definition TextCodec.hpp:55
Conversion of authored text to one value type.
Definition TextCodec.hpp:81

References MayaFlux::Reflect::parse_tuple().

Here is the call graph for this function: