00001 00002 // libXMLFileElement.h // 00004 00005 #ifndef LIBXMLFILEELEMENT_H 00006 #define LIBXMLFILEELEMENT_H 00007 00008 #include "X3DFileElement.h" 00009 00010 typedef unsigned char xmlChar; 00011 00012 namespace X3DTK { 00013 00014 class libXMLFileElementImplementation; 00015 00016 namespace X3D { 00017 struct _X3DParseState; 00018 typedef _X3DParseState X3DParseState; 00019 } 00020 00022 00023 class libXMLFileElement : public X3DFileElement 00024 { 00025 public: 00027 libXMLFileElement(const SFString &name, const void *const attributes); 00029 ~libXMLFileElement(); 00031 SFString getName() const; 00033 SFString getAttribute(int i) const; 00035 int getIndexAttribute(const SFString &attribute) const; 00036 00037 private: 00038 libXMLFileElementImplementation *impl; 00039 }; 00040 00041 } 00042 00043 #endif