|
H3D API
2.4.1
|
Template to make sure that the Node that is set in a SFNode is of a specified Node type. More...
#include <H3D/FieldTemplates.h>
Inherits BaseRefCountType.
Public Member Functions | |
| virtual RefCountedType * | getValue () |
| Get the value casted to the RefCountType. | |
Protected Member Functions | |
| void | onAdd (typename BaseRefCountType::value_type n) |
| We check that the type of the Node is of the correct type. | |
Template to make sure that the Node that is set in a SFNode is of a specified Node type.
| RefCountedTyoe | The expected RefcountedClass type. |
| BaseRefCountType | The base field type. |