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

◆ last_function_line()

unsigned MayaFlux::Reflect::Tool::last_function_line ( const HeaderFunctions & functions)
nodiscard

The line after which the sidecar include may appear: the last marker of the header.

Definition at line 57 of file FunctionSidecar.cpp.

58{
59 unsigned last = 0;
60 for (const FunctionRequest& function : functions.functions) {
61 last = std::max(last, function.line);
62 }
63 return last;
64}
One described function: how to name it as a template argument, and its parameter names.
std::vector< FunctionRequest > functions

References MayaFlux::Reflect::Tool::HeaderFunctions::functions, and MayaFlux::Reflect::Tool::FunctionRequest::line.

Referenced by check_function_sidecars(), and run_function_build().

Here is the caller graph for this function: