00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef ARCHON_X3D_PARSE_XML_H
00021 #define ARCHON_X3D_PARSE_XML_H
00022
00023 #include <string>
00024
00025 #include <archon/util/logger.H>
00026 #include <archon/util/ref.H>
00027 #include <archon/util/stream.H>
00028 #include <archon/util/uri.H>
00029
00030 #include <archon/x3d/server/core.H>
00031 #include <archon/x3d/server/parse.H>
00032
00033 namespace Archon
00034 {
00035 namespace X3D
00036 {
00041 namespace XML
00042 {
00043 using namespace std;
00044 using namespace Utilities;
00045
00046 struct CDATANode
00047 {
00051 virtual void handleCDATA(string, Time stamp) = 0;
00052
00053 virtual ~CDATANode() {}
00054 };
00055
00065 void parse(Ref<ExecutionContext>, Ref<GroupingNode>, Ref<Stream::Reader>,
00066 bool progressive=false, Logger * =0, string sourceName="",
00067 ProgressTracker * =0);
00068 }
00069 }
00070 }
00071
00072 #endif // ARCHON_X3D_PARSE_XML_H