diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-29 15:24:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-29 15:24:56 +0200 |
commit | 474046c375d24bfdb51a20b0bfd3ac4ac928ef3e (patch) | |
tree | 58e80190a253381fe4e0bf636ceb33679e2647fb /documentation/xsd.xhtml | |
parent | 54333e04060f50cb9d8babb40d3469b7a2a7c38e (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/xsd.xhtml')
-rw-r--r-- | documentation/xsd.xhtml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |