Guitar
Functions
joinpath.cpp File Reference
#include "common/joinpath.h"
#include <sstream>
#include <vector>
#include <cstring>
Include dependency graph for joinpath.cpp:

Functions

template<typename T >
static void trimquot (T const **begin, T const **end)
 
template<typename T , typename U >
void joinpath_ (T const *left, T const *right, U *vec)
 2つのパスを結合する。 More...
 
std::string joinpath (char const *left, char const *right)
 
std::string joinpath (std::string const &left, std::string const &right)
 
QString qjoinpath (char16_t const *left, char16_t const *right)
 

Function Documentation

◆ joinpath() [1/2]

std::string joinpath ( char const *  left,
char const *  right 
)
Here is the call graph for this function:

◆ joinpath() [2/2]

std::string joinpath ( std::string const &  left,
std::string const &  right 
)
Here is the call graph for this function:

◆ joinpath_()

template<typename T , typename U >
void joinpath_ ( T const *  left,
T const *  right,
U *  vec 
)

2つのパスを結合する。

左右のパス文字列を結合して、1つのパス文字列にします。 与えられた2つのパス文字列の両端のクォートや不要な区切り文字を取り除いた後、 2つのパスを '/' 区切り文字で結合します。

Template Parameters
T文字列要素の型(char, wchar_t など)。
U結合されたパスを格納するコンテナの型(std::string, std::wstring など)。
Parameters
left結合する左側のパス文字列。
right結合する右側のパス文字列。
vec結合されたパスを格納するコンテナへのポインタ。
Here is the call graph for this function:

◆ qjoinpath()

QString qjoinpath ( char16_t const *  left,
char16_t const *  right 
)
Here is the call graph for this function:

◆ trimquot()

template<typename T >
static void trimquot ( T const **  begin,
T const **  end 
)
inlinestatic