Home Hierarchy Members Alphabetical Related Pages

script.h

Go to the documentation of this file.
00001 #ifndef XDKWRL_SCRIPT_H
00002 #define XDKWRL_SCRIPT_H
00003 
00004 #include <xdkwrl/node.h>
00005 #include <xdkwrl/fieldtypes/mfstring.h>
00006 #include <xdkwrl/fieldtypes/sfbool.h>
00007 #include <map>
00008 
00009 namespace wrl
00010 {
00011   //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00012   // Interface of Script
00013   //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00014   class Script : public DeclaredNode
00015   {
00016      public:
00017        Script(const char* name="");
00018        virtual ~Script() {};
00019        virtual FieldHandle field(const std::string& n);
00020        virtual unsigned int nbFields() const;
00021        virtual FieldHandle field(const unsigned int i);
00022        virtual bool isSetToDefaultValue(const unsigned int i) const;
00023        inline const char* typeName() const;
00024        virtual Node* duplicate() const;
00025        virtual Node* duplicate(std::map<const Node*,Node*>&) const;
00026     
00027        MFString   url;
00028        SFBool     directOutput;
00029        SFBool     mustEvaluate;
00030 
00031        virtual bool isDeclaredField(const std::string& n) const;
00032        virtual bool isDeclaredField(unsigned int i) const;
00033   };
00034   //************************************************************
00035   // Implementation of Script
00036   //************************************************************
00037   inline const char*
00038   Script::typeName() const
00039   {
00040     return "Script";
00041   }
00042 };
00043 #endif // XDKWRL_SCRIPT_H
00044 
00045 // Local variables section.
00046 // This is only used by emacs!
00047 // Local Variables:
00048 // ff-search-directories: ("." "../../src/xdkwrl/")
00049 // End:

Generated on 24 Feb 2005 with doxygen version 1.3.9.1. Valid HTML 4.0! Valid CSS!