#include <TypedField.h>
Protected Member Functions | |
| void | checkFieldType (Field *f, int index) |
| Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. | |
| void | checkTemplateArguments () |
| Function for checking that a field given TypedField type specification is valid. | |
| BaseField | The Field type base class. | |
| RequiredArgTypes | The types of the routes that are required to be there. If these routes are not present when the evaluate() function is called then an exception is thrown. The types can be specified with the Types and Any templates. The Types template specifies a list of types and the Any template defines the type to be any of the types given in it. void can be used to specify that there are no required routes. | |
| OptionalArgTypes | Types of optional routes. These do not have to be there in order for the field to be able to evaluate. In addition to the templates Any and Types used for RequiredArgTypes the template AnyNumber can be used to specify that any number of the route types specified in the template are valid. void can be used to specify that there are no required routes. |
|
||||||||||||||||
|
|||||||||
|
Function for checking that a field given TypedField type specification is valid.
Reimplemented in H3D::TypedField< H3D::SFMatrix4f, Types< SFVec3f, SFRotation, SFVec3f, SFRotation, SFVec3f > >, H3D::TypedField< H3D::SFMatrix4f, Types< SFVec3f, SFVec3f, SFVec3f > >, H3D::TypedField< SFDouble, void, AnyNumber< SFTime > >, H3D::TypedField< SFVec3f, Types< SFFloat, SFVec3f > >, H3D::TypedField< SFQuaternion, Types< SFVec3f, SFRotation > >, H3D::TypedField< MatrixTransform::SFMatrix4f, Types< SFVec3f, SFVec3f, SFBound, SFBool, SFBool > >, H3D::TypedField< MFVec3f, Types< SFFloat, MFFloat, MFVec3f > >, H3D::TypedField< MFVec2f, Types< SFFloat, MFFloat, MFVec2f > >, H3D::TypedField< AutoUpdate< SFBool >, Types< SFBool, SFBool, SFBool, SFBool, MFString, SFFloat > >, H3D::TypedField< SFRotation, Types< SFInt32, SFBool, SFVec2f, SFRotation > >, H3D::TypedField< SFVec3f, Types< SFMatrix3f, SFVec3f > >, H3D::TypedField< SFVec3f, SFBoxBound, SFMatrix4f >, H3D::TypedField< SFVec3f, Types< SFMatrix4f, SFVec3f > >, H3D::TypedField< SFInt32, SFBool >, H3D::TypedField< SFVec3f, Types< SFVec3f, SFFloat > >, H3D::TypedField< PeriodicUpdate< SFInt32 >, Types< SFInt32, SFString > >, H3D::TypedField< SFFloat, Types< SFFloat, MFFloat, MFFloat > >, H3D::TypedField< SFVec3f, Types< SFVec3f, SFVec3f, SFFloat > >, H3D::TypedField< SFRotation, Types< SFFloat, MFFloat, MFRotation > >, H3D::TypedField< SFRotation, Types< SFRotation, SFFloat > >, H3D::TypedField< H3D::SFVec3f, Types< SFTime > >, H3D::TypedField< H3D::SFMatrix4f, Types< SFRotation, SFVec3f > >, H3D::TypedField< X3DGroupingNode::SFBound, SFInt32, AnyNumber< X3DBoundedObject::SFBound > >, H3D::TypedField< SFString, MFString >, H3D::TypedField< SFVec2f, Types< SFFloat, MFFloat, MFVec2f > >, H3D::TypedField< SFVec3f, Types< SFFloat, MFFloat, MFVec3f > >, H3D::TypedField< ThreadSafeSField< SFBool >, Types< SFInt32 > >, H3D::TypedField< SFColor, Types< SFFloat, MFFloat, MFColor > >, H3D::TypedField< SFRotation, Types< SFRotation, SFRotation > >, H3D::TypedField< SFVec4d, Types< SFVec3f, SFVec3f > >, H3D::TypedField< SFTime, SFBool >, H3D::TypedField< MFDouble, void, AnyNumber< MFTime > >, H3D::TypedField< SFBool, SFTime >, and H3D::TypedField< MFVec3f, Types< MFVec2f, MFRotation, MFVec2f, MFVec3f > >. |
1.4.5