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=" \") 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

◆ csvToStrings()

template<class T >
bool csvToStrings ( const char *  s,
T &  tokens 
)
noexcept

◆ path_getfather()

std::string path_getfather ( const std::string &  s)
noexcept

◆ stringToTokens()

gcc_pure std::list<std::string> stringToTokens ( const std::string &  str,
char  delim 
)
noexcept

◆ trimstring()

void trimstring ( std::string &  s)
noexcept