OSVR-Core
Namespaces | Functions
LogUtils.h File Reference

Header. More...

#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/trim_all.hpp>
#include <string>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 

Functions

std::string osvr::util::log::sanitizeFilenamePiece (std::string input)
 

Detailed Description

Header.

Date
2016
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ sanitizeFilenamePiece()

std::string osvr::util::log::sanitizeFilenamePiece ( std::string  input)
inline

This removes leading and trailing bad characters (anything that's not in the good characters list above) and reduces internal clumps of them to a single character replaced with _