summaryrefslogtreecommitdiff
path: root/xsd/doc/pregenerated/xsd.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/doc/pregenerated/xsd.xhtml')
-rw-r--r--xsd/doc/pregenerated/xsd.xhtml64
1 files changed, 42 insertions, 22 deletions
diff --git a/xsd/doc/pregenerated/xsd.xhtml b/xsd/doc/pregenerated/xsd.xhtml
index 4737ab6..2e30ed4 100644
--- a/xsd/doc/pregenerated/xsd.xhtml
+++ b/xsd/doc/pregenerated/xsd.xhtml
@@ -1,12 +1,11 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-
+<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>XSD 4.2.0-b.4 Compiler Command Line Manual</title>
+ <title>XSD 4.2.1-a.0 Compiler Command Line Manual</title>
- <meta name="version" content="4.2.0-b.4"/>
- <meta name="copyright" content="&#169; 2005-2022 Code Synthesis Tools CC"/>
+ <meta charset="UTF-8"/>
+ <meta name="version" content="4.2.1-a.0"/>
+ <meta name="copyright" content="&#169; 2005-2023 Code Synthesis"/>
<meta name="keywords" content="xsd,xml,schema,c++,mapping,data,binding,code,generator,manual,man,page"/>
<meta name="description" content="XSD Compiler Command Line Manual"/>
@@ -124,14 +123,16 @@
<dl class="options">
<dt><code><b>--std</b></code> <code><i>version</i></code></dt>
<dd>Specify the C++ standard that the generated code should conform to.
- Valid values are <code><b>c++98</b></code> (default) and
- <code><b>c++11</b></code>.
+ Valid values are <code><b>c++98</b></code>, <code><b>c++11</b></code>
+ (default), <code><b>c++14</b></code>, <code><b>c++17</b></code>,
+ <code><b>c++20</b></code>, and <code><b>c++23</b></code>.
<p>The C++ standard affects various aspects of the generated code that are
discussed in more detail in various mapping-specific documentation.
Overall, when C++11 is selected, the generated code relies on the move
semantics and uses <code><b>std::unique_ptr</b></code> instead of
- deprecated <code><b>std::auto_ptr</b></code>.</p>
+ deprecated <code><b>std::auto_ptr</b></code>. Currently, there is no
+ difference between the C++11 and the later standards modes.</p>
<p>When the C++11 mode is selected, you normally don't need to perform any
extra steps other than enable C++11 in your C++ compiler, if required. The
@@ -480,7 +481,8 @@
dependencies of the generated files on the main schema file as well as all
the schema files that it includes/imports, transitively. This dependency
file is then normally included into the main <code><b>makefile</b></code>
- to implement automatic dependency tracking.
+ to implement automatic dependency tracking. See also the
+ <code><b>--dep-*</b></code> options.
<p>Note also that automatic dependency generation is not supported in the
file-per-type mode (<code><b>--file-per-type</b></code>). In this case,
@@ -506,8 +508,15 @@
multiple times.</dd>
<dt><code><b>--dep-suffix</b></code> <code><i>suffix</i></code></dt>
- <dd>Use the provided <code><i>suffix</i></code> instead of the default
- <code><b>.d</b></code> to construct the name of the dependency file.</dd>
+ <dd>Use <code><i>suffix</i></code> instead of the default
+ <code><b>.d</b></code> to construct the name of the dependency file. See
+ also <code><b>--dep-file</b></code>.</dd>
+
+ <dt><code><b>--dep-file</b></code> <code><i>path</i></code></dt>
+ <dd>Use <code><i>path</i></code> as the generated dependency file path
+ instead of deriving it from the input file name. Write the dependency
+ information to <code><b>stdout</b></code> if <code><i>path</i></code> is
+ <code><b>-</b></code>. See also <code><b>--dep-regex</b></code>.</dd>
<dt><code><b>--dep-regex</b></code> <code><i>regex</i></code></dt>
<dd>Use the provided expression to construct the name of the dependency
@@ -731,10 +740,17 @@
compiled generated code into a static (archive) library.</dd>
<dt><code><b>--file-list</b></code> <code><i>file</i></code></dt>
- <dd>Write a list of generated C++ files to <code><i>file</i></code>. This
- option is primarily useful in the file-per-type compilation mode
- (<code><b>--file-per-type</b></code>) to create a list of generated C++
- files, for example, as a makefile fragment.</dd>
+ <dd>Write a list of generated C++ files to <code><i>file</i></code> or to
+ <code><b>stdout</b></code> if <code><i>file</i></code> is
+ <code><b>-</b></code>. This option is primarily useful in the
+ file-per-type compilation mode (<code><b>--file-per-type</b></code>) to
+ create a list of generated C++ files, for example, as a makefile
+ fragment.</dd>
+
+ <dt><code><b>--file-list-only</b></code></dt>
+ <dd>Only write the list of C++ files that would be generated without
+ actually generating them. This option only makes sense together with
+ <code><b>--file-list</b></code>.</dd>
<dt><code><b>--file-list-prologue</b></code> <code><i>text</i></code></dt>
<dd>Insert <code><i>text</i></code> at the beginning of the file list. As
@@ -1465,7 +1481,11 @@ namespace http://www.example.com/xmlns/my
built-in types are mapped to either <code><b>std::string</b></code>
or <code><b>std::wstring</b></code> depending on the character type
selected with the <code><b>--char-type</b></code> option
- (<code><b>char</b></code> by default).</p>
+ (<code><b>char</b></code> by default). The binary XML Schema types are
+ mapped to either <code>std::unique_ptr&lt;xml_schema::buffer></code>
+ or <code>std::auto_ptr&lt;xml_schema::buffer></code> depending on the C++
+ standard selected with the <code><b>--std</b></code> option
+ (<code><b>c++11</b></code> by default).</p>
<pre>
namespace http://www.w3.org/2001/XMLSchema
@@ -1512,10 +1532,10 @@ namespace http://www.w3.org/2001/XMLSchema
QName xml_schema::qname;
- base64Binary std::auto_ptr&lt;xml_schema::buffer>
- std::auto_ptr&lt;xml_schema::buffer>;
- hexBinary std::auto_ptr&lt;xml_schema::buffer>
- std::auto_ptr&lt;xml_schema::buffer>;
+ base64Binary std::[unique|auto]_ptr&lt;xml_schema::buffer>
+ std::[unique|auto]_ptr&lt;xml_schema::buffer>;
+ hexBinary std::[unique|auto]_ptr&lt;xml_schema::buffer>
+ std::[unique|auto]_ptr&lt;xml_schema::buffer>;
date xml_schema::date;
dateTime xml_schema::date_time;
@@ -1585,7 +1605,7 @@ namespace .*
</div>
<div id="footer">
- Copyright &#169; 2005-2022 Code Synthesis Tools CC.
+ Copyright &#169; 2005-2023 Code Synthesis.
<div id="terms">
Permission is granted to copy, distribute and/or modify this