AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
XEPathFileTool.lua 文件参考

函数

function XEPathFileTool NormalPath (strFullName, reverse) end
 
function XEPathFileTool NormalPath (pFullName, reverse) end
 
function XEPathFileTool GetNormalPath (pFullName, reverse) end
 
function XEPathFileTool GetExpandPath (pPathName) end
 
function XEPathFileTool EncodePath (strKey, strpath) end
 
function XEPathFileTool DecodePath (strKey, strpath) end
 
function XEPathFileTool GetPathDir (strFullName) end
 
function XEPathFileTool GetFileName (strFullName) end
 
function XEPathFileTool GetFileExt (strName) end
 
function XEPathFileTool GetFilePathExceptExt (strName) end
 

变量

 XEPathFileTool = {}
 

函数说明

◆ DecodePath()

function XEPathFileTool DecodePath ( strKey  ,
strpath   
)

对路径解密

参数
strKeycppstring 密钥
strpathcppstring
返回
void

◆ EncodePath()

function XEPathFileTool EncodePath ( strKey  ,
strpath   
)

对路径加密

参数
strKeycppstring 密钥
strpathcppstring
返回
void

◆ GetExpandPath()

function XEPathFileTool GetExpandPath ( pPathName  )

获取一个规范化、简化的路径, 以 / 分级

参数
pPathNamestring 要规范化的路径
返回
cppstring

◆ GetFileExt()

function XEPathFileTool GetFileExt ( strName  )

获取后缀名

参数
strNamecppstring 文件名字
返回
cppstring 后缀名

◆ GetFileName()

function XEPathFileTool GetFileName ( strFullName  )

从完整的名字中得到名字(带后缀名)

参数
strFullNamecppstring 完整路径
返回
cppstring 名字(带后缀名)

◆ GetFilePathExceptExt()

function XEPathFileTool GetFilePathExceptExt ( strName  )

去掉后缀名

参数
strNamecppstring 文件名字
返回
cppstring 去掉后缀名之后的字符串

◆ GetNormalPath()

function XEPathFileTool GetNormalPath ( pFullName  ,
reverse   
)

规范化路径

参数
pFullNamestring 要规范化的路径
reverseboolean 默认为true,如果reverse为true,转换为/(反斜杠),否则为(斜杠,Windows命令行识别,不识别/)
返回
cppstring

◆ GetPathDir()

function XEPathFileTool GetPathDir ( strFullName  )

从完整路径中得到目录部分

参数
strFullNamecppstring 完整路径
返回
cppstring 目录部分

◆ NormalPath() [1/2]

function XEPathFileTool NormalPath ( pFullName  ,
reverse   
)

规范化路径

参数
pFullNamestring 要规范化的路径(char类型)
reverseboolean 默认为true,如果reverse为true,转换为/(反斜杠),否则为(斜杠,Windows命令行识别,不识别/)
返回
void

规范化路径

参数
pFullNamestring 要规范化的路径(XString类型)
reverseboolean 默认为true,如果reverse为true,转换为/(反斜杠),否则为(斜杠,Windows命令行识别,不识别/)
返回
void

◆ NormalPath() [2/2]

function XEPathFileTool NormalPath ( strFullName  ,
reverse   
)

规范化路径

参数
strFullNamecppstring 要规范化的路径(string类型)
reverseboolean 默认为true,如果reverse为true,转换为/(反斜杠),否则为(斜杠,Windows命令行识别,不识别/)
返回
void

变量说明

◆ XEPathFileTool