cern::gp::nodes::impl::NodeUtils Class Reference
List of all members.
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] |
Member Function Documentation
| static 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
| static 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
| static 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
References cern::gp::nodes::GPNode::getParent().
The documentation for this class was generated from the following file: