UF_DIRPATH_append (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Adds the directories of one path to another path.

环境
内部和外部

参见
UF_DIRPATH_append_from_dirs
UF_DIRPATH_append_from_env
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_append
(
tag_t self,
const tag_t append
)
tag_t (tag_t类型)selfInput(输入)Original path which will be augmented.
const tag_tappendInput(输入)Path to append from.

 


 
UF_DIRPATH_append_from_dirs (查看源代码)
 
定义在: uf_dirpath.h
 
概述
adds directories represented by strings to a path.

环境
内部和外部

参见
UF_DIRPATH_append
UF_DIRPATH_append_from_env

Please refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_append_from_dirs
(
tag_t self,
const int count,
const char * * dirs
)
tag_t (tag_t类型)selfInput(输入)Original path / augmented path.
const intcountInput(输入)Number of directories to be appended.
const char * *dirsInput(输入)Directories

 


 
UF_DIRPATH_append_from_env (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Adds directories represented by environment variable strings to a path.

环境
内部和外部

参见
UF_DIRPATH_append
UF_DIRPATH_append_from_dirs

Please refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_append_from_env
(
tag_t self,
const char * env
)
tag_t (tag_t类型)selfInput(输入)Original path / augumented path.
const char *envInput(输入)Name of environment variable.

 


 
UF_DIRPATH_ask_curr_dir (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Retrieves the name of the current directory (with respect to an internal
index) in a path. You must call UF_DIRPATH_start_dir_iteration prior to
calling this routine.

环境
内部和外部

参见
UF_DIRPATH_ask_prev_dir
UF_DIRPATH_ask_next_dir
UF_DIRPATH_start_dir_iteration
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_curr_dir
(
tag_t self,
char * * dir
)
tag_t (tag_t类型)selfInput(输入)path
char * *dirOutput to be freed
输出并释放
current directory. This must be freed by the calling program
using UF_free.

 


 
UF_DIRPATH_ask_dir_count (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Returns the number of directories in a path.

返回
Number of directories

环境
内部和外部

参见
Please refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_dir_count
(
tag_t self
)
tag_t (tag_t类型)selfInput(输入)Path

 


 
UF_DIRPATH_ask_dir_index (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Returns the index of the current directory in a path.
It is best to use UF_DIRPATH_start_dir_iteration before ever using
UF_DIRPATH_ask_dir_index.

返回
index of current directory

环境
内部和外部

参见
UF_DIRPATH_start_dir_iteration

Please refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_dir_index
(
tag_t self
)
tag_t (tag_t类型)selfInput(输入)path

 


 
UF_DIRPATH_ask_dirs (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Extracts the directories from a path.

环境
内部和外部

参见
Please refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_dirs
(
tag_t self,
int * count,
char * * * dirs
)
tag_t (tag_t类型)selfInput(输入)Path
int * (整数型指针)countOutput(输出)Number of directories
char * * *dirsOutput to be freed
输出并释放
Array of directories. This must be freed by the caller, using
UF_free.

 


 
UF_DIRPATH_ask_next_dir (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Retrieves the name of the next directory (with respect to an internal
index) in a path. You must call UF_DIRPATH_start_dir_iteration prior to
calling this routine.

环境
内部和外部

参见
UF_DIRPATH_ask_prev_dir
UF_DIRPATH_start_dir_iteration
UF_DIRPATH_ask_curr_dir
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_next_dir
(
tag_t self,
char * * dir
)
tag_t (tag_t类型)selfInput(输入)Path
char * *dirOutput to be freed
输出并释放
Next directory. This must be freed by the calling program using
UF_free.

 


 
UF_DIRPATH_ask_nth_dir (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Gets the nth (as specified by index) directory from a path.

环境
内部和外部

参见
UF_DIRPATH_ask_prev_dir
UF_DIRPATH_ask_curr_dir
UF_DIRPATH_ask_next_dir

Please refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_nth_dir
(
tag_t self,
const int index,
char * * dir
)
tag_t (tag_t类型)selfInput(输入)Path
const intindexInput(输入)>=0 : Index of directory to locate in path
char * *dirOutput to be freed
输出并释放
nth directory. This is dynamically allocated, and must be
freed by the calling routine using UF_free.

 


 
UF_DIRPATH_ask_prev_dir (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Retrieves the name of the previous directory (with respect to an internal
index) in a path. You must call UF_DIRPATH_start_dir_iteration prior to
calling this routine.

环境
内部和外部

参见
UF_DIRPATH_ask_curr_dir
UF_DIRPATH_ask_next_dir
UF_DIRPATH_start_dir_iteration
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_ask_prev_dir
(
tag_t self,
char * * dir
)
tag_t (tag_t类型)selfInput(输入)Path
char * *dirOutput to be freed
输出并释放
Previous directory. This must be freed by the caller using
UF_free.

 


 
UF_DIRPATH_create_from_dirs (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Creates a path from directories represented by strings.

环境
内部和外部

参见
UF_DIRPATH_create_from_env

Please refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_create_from_dirs
(
const int count,
const char * * dirs,
tag_t * retval_tag
)
const intcountInput(输入)number of directories
const char * *dirsInput(输入)directories
tag_t * (tag_t型的指针)retval_tagOutput(输出)NULL_TAG or tag of path

 


 
UF_DIRPATH_create_from_env (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Creates a path from the value of an environment variable.

环境
内部和外部

参见
UF_DIRPATH_create_from_dirs
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_create_from_env
(
const char * env,
tag_t * retval_tag
)
const char *envInput(输入)name of environment variable
tag_t * (tag_t型的指针)retval_tagOutput(输出)NULL_TAG or tag of path

 


 
UF_DIRPATH_find_file (查看源代码)
 
定义在: uf_dirpath.h
 
概述
Finds the first file with a specific name in a path.

环境
内部和外部

参见
Please refer to example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_find_file
(
tag_t self,
char * name,
char * * fpath
)
tag_t (tag_t类型)selfInput(输入)Path
char * (字符型指针)nameInput(输入)Name of file to find
char * *fpathOutput to be freed
输出并释放
Path of file to find. If the file is not found, then NULL is
returned. If the path is non-NULL, then the calling program
must free this by calling UF_free.

 


 
UF_DIRPATH_start_dir_iteration (查看源代码)
 
定义在: uf_dirpath.h
 
概述
This function is used to prepare to index through each directory in a path.

NOTE: This function should be called before using UF_DIRPATH_ask_next_dir,
UF_DIRPATH_ask_prev_dir, or UF_DIRPATH_ask_curr_dir.

环境
内部和外部

参见
UF_DIRPATH_ask_dir_index
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_DIRPATH_start_dir_iteration
(
tag_t self
)
tag_t (tag_t类型)selfInput(输入)path