cern::gp::nodes::children::NodeMap Interface Reference

Inheritance diagram for cern::gp::nodes::children::NodeMap:
Inheritance graph
[legend]
Collaboration diagram for cern::gp::nodes::children::NodeMap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addNode (Object key, GPNode node)
void addNode (GPNode node)
void addNodes (GPNode[] nodes)
void addNodes (Map nodesMap)
GPNode removeNode (Object key)
void removeNodes (Object[] keys)
GPNode getNode (Object key)
Set keySet ()

Detailed Description

A class implementing this interface hold a collection of nodes as a Map.

Version:
Revision
1.2
Date
2006/09/25 08:52:36
Author:
Lionel Mestre

Member Function Documentation

void cern::gp::nodes::children::NodeMap::addNode ( GPNode  node  ) 

Adds the new node to the map using the name returned by the method node.getName() as the key.

Parameters:
node the node to add to the map

Implemented in cern::gp::nodes::children::ChildrenFactory::MapChildren, and cern::gp::nodes::children::ChildrenFactory::SortedMapChildren.

void cern::gp::nodes::children::NodeMap::addNode ( Object  key,
GPNode  node 
)
void cern::gp::nodes::children::NodeMap::addNodes ( Map  nodesMap  ) 

Adds all nodes in the given map to this node map. The key for each node in the given map is used as the key in this node map.

Parameters:
nodesMap the nodes to add to this map
void cern::gp::nodes::children::NodeMap::addNodes ( GPNode[]  nodes  ) 

Adds all nodes in the given array to the map using the name returned by the method node.getName() as the key for each node.

Parameters:
nodes the nodes to add to the map

Implemented in cern::gp::nodes::children::ChildrenFactory::MapChildren, and cern::gp::nodes::children::ChildrenFactory::SortedMapChildren.

Referenced by cern::gp::nodes::children::DefaultChildrenMapManager::initChildrenMap().

GPNode cern::gp::nodes::children::NodeMap::getNode ( Object  key  ) 
Set cern::gp::nodes::children::NodeMap::keySet (  ) 
GPNode cern::gp::nodes::children::NodeMap::removeNode ( Object  key  ) 
void cern::gp::nodes::children::NodeMap::removeNodes ( Object[]  keys  ) 

The documentation for this interface was generated from the following file:

Generated by  doxygen 1.6.2