00001 00002 00003 00005 00006 00011 00016 00021 // X3DFileElement.h // 00023 00024 #ifndef X3DFILEELEMENT_H 00025 #define X3DFILEELEMENT_H 00026 00027 #include "X3DTypes.h" 00028 00029 namespace X3DTK { 00030 00032 00033 class X3DFileElement 00034 { 00035 public: 00037 virtual SFString getName() const = 0; 00039 virtual SFString getAttribute(int i) const = 0; 00041 virtual int getIndexAttribute(const SFString &attribute) const = 0; 00042 00043 protected: 00045 X3DFileElement(); 00047 virtual ~X3DFileElement(); 00048 00049 }; 00050 00051 } 00052 00053 #endif