UF_NCGEOM_create (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
Create a new UF_NCGROUP object which is a UF_NCGEOM Group object.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCGEOM_create
(
char * type_name,
char * subtype_name,
tag_t * new_object
)
char * (字符型指针)type_nameInput(输入)- the type name of the object to create
char * (字符型指针)subtype_nameInput(输入)- the subtype name of the object to create
tag_t * (tag_t型的指针)new_objectOutput(输出)- the newly created object

 


 
UF_NCGROUP_accept_member (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function adds 'member' to the member list of 'parent'. It will become
the last object in the member list. If 'parent' can not accept 'member' as
a member and error will be returned.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCGROUP_accept_member
(
tag_t parent,
tag_t member
)
tag_t (tag_t类型)parentInput(输入)- see above
tag_t (tag_t类型)memberInput(输入)- see above

 


 
UF_NCGROUP_ask_member_in_list (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function returns the object which is the 'index'th member of 'parent's
member list. The object is returned in 'member'.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_NCGROUP_ask_member_in_list
(
tag_t parent,
int index,
tag_t * member
)
tag_t (tag_t类型)parentInput(输入)- see above
int (整数型)indexInput(输入)- see above
tag_t * (tag_t型的指针)memberOutput(输出)- see above

 


 
UF_NCGROUP_ask_member_list (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function returns the list of objects which are contained in the specified
group.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_NCGROUP_ask_member_list
(
tag_t obj_tag,
int * count,
tag_t * * list
)
tag_t (tag_t类型)obj_tagInput(输入)- the group
int * (整数型指针)countOutput(输出)- the number of objects in the group
tag_t * *listOutput to be freed
输出并释放
- the list of objects in the group. This should
be freed by calling UF_free.

 


 
UF_NCGROUP_ask_object_of_name (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function searches the member list of 'obj_tag' for an object with name
'name'. If one is found, it's tag is returned in 'obj_with_name'. If no such
object is found then NULL is returned in 'obj_with_name'.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_NCGROUP_ask_object_of_name
(
tag_t obj_tag,
char * name,
tag_t * obj_with_name
)
tag_t (tag_t类型)obj_tagInput(输入)- see above
char * (字符型指针)nameInput(输入)- see above
tag_t * (tag_t型的指针)obj_with_nameOutput(输出)- see above

 


 
UF_NCGROUP_ask_root_of_object (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
For the group 'obj_tag' this function returns the tag of the object which
is the root object of it's view. This will be either a UF_NCGEOM, UF_NCPROG,
UF_NCMCT or UF_MCMTHD object.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_NCGROUP_ask_root_of_object
(
tag_t obj_tag,
tag_t * root_tag
)
tag_t (tag_t类型)obj_tagInput(输入)- see above
tag_t * (tag_t型的指针)root_tagOutput(输出)- see above

 


 
UF_NCGROUP_can_accept_member (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function returns TRUE if the group 'obj1' can accept 'obj2' as a
member. If the answer is FALSE the reason may be found in 'reason'.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCGROUP_can_accept_member
(
tag_t obj1,
tag_t obj2,
logical * answer,
char reason [ UF_NCGROUP_MAX_REASON_LEN+1 ]
)
tag_t (tag_t类型)obj1Input(输入)- the group
tag_t (tag_t类型)obj2Input(输入)- can this object be placed into the group
logical *answerOutput(输出)- see above
charreason [ UF_NCGROUP_MAX_REASON_LEN+1 ] Output(输出)- see above

 


 
UF_NCGROUP_cycle_members (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function iterates the members of group 'group'. For every object which
is a member of 'group's member list it makes the call:

continue = cb( tag of member object, data );

See the documentation for UF_NCGROUP_cycle_cb_f_t in this file for more
information on the callback 'cb'.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCGROUP_cycle_members
(
tag_t group,
UF_NCGROUP_cycle_cb_f_t cb,
void * data
)
tag_t (tag_t类型)groupInput(输入)- see above
UF_NCGROUP_cycle_cb_f_tcbInput(输入)- see above
void *dataInput(输入)- see above

 


 
UF_NCGROUP_insert_member (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function adds 'member' to the member list of 'parent'. If 'sibling' is
NULL then add 'member' as the last member of 'parent's member list. If
'sibling' is not NULL then if 'where' is UF_NCGROUP_POSITION_BEFORE it adds
'member' to 'parent's member list immediately before 'sibling'.
If 'sibling' is not NULL then if 'where' is UF_NCGROUP_POSITION_AFTER it adds
'member' to 'parent's member list immediately after 'sibling'.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCGROUP_insert_member
(
tag_t parent,
tag_t member,
tag_t sibling,
UF_NCGROUP_position_t where
)
tag_t (tag_t类型)parentInput(输入)- see above
tag_t (tag_t类型)memberInput(输入)- see above
tag_t (tag_t类型)siblingInput(输入)- see above
UF_NCGROUP_position_twhereInput(输入)- see above

 


 
UF_NCGROUP_is_a_member (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
This function returns TRUE if object 'member' is part of the group 'group'.
If the answer is TRUE then 'index' is the index of 'member' in group. The
index is the position of 'member' in the group's member list. Indices go
from 0 to n-1 where n is the number of objects in the member list.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_NCGROUP_is_a_member
(
tag_t group,
tag_t member,
logical * answer,
int * index
)
tag_t (tag_t类型)groupInput(输入)- see above
tag_t (tag_t类型)memberInput(输入)- see above
logical *answerOutput(输出)- see above
int * (整数型指针)indexOutput(输出)- see above

 


 
UF_NCGROUP_is_group (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
Given an object tag, this function reports if it is a UF_NCGROUP object.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_NCGROUP_is_group
(
tag_t obj_tag,
logical * answer
)
tag_t (tag_t类型)obj_tagInput(输入)- the object being asked about
logical *answerOutput(输出)- TRUE if object is a UF_NCGROUP object, FALSE
otherwise

 


 
UF_NCMTHD_create (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
Create a new UF_NCGROUP object which is a UF_NCMTHD Group object.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCMTHD_create
(
char * type_name,
char * subtype_name,
tag_t * new_object
)
char * (字符型指针)type_nameInput(输入)- the type name of the object to create
char * (字符型指针)subtype_nameInput(输入)- the subtype name of the object to create
tag_t * (tag_t型的指针)new_objectOutput(输出)- the newly created object

 


 
UF_NCPROG_create (查看源代码)
 
定义在: uf_ncgroup.h
 
概述
Create a new UF_NCGROUP object which is a UF_NCPROG Group object.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
cam_base

 
int UF_NCPROG_create
(
char * type_name,
char * subtype_name,
tag_t * new_object
)
char * (字符型指针)type_nameInput(输入)- the type name of the object to create
char * (字符型指针)subtype_nameInput(输入)- the subtype name of the object to create
tag_t * (tag_t型的指针)new_objectOutput(输出)- the newly created object