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

◆ read() [3/3]

template<typename T>
bool MayaFlux::Kakshya::CompositeFieldCodec< T >::read ( const Composite & source,
std::string_view name,
T & value,
std::string & error )
inlinestatic

Definition at line 54 of file CompositeDescribe.hpp.

56 {
57 const auto decoded = source.get<T>(name);
58 if (!decoded)
60 value = *decoded;
61 return true;
62 }
bool described_field_error(std::string_view name, std::string &error)
Mapping of one described member to a native Composite field.

References MayaFlux::Kakshya::detail::described_field_error().

Here is the call graph for this function: