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

◆ eval()

MAYAFLUX_HOST_API Result< void > MayaFlux::Host::eval ( const std::string & code)

Evaluate a code snippet.

Before start_session the snippet is staged and evaluated at start.

Parameters
codeC++ code to evaluate.
Returns
Success, or the interpreter's error text.

Definition at line 342 of file Session.cpp.

343{
345}
Result< void > apply_or_stage(Stage stage, std::string value)
Apply an item to the running session, or stage it until start_session.
Definition Session.cpp:129

References MayaFlux::Host::detail::apply_or_stage(), and MayaFlux::Host::detail::Eval.

Referenced by eval_file().

Here is the call graph for this function:
Here is the caller graph for this function: