GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BLT_TREEGETNODE (3)

NAME

Blt_TreeGetNode - Finds the node from the ID.

CONTENTS

Synopsis
Arguments
Description
Returns
Example
Keywords

SYNOPSIS

#include <bltTree.h>

Blt_TreeNode Blt_TreeGetNode(tree, number)

ARGUMENTS


.TP 15 Blt_Tree  tree(in)
Blt_Tree  tree Blt_Tree Tree containing the requested node.
.TP 15 unsigned intnumber(in)
unsigned intnumber unsigned int Serial number of the requested node.

   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

This procedure returns a node in a tree object based upon a give serial number. The node is searched using the serial number.

The arguments are as follows:
tree The tree containing the requested node.
number The serial number of the requested node.

RETURNS

The node represented by the given serial number is returned. If no node with that ID exists in tree then NULL is returned.

EXAMPLE

The following example gets the node from a serial number.



unsigned int number; Blt_TreeNode node; Blt_TreeToken token; node = Blt_TreeGetNode(token, number); if (node == NULL) { printf("no node with ID %d exists\n", number); } else { printf("node found: label is %s\n", Blt_TreeNodeLabel(node)); }

KEYWORDS

Tcl_TreeCreateNode, Tcl_TreeDeleteNode
Search for    or go to Top of page |  Section 3 |  Main Index


BLT BLT_TREEGETNODE (3) 2.5

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.