ot::SPLCommonNodeFactory Class Reference

#include <SPLCommonNodeFactory.h>

Inheritance diagram for ot::SPLCommonNodeFactory:

Inheritance graph
[legend]
Collaboration diagram for ot::SPLCommonNodeFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SPLCommonNodeFactory ()
virtual NodecreateNode (const std::string &name, StringTable &attributes)

Constructor & Destructor Documentation

ot::SPLCommonNodeFactory::SPLCommonNodeFactory  ) 
 


Member Function Documentation

Node * ot::SPLCommonNodeFactory::createNode const std::string &  name,
StringTable attributes
[virtual]
 

This method tries to create a new Node based on a given element type and the attributes of the element. If it can not create a new Node ( because it doesn't know about the element type for example ), it returns NULL. This method has to be implemented by real NodeFactories.

Parameters:
name reference to string containing element name
attributes refenrence to StringTable containing attribute values
Returns:
pointer to new Node or NULL. The new Node must be allocated with new !

Implements ot::NodeFactory.


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:33:25 2007 for NaviTrack by  doxygen 1.4.6