00001
00002
00004
00005 #ifndef QFILEELEMENT_H
00006 #define QFILEELEMENT_H
00007
00008 #include "X3DFileElement.h"
00009
00010 namespace X3DTK {
00011
00012 class QFileElementImplementation;
00013
00014 namespace X3D {
00015
00016 class QSAX2X3DHandler;
00017
00018 }
00019
00021
00022 class QFileElement : public X3DFileElement
00023 {
00024 friend class X3D::QSAX2X3DHandler;
00025 public:
00027 SFString getName() const;
00029 SFString getAttribute(int i) const;
00031 int getIndexAttribute(const SFString &attribute) const;
00032
00033 private:
00034 QFileElementImplementation *impl;
00035 QFileElement(const SFString &name, const void *const attributes);
00036 ~QFileElement();
00037 };
00038
00039 }
00040
00041 #endif