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

◆ find()

const TensorFormat * MayaFlux::IO::TensorFormatRegistry::find ( std::string_view name) const
nodiscard

Format with this name, or nullptr.

Definition at line 24 of file TensorFormat.cpp.

25{
26 for (const auto& format : m_formats) {
27 if (format.name == name)
28 return &format;
29 }
30 return nullptr;
31}
std::vector< TensorFormat > m_formats

References m_formats.

Referenced by create_reader(), and create_writer().

Here is the caller graph for this function: