Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

X3DTK::NameDict Class Reference

Class providing a dictionary of list of names. More...

List of all members.

Public Methods


Detailed Description

Class providing a dictionary of list of names.


Constructor & Destructor Documentation

X3DTK::NameDict::NameDict  
 

Constructor.

X3DTK::NameDict::~NameDict  
 

Destructor.


Member Function Documentation

SFString X3DTK::NameDict::getNameOfNode const SFAbstractNode &    N const
 

Gets the name corresponding to the node N.

SFAbstractNode X3DTK::NameDict::getNodeOfName const SFString   name const
 

Gets the node corresponding to the name name.

If the list contains more than One element, the last element inserted is returned.

void X3DTK::NameDict::insert const SFString   name,
const SFAbstractNode &    N
 

Inserts the couple (name, N).

void X3DTK::NameDict::makeDEFNonAmbiguous  
 

Sets the set of DEF non ambiguous, it means that it renames the common DEF.

It creates new DEF when there are more than one node referenced by the same DEF. The new name is "DEF"_i i>=0.

void X3DTK::NameDict::printDict  
 

Prints the content of the dictionary.

void X3DTK::NameDict::remove SFAbstractNode    N
 

Removes the couple of which the node is N.


Generated on Thu Dec 4 13:25:53 2003 for X3DToolKit by doxygen1.2.18