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.1 | |
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.1')
-rw-r--r-- | documentation/xsd.1 | 5 |
1 files changed, 5 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 |