Blt_TreeGetNode(3) BLT Library Procedures Blt_TreeGetNode(3)__________________________________________________________________________________________________________________________________________________NAME
Blt_TreeGetNode - Finds the node from the ID.
SYNOPSIS
#include <bltTree.h>
Blt_TreeNode
Blt_TreeGetNode(tree, number)
ARGUMENTS
Blt_Tree tree (in) Tree containing the requested node.
unsigned int number (in) Serial number of the requested node.
_________________________________________________________________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
", number);
} else {
printf("node found: label is %s
", Blt_TreeNodeLabel(node));
}
KEYWORDS
Tcl_TreeCreateNode, Tcl_TreeDeleteNode
BLT 2.4 Blt_TreeGetNode(3)
Check Out this Related Man Page
Pod::Abstract::Tree(3pm) User Contributed Perl Documentation Pod::Abstract::Tree(3pm)NAME
Pod::Abstract::Tree - Manage a level of Pod document tree Nodes.
DESCRIPTION
Pod::Abstract::Tree keeps track of a set of Pod::Abstract::Node elements, and allows manipulation of that list of elements. Elements are
stored in an ordered set - a single node can appear once only in a single document tree, so inserting a node at a point will also remove it
from it's previous location.
This is an internal class to Pod::Abstract::Node, and should not generally be used externally.
METHODS
detach
$tree->detach($node);
Unparent the $node from $tree. All other elements will be shifted to fill the empty spot.
push
Add an element to the end of the node list.
pop
Remove an element from the end of the node list.
insert_before
$tree->insert_before($target,$node);
Insert $node before $target. Both must be children of $tree
insert_after
$tree->insert_after($target,$node);
Insert $node after $target. Both must be children of $tree
unshift
Remove the first node from the node list and return it.
Unshift takes linear time - it has to relocate every other element in id_map so that they stay in line.
children
Returns the in-order node list.
index_relative
my $node = $tree->index_relative($target, $offset);
This method will return a node at an offset of $offset (which may be negative) from this tree structure. If there is no such node, undef
will be returned. For example, an offset of 1 will give the following element of $node.
AUTHOR
Ben Lilburne <bnej@mac.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 Ben Lilburne
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-03 Pod::Abstract::Tree(3pm)
just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Hello guyz..
just want to know whether my doubt can be solve or not..maybe it
my company using yyyymmddxx for serial no format..and it cause problems..
first, my adjustments for moving n deleting domain name exceeded xxx per day, and it will cause and effect the yyyymmdd digits.
can... (6 Replies)
Hi all,
We have a problem after exporting a exhanced concurrent capable VG accessed in concurrent mode, created on raw devices ( pSeries 590 AIX5.3 + HACMP5.3 +SAN4300) from node A to node B.
On node B the VG is correct activated by HACMP, but on node A we have 0516-306 error "Unable to find... (3 Replies)
I m not able to copy the text present on the tree's node to terminal or other text editor in solaris. I m using <Shift><control> C and V comaand for the same but the text is not being copied and pasted on the text pad or the terminal window.
While the same is possible in windows OS using ctrl+c... (2 Replies)
Hi Solarizer ;)
I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine.
Any body knows how to gather this information by the command ?
... (4 Replies)
Hi,
I have a refurbished HP C3750 workstation that my company recently bought. We have a need to be able to retrieve its serial number through software, and I found instructions at HP's Website on how to do this. Unfortunately, the machine does not return a serial number using any of the... (16 Replies)
Hi All,
I wnat to know how to find out the Server serial number in command prompt?
I am using sneep command but it throughing unknown.
Thanks and Regards, (8 Replies)
I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?
sbhcprdb01<root>: rsh... (6 Replies)
I am working on a file, I need add a column with serial # in a file, the column will be the first column. and the serial # will be decide by each raw, say if I have 6 raws, I need serial # from 1 to 6 in the first column. Anyone know how to add that. I really appreciate. Thanks (2 Replies)
Hi Experts,
I am in need of running a script from one node say node 1 via node 2.
My scheduling tool dont have access to node2 , so i need to invoke the list file from node1 but the script needs to run from node2. because the server to which i am hitting, is having access only for the node... (5 Replies)
Folks,
Asking a silly question - is there a way to know the status(Power Off/Running) of a managed node from CLI of HMC, alike the way we see it for the LPARs running on the node from 'vtmenu'?
Most of us use the UI to see the status of the LPARs/Managed node - but just inquisitive to know if... (4 Replies)
Hi,
Please, i have a history of the state of each node in my data center. an history about the failure of my cluster (UN: node up, DN: node down).
Here is some lines of the history:
08:51:36 UN 127.0.0.1 08:51:36 UN 127.0.0.2 08:51:36 UN 127.0.0.3 08:53:50 DN 127.0.0.1 ... (6 Replies)