MeshLib Documentation
Loading...
Searching...
No Matches
MRUnifiedPythonStream.h
Go to the documentation of this file.
1#pragma once
2#include "exports.h"
3#include <sstream>
4
5namespace MR
6{
7// python output duplicated to this stream
8// needed to be able to separate python output from all other logs
9class MRPYTHON_CLASS UnifiedPythonStream
10{
11public:
12 MRPYTHON_API static std::stringstream& get();
13private:
14 UnifiedPythonStream() = default;
15 ~UnifiedPythonStream() = default;
16
17 std::stringstream ss_;
18};
19}
Definition MRUnifiedPythonStream.h:10
static MRPYTHON_API std::stringstream & get()
Definition MRCameraOrientationPlugin.h:8