| Home | Download | Screen shots | Discussion | Documentation |
|---|
Inheritance diagram for openvrml::script_node::script_node_type:


Public Member Functions | |
| script_node_type (script_node_class &class_) | |
| Construct. | |
| virtual | ~script_node_type () throw () |
| Destroy. | |
| void | add_interface (const node_interface &interface) throw (std::invalid_argument) |
| Add an interface. | |
| virtual const node_interface_set & | interfaces () const throw () |
| Get the interfaces for the node. | |
| virtual const node_ptr | create_node (const scope_ptr &scope) const throw (std::bad_alloc) |
| Clone the Script node that has this node_type. | |
Private Attributes | |
| node_interface_set | interfaces_ |
| Node interfaces. | |
|
|
Construct.
|
|
|
Add an interface.
|
|
|
Clone the Script node that has this node_type. Since the node_type for a script_node is only available once a script_node is instantiated, you have to have a script_node instance in order to be able to use this method. The "primordial" script_node instance must be created with a call to the script_node constructor.
Implements openvrml::node_type. |
|
|
Get the interfaces for the node.
Implements openvrml::node_type. |