Home | Download | Screen shots | Discussion | Documentation |
---|
A placeholder node_metatype
.
More...
#include <openvrml/node.h>
Public Member Functions | |
null_node_metatype (openvrml::browser &browser) throw () | |
Construct. | |
virtual | ~null_node_metatype () throw () |
Destroy. | |
Private Member Functions | |
virtual const boost::shared_ptr< node_type > | do_create_type (const std::string &id, const node_interface_set &interfaces) const throw () |
Do not call. |
A placeholder node_metatype
.
The null_node_metatype
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.
openvrml::null_node_metatype::null_node_metatype | ( | openvrml::browser & | browser | ) | throw () [explicit] |
Construct.
browser | a browser . |
openvrml::null_node_metatype::~null_node_metatype | ( | ) | throw () [virtual] |
Destroy.
const boost::shared_ptr< openvrml::node_type > openvrml::null_node_metatype::do_create_type | ( | const std::string & | id, |
const node_interface_set & | interfaces | ||
) | const throw () [private, virtual] |