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

◆ instantiate_document() [3/3]

template<typename Source, typename Access = Reflect::RecordAccess<Source>>
std::optional< PlacedInstances > MayaFlux::Portal::Forma::instantiate_document ( const ManifestTables< Source, Access > & tables,
const Source & root,
SurfaceMap & surfaces,
std::string & error )
nodiscard

Place a document through all three tables.

As instantiate_document, and a surface may also hold element children. An element has a name that shares the namespace of ids, a state, the Layer attributes visible, interactive, relate, front, back and clip, one form that names a registered call and gives its arguments by parameter name, and on children. The checks run before anything is placed, as for an instance.

Definition at line 830 of file Instantiate.hpp.

833{
835 tables.factories, &tables.actions, &tables.calls, root, surfaces, error);
836}
std::optional< PlacedInstances > instantiate(const FactoryTable< Source, Access > &table, const ActionTable< Source, Access > *actions, const CallTable< Source, Access > *calls, const Source &root, SurfaceMap &surfaces, std::string &error)
ActionTable< Source, Access > actions
FactoryTable< Source, Access > factories
CallTable< Source, Access > calls

References MayaFlux::Portal::Forma::ManifestTables< Source, Access >::actions, MayaFlux::Portal::Forma::ManifestTables< Source, Access >::calls, MayaFlux::Portal::Forma::ManifestTables< Source, Access >::factories, MayaFlux::Portal::Forma::Detail::instantiate(), and instantiate_document().

Here is the call graph for this function: