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

ScriptNodeType Class Reference

Type objects for ScriptNodes. More...

Inheritance diagram for ScriptNodeType:

NodeType List of all members.

Public Methods

 ScriptNodeType (ScriptNodeClass &nodeClass)
 Constructor.

virtual ~ScriptNodeType () throw ()
 Destructor.

void addInterface (const NodeInterface &interface) throw (std::invalid_argument)
 Add an interface.

virtual const NodeInterfaceSetgetInterfaces () const throw ()
 Get the interfaces for the node.

virtual const NodePtr createNode (const ScopePtr &scope) const throw (std::bad_alloc)
 Clone the Script node that has this NodeType.


Private Attributes

NodeInterfaceSet interfaces

Detailed Description

Type objects for ScriptNodes.

See also:
ScriptNode::scriptNodeType


Constructor & Destructor Documentation

ScriptNodeType ScriptNodeClass   nodeClass
 

Constructor.

~ScriptNodeType   throw () [virtual]
 

Destructor.


Member Function Documentation

void addInterface const NodeInterface   interface throw (std::invalid_argument)
 

Add an interface.

const NodePtr createNode const ScopePtr   scope const throw (std::bad_alloc) [virtual]
 

Clone the Script node that has this NodeType.

Since the NodeType for a ScriptNode is only available once a ScriptNode is instantiated, you have to have a ScriptNode instance in order to be able to use this method. The "primordial" ScriptNode instance must be created with a call to the ScriptNode constructor.

Implements NodeType.

const NodeInterfaceSet & getInterfaces   const throw () [virtual]
 

Get the interfaces for the node.

Implements NodeType.