00001 00002 // X3DFileElement.h // 00004 00005 #ifndef X3DFILEELEMENT_H 00006 #define X3DFILEELEMENT_H 00007 00008 #include "X3DTypes.h" 00009 00010 namespace X3DTK { 00011 00012 class X3DFileElement 00013 { 00014 public: 00016 X3DFileElement(); 00018 virtual ~X3DFileElement() = 0; 00019 00021 virtual SFString getName() const = 0; 00023 virtual SFString getAttribute(int i) const = 0; 00025 virtual int getIndexAttribute(const SFString &attribute) const = 0; 00026 }; 00027 00028 } 00029 00030 #endif