00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00027
00029 #ifndef __METADATAINTEGER_H__
00030 #define __METADATAINTEGER_H__
00031
00032 #include "X3DMetadataObject.h"
00033 #include "X3DNode.h"
00034 #include "MFInt32.h"
00035
00036 namespace H3D {
00037
00041 class H3DAPI_API MetadataInteger:
00042 public X3DNode,
00043 public X3DMetadataObject {
00044 public:
00045
00046 typedef TypedSFNodeObject< X3DMetadataObject > SFMetadataNode;
00047
00049 MetadataInteger( Inst< SFString > _name = 0,
00050 Inst< SFString > _reference = 0,
00051 Inst< SFMetadataNode > _metadata = 0,
00052 Inst< MFInt32 > _value = 0);
00053
00054
00058 virtual string defaultXMLContainerField() {
00059 return "metadata";
00060 }
00061
00065 auto_ptr< SFMetadataNode > metadata;
00066
00070 auto_ptr< MFInt32 > value;
00071
00073 static H3DNodeDatabase database;
00074 };
00075 }
00076
00077 #endif