summaryrefslogtreecommitdiff
path: root/dist/examples
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-07-04 11:15:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-07-04 11:15:44 +0200
commit57fe13de5c01bc8e5bbeb39acd131c9329245261 (patch)
tree1196307d17664b97af750778488e4798d0dbf8dc /dist/examples
parenta1bc52f9ae499a672b05b3264f82a24637a16a02 (diff)
Update streaming example with new implementation
Diffstat (limited to 'dist/examples')
-rw-r--r--dist/examples/cxx/tree/streaming/makefile5
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj4
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj.filters8
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj4
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj.filters8
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj4
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj.filters8
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc8.vcproj6
-rw-r--r--dist/examples/cxx/tree/streaming/streaming-vc9.vcproj6
9 files changed, 45 insertions, 8 deletions
diff --git a/dist/examples/cxx/tree/streaming/makefile b/dist/examples/cxx/tree/streaming/makefile
index ed32b83..4c7acd2 100644
--- a/dist/examples/cxx/tree/streaming/makefile
+++ b/dist/examples/cxx/tree/streaming/makefile
@@ -9,12 +9,13 @@ override XSDFLAGS += --generate-serialization
# Build.
#
-driver: driver.o parser.o serializer.o position.o
+driver: driver.o parser.o serializer.o grammar-input-stream.o position.o
position.o: position.cxx position.hxx
driver.o: driver.cxx position.hxx parser.hxx serializer.hxx
parser.o: parser.cxx parser.hxx
serializer.o: serializer.cxx serializer.hxx
+grammar-input-stream.o: grammar-input-stream.cxx grammar-input-stream.hxx
position.cxx position.hxx: position.xsd
@@ -30,4 +31,4 @@ test: driver position.xml
#
.PHONY: clean
clean:
- rm -f position.o position.?xx parser.o serializer.o driver.o driver out.xml
+ rm -f position.o position.?xx parser.o serializer.o grammar-input-stream.o driver.o driver out.xml
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj b/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj
index fb74ff1..627ddcc 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj
+++ b/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
@@ -182,11 +182,13 @@
<ClCompile Include="position.cxx" />
<ClCompile Include="parser.cxx" />
<ClCompile Include="serializer.cxx" />
+ <ClCompile Include="grammar-input-stream.cxx" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="position.hxx" />
<ClInclude Include="parser.hxx" />
<ClInclude Include="serializer.hxx" />
+ <ClInclude Include="grammar-input-stream.hxx" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="position.xsd">
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj.filters b/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj.filters
index cf8b190..3597703 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj.filters
+++ b/dist/examples/cxx/tree/streaming/streaming-vc10.vcxproj.filters
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
@@ -27,6 +27,9 @@
<ClCompile Include="serializer.cxx">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="grammar-input-stream.cxx">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="position.hxx">
@@ -38,6 +41,9 @@
<ClInclude Include="serializer.hxx">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="grammar-input-stream.hxx">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="Readme.txt" />
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj b/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj
index cb16610..01ce1db 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj
+++ b/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
@@ -186,11 +186,13 @@
<ClCompile Include="position.cxx" />
<ClCompile Include="parser.cxx" />
<ClCompile Include="serializer.cxx" />
+ <ClCompile Include="grammar-input-stream.cxx" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="position.hxx" />
<ClInclude Include="parser.hxx" />
<ClInclude Include="serializer.hxx" />
+ <ClInclude Include="grammar-input-stream.hxx" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="position.xsd">
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj.filters b/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj.filters
index cf8b190..3597703 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj.filters
+++ b/dist/examples/cxx/tree/streaming/streaming-vc11.vcxproj.filters
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
@@ -27,6 +27,9 @@
<ClCompile Include="serializer.cxx">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="grammar-input-stream.cxx">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="position.hxx">
@@ -38,6 +41,9 @@
<ClInclude Include="serializer.hxx">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="grammar-input-stream.hxx">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="Readme.txt" />
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj b/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj
index 6511fa9..6dba59e 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj
+++ b/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
@@ -190,11 +190,13 @@
<ClCompile Include="position.cxx" />
<ClCompile Include="parser.cxx" />
<ClCompile Include="serializer.cxx" />
+ <ClCompile Include="grammar-input-stream.cxx" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="position.hxx" />
<ClInclude Include="parser.hxx" />
<ClInclude Include="serializer.hxx" />
+ <ClInclude Include="grammar-input-stream.hxx" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="position.xsd">
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj.filters b/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj.filters
index cf8b190..3597703 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj.filters
+++ b/dist/examples/cxx/tree/streaming/streaming-vc12.vcxproj.filters
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
@@ -27,6 +27,9 @@
<ClCompile Include="serializer.cxx">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="grammar-input-stream.cxx">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="position.hxx">
@@ -38,6 +41,9 @@
<ClInclude Include="serializer.hxx">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="grammar-input-stream.hxx">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="Readme.txt" />
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc8.vcproj b/dist/examples/cxx/tree/streaming/streaming-vc8.vcproj
index b7f65d0..27f6233 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc8.vcproj
+++ b/dist/examples/cxx/tree/streaming/streaming-vc8.vcproj
@@ -359,6 +359,9 @@
<File
RelativePath=".\serializer.cxx">
</File>
+ <File
+ RelativePath=".\grammar-input-stream.cxx">
+ </File>
</Filter>
<Filter
Name="Header Files"
@@ -375,6 +378,9 @@
<File
RelativePath=".\serializer.hxx">
</File>
+ <File
+ RelativePath=".\grammar-input-stream.hxx">
+ </File>
</Filter>
<Filter
Name="Schema Files"
diff --git a/dist/examples/cxx/tree/streaming/streaming-vc9.vcproj b/dist/examples/cxx/tree/streaming/streaming-vc9.vcproj
index cbfec59..8dd3f2e 100644
--- a/dist/examples/cxx/tree/streaming/streaming-vc9.vcproj
+++ b/dist/examples/cxx/tree/streaming/streaming-vc9.vcproj
@@ -356,6 +356,9 @@
<File
RelativePath=".\serializer.cxx">
</File>
+ <File
+ RelativePath=".\grammar-input-stream.cxx">
+ </File>
</Filter>
<Filter
Name="Header Files"
@@ -372,6 +375,9 @@
<File
RelativePath=".\serializer.hxx">
</File>
+ <File
+ RelativePath=".\grammar-input-stream.hxx">
+ </File>
</Filter>
<Filter
Name="Schema Files"