summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-29 15:24:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-29 15:24:56 +0200
commit474046c375d24bfdb51a20b0bfd3ac4ac928ef3e (patch)
tree58e80190a253381fe4e0bf636ceb33679e2647fb /documentation
parent54333e04060f50cb9d8babb40d3469b7a2a7c38e (diff)
Implement generation of assignment operators
Also add the --suppress-assignment option. We need to generate these operators into the .cxx file instead of relying on the implicit inline ones because in the file-per-type mode types of members are only forward- declared in the header. Also, we don't want to assign the DOMDocument member used to store the wildcard content.
Diffstat (limited to 'documentation')
-rw-r--r--documentation/xsd.15
-rw-r--r--documentation/xsd.xhtml5
2 files changed, 10 insertions, 0 deletions
diff --git a/documentation/xsd.1 b/documentation/xsd.1
index 8b97b14..ecde0ca 100644
--- a/documentation/xsd.1
+++ b/documentation/xsd.1
@@ -869,6 +869,11 @@ not initialized and accessing them results in undefined behavior.
Generate constructors that expect an instance of a base type followed by all
required members.
+.IP "\fB\--suppress-assignment\fR"
+Suppress the generation of copy assignment operators for complex types.
+If this option is specified, the copy assignment operators for such
+types are declared private and left unimplemented.
+
.IP "\fB\--generate-detach\fR"
Generate detach functions for required elements and attributes (detach
functions for optional and sequence cardinalities are provided by the
diff --git a/documentation/xsd.xhtml b/documentation/xsd.xhtml
index 4acf822..f5fb0b7 100644
--- a/documentation/xsd.xhtml
+++ b/documentation/xsd.xhtml
@@ -763,6 +763,11 @@
<dd>Generate constructors that expect an instance of a base type
followed by all required members.</dd>
+ <dt><code><b>--suppress-assignment</b></code></dt>
+ <dd>Suppress the generation of copy assignment operators for complex
+ types. If this option is specified, the copy assignment operators
+ for such types are declared private and left unimplemented.</dd>
+
<dt><code><b>--generate-detach</b></code></dt>
<dd>Generate detach functions for required elements and attributes
(detach functions for optional and sequence cardinalities are