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

ChildNode Class Reference

Abstract base class for child nodes. More...

Inheritance diagram for ChildNode:

Node ScriptNode AbstractChild AbstractLight Background ColorInterpolator CoordinateInterpolator CylinderSensor Fog Group Inline LOD NavigationInfo NormalInterpolator OrientationInterpolator PlaneSensor PositionInterpolator ProximitySensor ScalarInterpolator Shape Sound SphereSensor Switch TimeSensor TouchSensor Viewpoint VisibilitySensor WorldInfo List of all members.

Public Methods

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

virtual const ChildNode * toChild () const throw ()
 Cast to a ChildNode.

virtual ChildNode * toChild () throw ()
 Cast to a ChildNode.


Protected Methods

 ChildNode (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.


Detailed Description

Abstract base class for child nodes.


Constructor & Destructor Documentation

~ChildNode   throw () [pure virtual]
 

Destructor.

ChildNode const NodeType   nodeType,
const ScopePtr   scope
[protected]
 

Constructor.

Parameters:
nodeType the NodeType associated with the node.
scope the Scope the node belongs to.

Member Function Documentation

ChildNode * toChild   throw () [virtual]
 

Cast to a ChildNode.

Returns:
a pointer to this ChildNode.

Reimplemented from Node.

const ChildNode * toChild   const throw () [virtual]
 

Cast to a ChildNode.

Returns:
a pointer to this ChildNode.

Reimplemented from Node.