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

◆ only_attributes()

template<typename Source, typename Access>
bool MayaFlux::Portal::Forma::Detail::DocumentWalk< Source, Access >::only_attributes ( const Source & source,
std::initializer_list< std::string_view > allowed,
std::string_view allowed_prefix = {} )
inlineprivate

Definition at line 282 of file Instantiate.hpp.

283 {})
284 {
287 || (!allowed_prefix.empty() && name.starts_with(allowed_prefix))) {
288 return true;
289 }
291 + "> has an unsupported attribute " + std::string(name));
292 });
293 }
bool fail(const Source &at, std::string message)

Referenced by read_structure(), read_surface(), read_template(), and read_templates().

Here is the caller graph for this function: