openvrml::null_node_type Class Reference

A placeholder node_type. More...

#include <openvrml/node.h>

Inheritance diagram for openvrml::null_node_type:

Public Member Functions

 null_node_type (null_node_metatype &type) throw ()
 Construct.
virtual ~null_node_type () throw ()
 Destroy.
- Public Member Functions inherited from openvrml::node_type
virtual ~node_type ()=0 throw ()
 Destructor.
const node_metatypemetatype () const throw ()
 The class object associated with the node_type.
const std::string & id () const throw ()
 The name of the node_type.
const node_interface_setinterfaces () const throw ()
 Get the set of interfaces for the node_type.
const boost::intrusive_ptr< nodecreate_node (const boost::shared_ptr< scope > &scope, const initial_value_map &initial_values=initial_value_map()) const throw ( unsupported_interface , std::bad_cast , std::bad_alloc )
 Create a new node with this node_type.

Private Member Functions

virtual const node_interface_setdo_interfaces () const throw ()
 Do not call.
virtual const
boost::intrusive_ptr< node
do_create_node (const boost::shared_ptr< openvrml::scope > &scope, const initial_value_map &initial_values) const throw ()
 Do not call.

Additional Inherited Members

- Protected Member Functions inherited from openvrml::node_type
 node_type (const node_metatype &c, const std::string &id) throw ( std::bad_alloc )
 Constructor.

Detailed Description

A placeholder node_type.

The null_node_type is provided for convenience for the uncommon (but not inconceivable) situation where one needs something that acts like a node, yet isn't a full-fleged node with proper node_metatype and node_type implementations.

See Also
openvrml::null_node_metatype

Constructor & Destructor Documentation

openvrml::null_node_type::null_node_type ( null_node_metatype type) throw ()
explicit

Construct.

openvrml::null_node_type::~null_node_type ( ) throw ()
virtual

Destroy.

Member Function Documentation

const openvrml::node_interface_set & openvrml::null_node_type::do_interfaces ( ) const throw ()
privatevirtual

Do not call.

Warning
Correct code will not call this function.
const boost::intrusive_ptr< openvrml::node > openvrml::null_node_type::do_create_node ( const boost::shared_ptr< openvrml::scope > &  scope,
const initial_value_map initial_values 
) const throw ()
privatevirtual

Do not call.

Warning
Correct code will not call this function.