MCPcopy Create free account
hub / github.com/SFML/SFML / getStream

Function getStream

examples/joystick/Joystick.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25};
26
27[[nodiscard]] auto getStream()
28{
29 std::ostringstream sstr;
30 // Set up our string conversion parameters
31 sstr.precision(2);
32 sstr.setf(std::ios::fixed | std::ios::boolalpha);
33 return sstr;
34}
35
36// Axes labels in as strings
37const std::array<std::string, 8> axislabels = {"X", "Y", "Z", "R", "U", "V", "PovX", "PovY"};

Callers 5

JoystickDisplayMethod · 0.85
updateIdentificationMethod · 0.85
updateAxesMethod · 0.85
updateButtonsMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected