H3D API
2.4.1
|
This abstract interface is the basis for all metadata nodes. More...
#include <H3D/X3DMetadataObject.h>
Public Member Functions | |
X3DMetadataObject (Inst< SFString > _name=0, Inst< SFString > _reference=0) | |
Constructor. | |
virtual | ~X3DMetadataObject () |
Force polymorphic E.g., to allow dynamic_cast to concrete metadata types. | |
virtual X3DMetadataObject * | getMetadataByName (const string &name) |
Given a name, the first X3DMetadataObject that matches that name is returned. More... | |
Public Attributes | |
H3DUniquePtr< SFString > | nameF |
Metadata name. More... | |
H3DUniquePtr< SFString > | reference |
The specification of the reference field is optional. More... | |
This abstract interface is the basis for all metadata nodes.
The interface is inherited by all metadata nodes. The specification of the reference field is optional. If provided, it identifies the metadata standard or other specification that defines the name field. If the reference field is not provided or is empty, the meaning of the name field is considered implicit to the characters in the string.
|
virtual |
Given a name, the first X3DMetadataObject that matches that name is returned.
If no such X3DMetadataObject exists, NULL is returned.
name | The name of the X3DMetadataObject to get. |
Reimplemented in H3D::MetadataSet.
References nameF.
Referenced by H3D::X3DNode::getMetadataByName().
H3DUniquePtr< SFString > H3D::X3DMetadataObject::nameF |
Metadata name.
Access type: inputOutput
Referenced by H3D::MetadataSet::getMetadataByName(), and getMetadataByName().
H3DUniquePtr< SFString > H3D::X3DMetadataObject::reference |
The specification of the reference field is optional.
If provided, it identifies the metadata standard or other specification that defines the name field.
Access type: inputOutput