aboutsummaryrefslogtreecommitdiff
path: root/dist/etc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-05 14:10:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-05 14:10:49 +0200
commit8168af8d94a7c640f2ecb31f4aacd896be9a1b1f (patch)
tree9fb74a400fcf6fb9a7b0249d31d836c1240769de /dist/etc
parent74c5b68583f0dc3a860c068aa1aa56d1948bb17e (diff)
Update VC++ rule files with new options
Diffstat (limited to 'dist/etc')
-rw-r--r--dist/etc/vc-8.0/xsd-cxx-parser.rules28
-rw-r--r--dist/etc/vc-8.0/xsd-cxx-tree.rules65
-rw-r--r--dist/etc/vc-9.0/xsd-cxx-parser.rules28
-rw-r--r--dist/etc/vc-9.0/xsd-cxx-tree.rules65
4 files changed, 186 insertions, 0 deletions
diff --git a/dist/etc/vc-8.0/xsd-cxx-parser.rules b/dist/etc/vc-8.0/xsd-cxx-parser.rules
index ca9d053..a94a3ea 100644
--- a/dist/etc/vc-8.0/xsd-cxx-parser.rules
+++ b/dist/etc/vc-8.0/xsd-cxx-parser.rules
@@ -80,6 +80,34 @@
</Values>
</EnumProperty>
<EnumProperty
+ Name="CharEncoding"
+ DisplayName="Char Encoding"
+ PropertyPageName="Code Generation"
+ Description="Character encoding to be used bu the generated code."
+ >
+ <Values>
+ <EnumValue
+ Value="0"
+ DisplayName="UTF-8 (char)/UTF-16 (wchar_t)"
+ />
+ <EnumValue
+ Value="1"
+ Switch="--char-encoding iso8859-1"
+ DisplayName="ISO-8859-1"
+ />
+ <EnumValue
+ Value="2"
+ Switch="--char-encoding lcp"
+ DisplayName="Xerces-C++ local code page"
+ />
+ <EnumValue
+ Value="3"
+ Switch="--char-encoding custom"
+ DisplayName="Custom encoding"
+ />
+ </Values>
+ </EnumProperty>
+ <EnumProperty
Name="XMLParser"
DisplayName="Underlying XML Parser"
PropertyPageName="Code Generation"
diff --git a/dist/etc/vc-8.0/xsd-cxx-tree.rules b/dist/etc/vc-8.0/xsd-cxx-tree.rules
index d1d44fb..b3e921a 100644
--- a/dist/etc/vc-8.0/xsd-cxx-tree.rules
+++ b/dist/etc/vc-8.0/xsd-cxx-tree.rules
@@ -79,6 +79,34 @@
/>
</Values>
</EnumProperty>
+ <EnumProperty
+ Name="CharEncoding"
+ DisplayName="Char Encoding"
+ PropertyPageName="Code Generation"
+ Description="Character encoding to be used bu the generated code."
+ >
+ <Values>
+ <EnumValue
+ Value="0"
+ DisplayName="UTF-8 (char)/UTF-16 (wchar_t)"
+ />
+ <EnumValue
+ Value="1"
+ Switch="--char-encoding iso8859-1"
+ DisplayName="ISO-8859-1"
+ />
+ <EnumValue
+ Value="2"
+ Switch="--char-encoding lcp"
+ DisplayName="Xerces-C++ local code page"
+ />
+ <EnumValue
+ Value="3"
+ Switch="--char-encoding custom"
+ DisplayName="Custom encoding"
+ />
+ </Values>
+ </EnumProperty>
<StringProperty
Name="NamespaceMap"
DisplayName="Namespace Map"
@@ -123,6 +151,22 @@
Description="Generate polymorphism-aware code. Specify this option if you use substitution groups or xsi:type."
Switch="--generate-polymorphic"
/>
+ <StringProperty
+ Name="PolymorphicType"
+ DisplayName="Polymorphic Types"
+ PropertyPageName="Code Generation"
+ Description="Treat specified comma-separated list of types as roots of polymorphic type hierarchies."
+ Switch="--polymorphic-type [value]"
+ Delimited="true"
+ Delimiters=","
+ />
+ <BooleanProperty
+ Name="PolymorphicTypeAll"
+ DisplayName="All Types Polymorphic"
+ PropertyPageName="Code Generation"
+ Description="Indicate that all types should be treated as polymorphic."
+ Switch="--polymorphic-type-all"
+ />
<BooleanProperty
Name="GenOstream"
DisplayName="Generate Ostream"
@@ -159,6 +203,13 @@
Switch="--generate-from-base-ctor"
/>
<BooleanProperty
+ Name="GenDetach"
+ DisplayName="Generate Detach"
+ PropertyPageName="Code Generation"
+ Description="Generate detach functions for required elements and attributes."
+ Switch="--generate-detach"
+ />
+ <BooleanProperty
Name="GenWildcard"
DisplayName="Generate Wildcard"
PropertyPageName="Code Generation"
@@ -166,6 +217,20 @@
Switch="--generate-wildcard"
/>
<BooleanProperty
+ Name="GenElementType"
+ DisplayName="Generate Element Types"
+ PropertyPageName="Code Generation"
+ Description="Generate types instead of parsing and serialization functions for root elements."
+ Switch="--generate-element-type"
+ />
+ <BooleanProperty
+ Name="GenElementMap"
+ DisplayName="Generate Element Map"
+ PropertyPageName="Code Generation"
+ Description="Generate a root element map that allows uniform parsing and serialization of multiple root elements."
+ Switch="--generate-element-map"
+ />
+ <BooleanProperty
Name="GenIntellisense"
DisplayName="Generate IntelliSense"
PropertyPageName="Code Generation"
diff --git a/dist/etc/vc-9.0/xsd-cxx-parser.rules b/dist/etc/vc-9.0/xsd-cxx-parser.rules
index ca9d053..a94a3ea 100644
--- a/dist/etc/vc-9.0/xsd-cxx-parser.rules
+++ b/dist/etc/vc-9.0/xsd-cxx-parser.rules
@@ -80,6 +80,34 @@
</Values>
</EnumProperty>
<EnumProperty
+ Name="CharEncoding"
+ DisplayName="Char Encoding"
+ PropertyPageName="Code Generation"
+ Description="Character encoding to be used bu the generated code."
+ >
+ <Values>
+ <EnumValue
+ Value="0"
+ DisplayName="UTF-8 (char)/UTF-16 (wchar_t)"
+ />
+ <EnumValue
+ Value="1"
+ Switch="--char-encoding iso8859-1"
+ DisplayName="ISO-8859-1"
+ />
+ <EnumValue
+ Value="2"
+ Switch="--char-encoding lcp"
+ DisplayName="Xerces-C++ local code page"
+ />
+ <EnumValue
+ Value="3"
+ Switch="--char-encoding custom"
+ DisplayName="Custom encoding"
+ />
+ </Values>
+ </EnumProperty>
+ <EnumProperty
Name="XMLParser"
DisplayName="Underlying XML Parser"
PropertyPageName="Code Generation"
diff --git a/dist/etc/vc-9.0/xsd-cxx-tree.rules b/dist/etc/vc-9.0/xsd-cxx-tree.rules
index 5e63ce3..d82d618 100644
--- a/dist/etc/vc-9.0/xsd-cxx-tree.rules
+++ b/dist/etc/vc-9.0/xsd-cxx-tree.rules
@@ -79,6 +79,34 @@
/>
</Values>
</EnumProperty>
+ <EnumProperty
+ Name="CharEncoding"
+ DisplayName="Char Encoding"
+ PropertyPageName="Code Generation"
+ Description="Character encoding to be used bu the generated code."
+ >
+ <Values>
+ <EnumValue
+ Value="0"
+ DisplayName="UTF-8 (char)/UTF-16 (wchar_t)"
+ />
+ <EnumValue
+ Value="1"
+ Switch="--char-encoding iso8859-1"
+ DisplayName="ISO-8859-1"
+ />
+ <EnumValue
+ Value="2"
+ Switch="--char-encoding lcp"
+ DisplayName="Xerces-C++ local code page"
+ />
+ <EnumValue
+ Value="3"
+ Switch="--char-encoding custom"
+ DisplayName="Custom encoding"
+ />
+ </Values>
+ </EnumProperty>
<StringProperty
Name="NamespaceMap"
DisplayName="Namespace Map"
@@ -123,6 +151,22 @@
Description="Generate polymorphism-aware code. Specify this option if you use substitution groups or xsi:type."
Switch="--generate-polymorphic"
/>
+ <StringProperty
+ Name="PolymorphicType"
+ DisplayName="Polymorphic Types"
+ PropertyPageName="Code Generation"
+ Description="Treat specified comma-separated list of types as roots of polymorphic type hierarchies."
+ Switch="--polymorphic-type [value]"
+ Delimited="true"
+ Delimiters=","
+ />
+ <BooleanProperty
+ Name="PolymorphicTypeAll"
+ DisplayName="All Types Polymorphic"
+ PropertyPageName="Code Generation"
+ Description="Indicate that all types should be treated as polymorphic."
+ Switch="--polymorphic-type-all"
+ />
<BooleanProperty
Name="GenOstream"
DisplayName="Generate Ostream"
@@ -159,6 +203,13 @@
Switch="--generate-from-base-ctor"
/>
<BooleanProperty
+ Name="GenDetach"
+ DisplayName="Generate Detach"
+ PropertyPageName="Code Generation"
+ Description="Generate detach functions for required elements and attributes."
+ Switch="--generate-detach"
+ />
+ <BooleanProperty
Name="GenWildcard"
DisplayName="Generate Wildcard"
PropertyPageName="Code Generation"
@@ -166,6 +217,20 @@
Switch="--generate-wildcard"
/>
<BooleanProperty
+ Name="GenElementType"
+ DisplayName="Generate Element Types"
+ PropertyPageName="Code Generation"
+ Description="Generate types instead of parsing and serialization functions for root elements."
+ Switch="--generate-element-type"
+ />
+ <BooleanProperty
+ Name="GenElementMap"
+ DisplayName="Generate Element Map"
+ PropertyPageName="Code Generation"
+ Description="Generate a root element map that allows uniform parsing and serialization of multiple root elements."
+ Switch="--generate-element-map"
+ />
+ <BooleanProperty
Name="GenIntellisense"
DisplayName="Generate IntelliSense"
PropertyPageName="Code Generation"