00001 00002 // X3DFileElement.h // 00004 00005 #ifndef X3DFILEELEMENT_H 00006 #define X3DFILEELEMENT_H 00007 00008 #include "X3DTypes.h" 00009 00010 namespace X3DTK { 00011 00013 00014 class X3DFileElement 00015 { 00016 public: 00018 virtual SFString getName() const = 0; 00020 virtual SFString getAttribute(int i) const = 0; 00022 virtual int getIndexAttribute(const SFString &attribute) const = 0; 00023 00024 protected: 00026 X3DFileElement(); 00028 virtual ~X3DFileElement(); 00029 00030 }; 00031 00032 } 00033 00034 #endif