BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
Tools
addNumber
escapedUnicodeFromUtf8
escapedUnicodeToUtf8
escapeEncodeFilename
escapeEncodeFilename
escapeEncodeString
escapeEncodeString
fileIsOrNotExist
fromStdString
getIdentifier
getIdentifierSupportChinese
getPathAllFilesName
getUniqueFilesNameInPath
getUniqueName
narrow
toStdString
widen
◆
addNumber()
static std::string addNumber
(
const std::string &
name
,
unsigned int
number
,
int
d
=
0
)
static
在字符串后添加编号
在字符串后添加编号,格式为 "name_001"。
参数
[in]
name
基础名称
[in]
number
编号
[in]
d
分隔符,默认为 0
返回
添加编号后的字符串