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

openvrml::child_node Class Reference

Abstract base class for child nodes. More...

Inheritance diagram for openvrml::child_node:

Inheritance graph
[legend]
Collaboration diagram for openvrml::child_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~child_node ()=0 throw ()
 Destructor.

virtual const child_node * to_child () const throw ()
 Cast to a child_node.

virtual child_node * to_child () throw ()
 Cast to a child_node.


Protected Member Functions

 child_node (const node_type &type, const scope_ptr &scope) throw ()
 Constructor.


Detailed Description

Abstract base class for child nodes.


Constructor & Destructor Documentation

openvrml::child_node::~child_node  )  throw () [pure virtual]
 

Destructor.

openvrml::child_node::child_node const node_type type,
const scope_ptr scope
throw () [protected]
 

Constructor.

Parameters:
type the node_type associated with the node.
scope the Scope the node belongs to.

Member Function Documentation

child_node * openvrml::child_node::to_child  )  throw () [virtual]
 

Cast to a child_node.

Returns:
a pointer to this child_node.

Reimplemented from openvrml::node.

const child_node * openvrml::child_node::to_child  )  const throw () [virtual]
 

Cast to a child_node.

Returns:
a pointer to this child_node.

Reimplemented from openvrml::node.