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

◆ kind_known()

bool MayaFlux::Nexus::State::kind_known ( std::string_view  s)
inline

Return true if s maps to a known Fabric::Kind token.

Call this as a gate before parse_kind. Unrecognised strings should be warned and skipped at the call site; parse_kind assumes the string is valid.

Definition at line 367 of file Schema.hpp.

368{
369 return Reflect::string_to_enum_case_insensitive<Fabric::Kind>(s).has_value();
370}

Referenced by MayaFlux::Nexus::StateDecoder::decode(), and MayaFlux::Nexus::StateDecoder::reconstruct().

+ Here is the caller graph for this function: