Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::gp::nodes::impl::NodeUtils Class Reference

List of all members.

Static Public Member Functions

GPNode[] copyToNewGPNodeArray (GPNode[] origNodes)
boolean haveOneCommonParent (final GPNode[] nodes)
GPNode[] cloneNodes (GPNode[] origNodes)

Private Member Functions

 NodeUtils ()

Detailed Description

Author:
Vito Baggiolini
Version:
Revision
1.2
,
Date
2006/09/25 08:52:36


Constructor & Destructor Documentation

cern::gp::nodes::impl::NodeUtils::NodeUtils  )  [inline, private]
 

do not instantiate


Member Function Documentation

GPNode [] cern::gp::nodes::impl::NodeUtils::cloneNodes GPNode[]  origNodes  )  [inline, static]
 

a method that creates a new array of GPNodes with copies of the original GPNodes The domain beans associated with the GPNodes are not copied.

Parameters:
origNodes the array of nodes to be cloned
Returns:
the array of copied nodes

GPNode [] cern::gp::nodes::impl::NodeUtils::copyToNewGPNodeArray GPNode[]  origNodes  )  [inline, static]
 

creates an array of new GPNode objects without from the origNodes. Use this in case you need to "cut" the children below your nodes for some reason, e.g. because you want to display a list of children in a Tree

Deprecated:
-- this should use a FilterNode
Parameters:
origNodes the nodes with children that need to be cut off
Returns:
an array of new GPNode objects that refer to the same beans as the GPNodes passed as argument

boolean cern::gp::nodes::impl::NodeUtils::haveOneCommonParent final GPNode[]  nodes  )  [inline, static]
 

checks whether the nodes in the array all have a common parent

Returns:
true if there is a parent and it's the same for all nodes, false otherwise


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:39 2009 for ACS Java API by doxygen 1.3.8