MPD  0.20.18
Functions
Util.hxx File Reference
#include "Compiler.h"
#include <string>
#include <list>
Include dependency graph for Util.hxx:

Go to the source code of this file.

Functions

void trimstring (std::string &s, const char *ws=" \t\n") noexcept
 
std::string path_getfather (const std::string &s) noexcept
 
gcc_pure std::list< std::string > stringToTokens (const std::string &str, char delim) noexcept
 
template<class T >
bool csvToStrings (const char *s, T &tokens) noexcept
 

Function Documentation

template<class T >
bool csvToStrings ( const char *  s,
T &  tokens 
)
noexcept
std::string path_getfather ( const std::string &  s)
noexcept
gcc_pure std::list<std::string> stringToTokens ( const std::string &  str,
char  delim 
)
noexcept
void trimstring ( std::string &  s,
const char *  ws = " \t\n" 
)
noexcept