MCPcopy Create free account
hub / github.com/MITK/MITK / flush

Method flush

Modules/Log/src/mitkLogBackendText.cpp:46–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 int pos;
45
46 void flush()
47 {
48 if (current.size() > 0)
49 {
50 if (current.compare("..") == 0)
51 {
52 if (path.size() > 0)
53 path.pop_back();
54 }
55 else
56 {
57 path.push_back(current);
58 }
59 current = "";
60 }
61 }
62
63 std::string simplify(std::string x)
64 {

Callers 5

PostInferRequestMethod · 0.80
~LocalFileMethod · 0.80
~EventRecorderMethod · 0.80
StopRecordingMethod · 0.80

Calls 2

pop_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected