add comments

This commit is contained in:
2020-11-09 15:14:28 +08:00
parent 28bf928b3b
commit 41b70d4744

View File

@@ -11,6 +11,10 @@ namespace hgl
namespace filesystem
{
/**
* 组合文件名.<Br>
* 根据离散的每一级目录名称和最终名称合成完整文件名
*/
template<typename T>
inline const String<T> ComboFilename(const StringList<String<T>> &sl,const T spear_char=(T)HGL_DIRECTORY_SEPARATOR_RAWCHAR)
{
@@ -55,6 +59,10 @@ namespace hgl
return String<T>::newOf(fullname,p-fullname);
}
/**
* 合成文件名<br>
* 根据路径名和文件名
*/
template<typename T>
inline String<T> MergeFilename(const String<T> &pathname,const String<T> &filename,const T directory_separator_char,const T *directory_separator_str)
{