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

◆ set()

template<typename T>
requires (ArithmeticData<T> || GlmType<T>)
bool MayaFlux::Kakshya::CompositeInsertion::set ( size_t index,
std::string_view field_name,
T value )
inline

Write an arithmetic or GLM field of an existing element.

Template Parameters
TExact type declared for the field.
Parameters
indexElement index.
field_nameField to write.
valueValue to store.
Returns
True on success; false for an invalid index, name, or type.

Definition at line 69 of file CompositeInsertion.hpp.

70 {
71 return m_array->set(index, field_name, value);
72 }

References m_array.

Referenced by MayaFlux::Kakshya::copy_forest_subtree(), MayaFlux::IO::XmlReader::open(), and MayaFlux::Kakshya::CompositeFieldCodec< T >::write().

Here is the caller graph for this function: