MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / write

Method write

source/MRPython/MRPython.cpp:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15template<StreamType T>
16void PythonStreamRedirector<T>::write( const std::string& text )
17{
18 ++NumWritten<T>::counter;
19 MR::UnifiedPythonStream::get() << text;
20 if constexpr ( T == Stdout )
21 std::cout << text;
22 else
23 std::cerr << text;
24}
25
26template<StreamType T>
27void PythonStreamRedirector<T>::flush()

Callers 15

TESTFunction · 0.45
mcpSceneAddObjectFunction · 0.45
mcpSystemInfoFunction · 0.45
writeGavHeaderFunction · 0.45
gridToVdbFunction · 0.45
saveToFileMethod · 0.45
write_to_pngFunction · 0.45
toJpegFunction · 0.45
process_fileFunction · 0.45
inject_copyrightFunction · 0.45
add_version_fileFunction · 0.45

Calls 1

getFunction · 0.50

Tested by 3

TESTFunction · 0.36
test_issue_2899_writeFunction · 0.36