亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? trees-nary.sgml

?? 一套linux glib源代碼
?? SGML
字號:
<!-- ##### SECTION Title ##### -->N-ary Trees<!-- ##### SECTION Short_Description ##### -->trees of data with any number of branches.<!-- ##### SECTION Long_Description ##### --><para>The #GNode struct and its associated functions provide a N-ary tree datastructure, where nodes in the tree can contain arbitrary data.</para><para>To create a new tree use g_node_new().</para><para>To insert a node into a tree use g_node_insert(), g_node_insert_before(),g_node_append() and g_node_prepend().</para><para>To create a new node and insert it into a tree use g_node_insert_data(), g_node_insert_data_before(), g_node_append_data() and g_node_prepend_data().</para><para>To reverse the children of a node use g_node_reverse_children().</para><para>To find a node use g_node_get_root(), g_node_find(), g_node_find_child(),g_node_child_index(), g_node_child_position(), g_node_first_child(), g_node_last_child(),g_node_nth_child(), g_node_first_sibling(), g_node_prev_sibling(),g_node_next_sibling() or g_node_last_sibling().</para><para>To get information about a node or tree use G_NODE_IS_LEAF(),G_NODE_IS_ROOT(), g_node_depth(), g_node_n_nodes(), g_node_n_children(),g_node_is_ancestor() or g_node_max_height().</para><para>To traverse a tree, calling a function for each node visited in thetraversal, use g_node_traverse() or g_node_children_foreach().</para><para>To remove a node or subtree from a tree use g_node_unlink() org_node_destroy().</para><!-- ##### SECTION See_Also ##### --><para></para><!-- ##### SECTION Stability_Level ##### --><!-- ##### STRUCT GNode ##### --><para>The <structname>GNode</structname> struct represents one node in a<link linkend="glib-N-ary-Trees">N-ary Tree</link>.The <structfield>data</structfield> field contains the actual data of the node.The <structfield>next</structfield> and <structfield>prev</structfield>fields point to the node's siblings (a sibling is another <structname>GNode</structname> with thesame parent).The <structfield>parent</structfield> field points to the parent of the <structname>GNode</structname>,or is %NULL if the <structname>GNode</structname> is the root of the tree.The <structfield>children</structfield> field points to the first child of the<structname>GNode</structname>. The other children are accessed by using the<structfield>next</structfield> pointer of each child.</para>@data: @next: @prev: @parent: @children: <!-- ##### FUNCTION g_node_new ##### --><para>Creates a new #GNode containing the given data.Used to create the first node in a tree.</para>@data: the data of the new node.@Returns: a new #GNode.<!-- ##### FUNCTION g_node_copy ##### --><para>Recursively copies a #GNode (but does not deep-copy the data inside the nodes,see g_node_copy_deep() if you need that).</para>@node: a #GNode.@Returns: a new #GNode containing the same data pointers.<!-- ##### USER_FUNCTION GCopyFunc ##### --><para>A function of this signature is used to copy the node data when doing a deep-copyof a tree. </para>@src: A pointer to the data which should be copied.@data: Additional data.@Returns: A pointer to the copy.@Since: 2.4<!-- ##### FUNCTION g_node_copy_deep ##### --><para></para>@node: @copy_func: @data: @Returns: <!-- ##### FUNCTION g_node_insert ##### --><para>Inserts a #GNode beneath the parent at the given position.</para>@parent: the #GNode to place @node under.@position: the position to place @node at, with respect to its siblings.If position is -1, @node is inserted as the last child of @parent.@node: the #GNode to insert.@Returns: the inserted #GNode.<!-- ##### FUNCTION g_node_insert_before ##### --><para>Inserts a #GNode beneath the parent before the given sibling.</para>@parent: the #GNode to place @node under.@sibling: the sibling #GNode to place @node before. If sibling is %NULL,the node is inserted as the last child of @parent.@node: the #GNode to insert.@Returns: the inserted #GNode.<!-- ##### FUNCTION g_node_insert_after ##### --><para>Inserts a #GNode beneath the parent after the given sibling.</para>@parent: the #GNode to place @node under.@sibling: the sibling #GNode to place @node after. If sibling is %NULL,the node is inserted as the first child of @parent.@node: the #GNode to insert.@Returns: the inserted #GNode.<!-- ##### MACRO g_node_append ##### --><para>Inserts a #GNode as the last child of the given parent.</para>@parent: the #GNode to place the new #GNode under.@node: the #GNode to insert.@Returns: the inserted #GNode.<!-- ##### FUNCTION g_node_prepend ##### --><para>Inserts a #GNode as the first child of the given parent.</para>@parent: the #GNode to place the new #GNode under.@node: the #GNode to insert.@Returns: the inserted #GNode.<!-- ##### MACRO g_node_insert_data ##### --><para>Inserts a new #GNode at the given position.</para>@parent: the #GNode to place the new #GNode under.@position: the position to place the new #GNode at.If position is -1, the new #GNode is inserted as the last child of @parent.@data: the data for the new #GNode.@Returns: the new #GNode.<!-- ##### MACRO g_node_insert_data_before ##### --><para>Inserts a new #GNode before the given sibling.</para>@parent: the #GNode to place the new #GNode under.@sibling: the sibling #GNode to place the new #GNode before.@data: the data for the new #GNode.@Returns: the new #GNode.<!-- ##### MACRO g_node_append_data ##### --><para>Inserts a new #GNode as the last child of the given parent.</para>@parent: the #GNode to place the new #GNode under.@data: the data for the new #GNode.@Returns: the new #GNode.<!-- ##### MACRO g_node_prepend_data ##### --><para>Inserts a new #GNode as the first child of the given parent.</para>@parent: the #GNode to place the new #GNode under.@data: the data for the new #GNode.@Returns: the new #GNode.<!-- ##### FUNCTION g_node_reverse_children ##### --><para>Reverses the order of the children of a #GNode.(It doesn't change the order of the grandchildren.)</para>@node: a #GNode.<!-- ##### FUNCTION g_node_traverse ##### --><para>Traverses a tree starting at the given root #GNode.It calls the given function for each node visited.The traversal can be halted at any point by returning %TRUE from @func.</para>@root: the root #GNode of the tree to traverse.@order: the order in which nodes are visited - %G_IN_ORDER, %G_PRE_ORDER,%G_POST_ORDER, or %G_LEVEL_ORDER.@flags: which types of children are to be visited, one of %G_TRAVERSE_ALL,%G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES.@max_depth: the maximum depth of the traversal. Nodes below thisdepth will not be visited. If max_depth is -1 all nodes in the tree arevisited. If depth is 1, only the root is visited. If depth is 2, the rootand its children are visited. And so on.@func: the function to call for each visited #GNode.@data: user data to pass to the function.<!-- ##### ENUM GTraverseFlags ##### --><para>Specifies which nodes are visited during several of the tree functions,including g_node_traverse() and g_node_find().</para>@G_TRAVERSE_LEAVES: only leaf nodes should be visited. This name has been  introduced in 2.6, for older version use %G_TRAVERSE_LEAFS.@G_TRAVERSE_NON_LEAVES: only non-leaf nodes should be visited. This name   has been introduced in 2.6, for older version use %G_TRAVERSE_NON_LEAFS.@G_TRAVERSE_ALL: all nodes should be visited.@G_TRAVERSE_MASK: @G_TRAVERSE_LEAFS: identical to %G_TRAVERSE_LEAVES@G_TRAVERSE_NON_LEAFS: identical to %G_TRAVERSE_NON_LEAVES<!-- ##### USER_FUNCTION GNodeTraverseFunc ##### --><para>Specifies the type of function passed to g_node_traverse().The function is called with each of the nodes visited, together with theuser data passed to g_node_traverse().If the function returns %TRUE, then the traversal is stopped.</para>@node: a #GNode.@data: user data passed to g_node_traverse().@Returns: %TRUE to stop the traversal.<!-- ##### FUNCTION g_node_children_foreach ##### --><para>Calls a function for each of the children of a #GNode.Note that it doesn't descend beneath the child nodes.</para>@node: a #GNode.@flags: which types of children are to be visited, one of %G_TRAVERSE_ALL,%G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES.@func: the function to call for each visited node.@data: user data to pass to the function.<!-- ##### USER_FUNCTION GNodeForeachFunc ##### --><para>Specifies the type of function passed to g_node_children_foreach().The function is called with each child node, together with the user datapassed to g_node_children_foreach().</para>@node: a #GNode.@data: user data passed to g_node_children_foreach().<!-- ##### FUNCTION g_node_get_root ##### --><para>Gets the root of a tree.</para>@node: a #GNode.@Returns: the root of the tree.<!-- ##### FUNCTION g_node_find ##### --><para>Finds a #GNode in a tree.</para>@root: the root #GNode of the tree to search.@order: the order in which nodes are visited - %G_IN_ORDER, %G_PRE_ORDER,%G_POST_ORDER, or %G_LEVEL_ORDER.@flags: which types of children are to be searched, one of %G_TRAVERSE_ALL,%G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES.@data: the data to find.@Returns: the found #GNode, or %NULL if the data is not found.<!-- ##### FUNCTION g_node_find_child ##### --><para>Finds the first child of a #GNode with the given data.</para>@node: a #GNode.@flags: which types of children are to be searched, one of %G_TRAVERSE_ALL,%G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES.@data: the data to find.@Returns: the found child #GNode, or %NULL if the data is not found.<!-- ##### FUNCTION g_node_child_index ##### --><para>Gets the position of the first child of a #GNode which contains the given data.</para>@node: a #GNode.@data: the data to find.@Returns: the index of the child of @node which contains @data, or -1if the data is not found.<!-- ##### FUNCTION g_node_child_position ##### --><para>Gets the position of a #GNode with respect to its siblings.@child must be a child of @node.The first child is numbered 0, the second 1, and so on.</para>@node: a #GNode.@child: a child of @node.@Returns: the position of @child with respect to its siblings.<!-- ##### MACRO g_node_first_child ##### --><para>Gets the first child of a #GNode.</para>@node: a #GNode.@Returns: the last child of @node, or %NULL if @node is %NULL or has no children.<!-- ##### FUNCTION g_node_last_child ##### --><para>Gets the last child of a #GNode.</para>@node: a #GNode (must not be %NULL).@Returns: the last child of @node, or %NULL if @node has no children.<!-- ##### FUNCTION g_node_nth_child ##### --><para>Gets a child of a #GNode, using the given index.The first child is at index 0. If the index is too big, %NULL is returned.</para>@node: a #GNode.@n: the index of the desired child.@Returns: the child of @node at index @n.<!-- ##### FUNCTION g_node_first_sibling ##### --><para>Gets the first sibling of a #GNode.This could possibly be the node itself.</para>@node: a #GNode.@Returns: the first sibling of @node.<!-- ##### MACRO g_node_next_sibling ##### --><para>Gets the next sibling of a #GNode.</para>@node: a #GNode.@Returns: the next sibling of @node, or %NULL if @node is %NULL.<!-- ##### MACRO g_node_prev_sibling ##### --><para>Gets the previous sibling of a #GNode.</para>@node: a #GNode.@Returns: the previous sibling of @node, or %NULL if @node is %NULL.<!-- ##### FUNCTION g_node_last_sibling ##### --><para>Gets the last sibling of a #GNode.This could possibly be the node itself.</para>@node: a #GNode.@Returns: the last sibling of @node.<!-- ##### MACRO G_NODE_IS_LEAF ##### --><para>Returns %TRUE if a #GNode is a leaf node.</para>@node: a #GNode.@Returns: %TRUE if the #GNode is a leaf node (i.e. it has no children).<!-- ##### MACRO G_NODE_IS_ROOT ##### --><para>Returns %TRUE if a #GNode is the root of a tree.</para>@node: a #GNode.@Returns: %TRUE if the #GNode is the root of a tree (i.e. it has no parentor siblings).<!-- ##### FUNCTION g_node_depth ##### --><para>Gets the depth of a #GNode.</para><para>If @node is %NULL the depth is 0.The root node has a depth of 1.For the children of the root node the depth is 2. And so on.</para>@node: a #GNode.@Returns: the depth of the #GNode.<!-- ##### FUNCTION g_node_n_nodes ##### --><para>Gets the number of nodes in a tree.</para>@root: a #GNode.@flags: which types of children are to be counted, one of %G_TRAVERSE_ALL,%G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES.@Returns: the number of nodes in the tree.<!-- ##### FUNCTION g_node_n_children ##### --><para>Gets the number of children of a #GNode.</para>@node: a #GNode.@Returns: the number of children of @node.<!-- ##### FUNCTION g_node_is_ancestor ##### --><para>Returns %TRUE if @node is an ancestor of @descendant.This is true if node is the parent of @descendant, or if node is thegrandparent of @descendant etc.</para>@node: a #GNode.@descendant: a #GNode.@Returns: %TRUE if @node is an ancestor of @descendant.<!-- ##### FUNCTION g_node_max_height ##### --><para>Gets the maximum height of all branches beneath a #GNode.This is the maximum distance from the #GNode to all leaf nodes.</para><para>If @root is %NULL, 0 is returned. If @root has no children, 1 is returned.If @root has children, 2 is returned. And so on.</para>@root: a #GNode.@Returns: the maximum height of the tree beneath @root.<!-- ##### FUNCTION g_node_unlink ##### --><para>Unlinks a #GNode from a tree, resulting in two separate trees.</para>@node: the #GNode to unlink, which becomes the root of a new tree.<!-- ##### FUNCTION g_node_destroy ##### --><para>Removes the #GNode and its children from the tree, freeing any memoryallocated.</para>@root: the root of the tree/subtree to destroy.<!-- ##### FUNCTION g_node_push_allocator ##### --><para>Sets the allocator to use to allocate #GNode elements.Use g_node_pop_allocator() to restore the previous allocator.</para><para>Note that this function is not available if GLib has been compiledwith <option>--disable-mem-pools</option></para>@dummy: the #GAllocator to use when allocating #GNode elements.@Deprecated: 2.10: It does nothing, since #GNode has been converted   to the <link linkend="glib-Memory-Slices">slice allocator</link><!-- ##### FUNCTION g_node_pop_allocator ##### --><para>Restores the previous #GAllocator, used when allocating #GNode elements.</para><para>Note that this function is not available if GLib has been compiledwith <option>--disable-mem-pools</option></para>@Deprecated: 2.10: It does nothing, since #GNode has been converted   to the <link linkend="glib-Memory-Slices">slice allocator</link>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲国产一区二区三区 | 亚洲另类春色国产| 亚洲制服欧美中文字幕中文字幕| 一区二区激情小说| 美女视频黄a大片欧美| 国产成人综合精品三级| 91福利视频在线| 91精品国产高清一区二区三区| 久久久久国产精品人| 国产精品不卡视频| 五月天欧美精品| 国产乱妇无码大片在线观看| 一本一道久久a久久精品综合蜜臀| 91超碰这里只有精品国产| 国产日韩欧美综合在线| 亚洲制服丝袜一区| 国产成人综合精品三级| 欧美日韩在线播放一区| 国产欧美精品一区| 亚洲国产精品久久人人爱蜜臀| 国模冰冰炮一区二区| 欧美成va人片在线观看| 国产精品久久久久一区二区三区共 | 亚洲大片在线观看| 国产精品伊人色| 欧美日韩在线播放三区四区| 日本一区二区成人在线| 日韩激情视频网站| 成人h动漫精品| 精品日韩欧美在线| 亚洲香肠在线观看| thepron国产精品| 精品国产麻豆免费人成网站| 亚洲一区二区三区精品在线| 国产99久久久国产精品| 欧美一区二区视频在线观看2020| 国产精品久久久久久久蜜臀| 美女视频一区二区三区| 欧美日韩中文字幕一区| 国产精品灌醉下药二区| 国产在线精品视频| 精品视频免费在线| 亚洲日本在线a| 高清国产一区二区| 日韩精品专区在线影院重磅| 亚洲韩国一区二区三区| 91在线视频播放| 国产欧美精品一区| 国产福利一区在线观看| 日韩一区二区精品在线观看| 一区二区免费在线| 日本伦理一区二区| 亚洲三级电影全部在线观看高清| 国产精品538一区二区在线| 精品美女在线播放| 奇米影视一区二区三区| 欧美性videosxxxxx| 亚洲欧美色一区| 成人av电影免费在线播放| 国产日韩v精品一区二区| 久久99精品久久久久久| 日韩欧美第一区| 蜜桃91丨九色丨蝌蚪91桃色| 欧美日韩精品是欧美日韩精品| 亚洲色图丝袜美腿| caoporn国产一区二区| 国产精品午夜在线| 国产.精品.日韩.另类.中文.在线.播放| 欧美大胆一级视频| 久久精品av麻豆的观看方式| 日韩情涩欧美日韩视频| 免费日韩伦理电影| 日韩久久免费av| 狠狠色丁香婷综合久久| 久久久久国产精品人| 国产精品自拍三区| 中文字幕国产一区| 波多野结衣视频一区| 亚洲人被黑人高潮完整版| 91丝袜国产在线播放| 一区二区国产视频| 欧美二区在线观看| 奇米一区二区三区av| 欧美哺乳videos| 国产激情一区二区三区四区| 中文字幕av资源一区| 91蜜桃在线观看| 亚洲永久精品国产| 久久久久久久国产精品影院| 日韩视频在线你懂得| 国产高清亚洲一区| 天天av天天翘天天综合网| 亚洲国产精品成人综合| 欧美中文字幕一区二区三区 | 国产精品初高中害羞小美女文| 日本高清不卡在线观看| 国产福利一区在线| 久久成人免费日本黄色| 一区二区三区免费在线观看| 久久亚洲影视婷婷| 制服丝袜av成人在线看| 91国偷自产一区二区开放时间 | 国产精品综合网| 国产精品久久久久久久久晋中| 精品少妇一区二区三区在线视频| 欧美性猛片aaaaaaa做受| 波多野结衣中文一区| 国产成人免费av在线| 成人黄色777网| 激情综合色播五月| 美国欧美日韩国产在线播放| 午夜一区二区三区在线观看| 日韩精品久久理论片| 日本不卡的三区四区五区| 99精品桃花视频在线观看| 日韩无一区二区| 首页亚洲欧美制服丝腿| 色综合久久久久久久久久久| 亚洲香肠在线观看| 国产精品网站在线观看| 日韩高清国产一区在线| 在线亚洲一区二区| 中文字幕亚洲视频| 成人免费视频免费观看| 国产无遮挡一区二区三区毛片日本| 天堂午夜影视日韩欧美一区二区| 色婷婷精品久久二区二区蜜臀av| 国产精品美日韩| 成人美女视频在线观看| 欧美激情艳妇裸体舞| 国产成人亚洲综合色影视| 久久久久亚洲蜜桃| 国产91富婆露脸刺激对白| 国产精品欧美综合在线| 成人国产精品免费观看视频| 国产精品全国免费观看高清 | 成人精品小蝌蚪| 国产精品精品国产色婷婷| 国产一区二区剧情av在线| 丰满岳乱妇一区二区三区| 欧美午夜免费电影| 精品国产乱码91久久久久久网站| 2023国产精华国产精品| 久久se精品一区精品二区| 不卡一区二区三区四区| 欧美在线免费观看视频| 亚洲欧美韩国综合色| 久久这里只精品最新地址| 欧美日韩一区国产| 99免费精品在线观看| 久久精品国产99国产| 亚洲一区二区三区在线| 国产精品三级电影| 精品福利一二区| 欧洲一区在线电影| 99久久夜色精品国产网站| 国产精品综合一区二区三区| 美女视频一区在线观看| 亚洲a一区二区| 亚洲精品成人悠悠色影视| 国产精品美女久久久久久2018| 久久人人超碰精品| 日韩欧美的一区| 欧美一区二区三区在线观看视频| 在线观看欧美黄色| 色哟哟欧美精品| 91蜜桃网址入口| 成人av小说网| 高清久久久久久| 国产91精品露脸国语对白| 国产在线看一区| 久久国产福利国产秒拍| 蜜臀av一区二区在线免费观看 | 黑人巨大精品欧美黑白配亚洲| 三级一区在线视频先锋| 亚洲动漫第一页| 日日夜夜精品视频天天综合网| 亚洲福利国产精品| 亚洲mv大片欧洲mv大片精品| 亚洲高清免费视频| 亚洲成人av中文| 亚洲成av人影院在线观看网| 亚洲一区电影777| 亚洲成人激情av| 亚洲高清中文字幕| 日韩vs国产vs欧美| 免费观看久久久4p| 麻豆视频一区二区| 久久99精品国产| 国产成人免费视频一区| 成人免费看黄yyy456| 99久久精品免费看| 91免费观看视频在线| 在线一区二区三区四区五区| 欧美性猛交xxxx黑人交| 欧美日韩免费不卡视频一区二区三区| 欧美日韩午夜精品| 日韩一区二区三区免费观看| 精品精品国产高清a毛片牛牛 | 日韩电影在线免费观看|