--- myst: substitutions: bloc: python: 1-4,11-33 cpp: 4,7-27 bloc1: python: 7-10 cpp: 9-12 bloc2: python: 11- cpp: 13- --- (use_cases_macro_dataserver_compute_stat_vector)= # Macro "**dataserverComputeStatVector.{{extension}}**" ## Objective This part shows the complete code used to produce the console display in [](#dataserver_statistics_computing_elementary_case_vector). ## Macro {{uranie}} {{ "```{literalinclude} " + parent_dir + "/roottest/uranie/doc/dataserver/use_cases/" + language + "/dataserverComputeStatVector." + extension + "\n" + ":language: " + language + "\n" + ":lines: " + bloc[language] + "\n" + "```" }} ## Console This macro should result in this output in console, split in two parts, the first one being from {{uranie}}'s method {{ "```{literalinclude} " + parent_dir + "/roottest/build/uranie/doc/dataserver/use_cases/" + language + "/dataserverComputeStatVector.log" + "\n" + ":language: none\n" + ":lines: " + bloc1[language] + "\n" + "```" }} The second on the other hand results from {{root}}'s methods (the second part of the code shown above): {{ "```{literalinclude} " + parent_dir + "/roottest/build/uranie/doc/dataserver/use_cases/" + language + "/dataserverComputeStatVector.log" + "\n" + ":language: none\n" + ":lines: " + bloc2[language] + "\n" + "```" }}