aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/options.cli
diff options
context:
space:
mode:
Diffstat (limited to 'xsde/cxx/options.cli')
-rw-r--r--xsde/cxx/options.cli78
1 files changed, 38 insertions, 40 deletions
diff --git a/xsde/cxx/options.cli b/xsde/cxx/options.cli
index 45425ea..22c4f27 100644
--- a/xsde/cxx/options.cli
+++ b/xsde/cxx/options.cli
@@ -3,11 +3,9 @@
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-include <vector>;
-include <string>;
include <cstddef>; // std::size_t
-include <cult/types.hxx>; // NarrowString
+include <types.hxx>; // NarrowString, NarrowStrings
include <options.cli>;
@@ -15,13 +13,13 @@ namespace CXX
{
class options: ::options = 0
{
- Cult::Types::NarrowString --output-dir
+ NarrowString --output-dir
{
"<dir>",
"Write generated files to <dir> instead of the current directory."
};
- Cult::Types::NarrowString --char-encoding = "utf8"
+ NarrowString --char-encoding = "utf8"
{
"<enc>",
"Specify the application character encoding. Valid values are \cb{utf8}
@@ -99,7 +97,7 @@ namespace CXX
generated files for other schemas."
};
- Cult::Types::NarrowString --extern-xml-schema
+ NarrowString --extern-xml-schema
{
"<file>",
"Include a header file derived from <file> instead of generating the
@@ -111,7 +109,7 @@ namespace CXX
// Namespace mapping.
//
- std::vector<Cult::Types::NarrowString> --namespace-map
+ NarrowStrings --namespace-map
{
"<xns>=<cns>",
"Map XML Schema namespace <xns> to C++ namespace <cns>. Repeat
@@ -124,7 +122,7 @@ namespace CXX
the \cb{foo::bar} C++ namespace."
};
- std::vector<Cult::Types::NarrowString> --namespace-regex
+ NarrowStrings --namespace-regex
{
"<regex>",
"Add <regex> to the list of regular expressions used to translate XML
@@ -181,7 +179,7 @@ namespace CXX
// Reserved names.
//
- std::vector<Cult::Types::NarrowString> --reserved-name
+ NarrowStrings --reserved-name
{
"<n>[=<r>]",
"Add name <n> to the list of names that should not be used as
@@ -198,7 +196,7 @@ namespace CXX
\cb{#include} directives."
};
- Cult::Types::NarrowString --include-prefix
+ NarrowString --include-prefix
{
"<prefix>",
"Add <prefix> to generated \cb{#include} directive paths.
@@ -213,7 +211,7 @@ namespace CXX
\cb{#include \"schemas/base.hxx\"}"
};
- std::vector<Cult::Types::NarrowString> --include-regex
+ NarrowStrings --include-regex
{
"<regex>",
"Add <regex> to the list of regular expressions used to transform
@@ -242,7 +240,7 @@ namespace CXX
regular expressions don't do what you expected them to do."
};
- Cult::Types::NarrowString --guard-prefix
+ NarrowString --guard-prefix
{
"<prefix>",
"Add <prefix> to generated header inclusion guards. The prefix is
@@ -254,7 +252,7 @@ namespace CXX
// File suffixes.
//
- Cult::Types::NarrowString --hxx-suffix = ".hxx"
+ NarrowString --hxx-suffix = ".hxx"
{
"<suffix>",
"Use the provided <suffix> instead of the default \cb{.hxx} to
@@ -263,28 +261,28 @@ namespace CXX
included/imported schemas."
};
- Cult::Types::NarrowString --ixx-suffix = ".ixx"
+ NarrowString --ixx-suffix = ".ixx"
{
"<suffix>",
"Use the provided <suffix> instead of the default \cb{.ixx} to
construct the name of the inline file."
};
- Cult::Types::NarrowString --cxx-suffix = ".cxx"
+ NarrowString --cxx-suffix = ".cxx"
{
"<suffix>",
"Use the provided <suffix> instead of the default \cb{.cxx} to
construct the name of the source file."
};
- Cult::Types::NarrowString --fwd-suffix = "-fwd.hxx"
+ NarrowString --fwd-suffix = "-fwd.hxx"
{
"<suffix>",
"Use the provided <suffix> instead of the default \cb{-fwd.hxx} to
construct the name of the forward declaration file."
};
- Cult::Types::NarrowString --hxx-regex
+ NarrowString --hxx-regex
{
"<regex>",
"Use the provided expression to construct the name of the header file.
@@ -304,7 +302,7 @@ namespace CXX
See also the REGEX AND SHELL QUOTING section below."
};
- Cult::Types::NarrowString --ixx-regex
+ NarrowString --ixx-regex
{
"<regex>",
"Use the provided expression to construct the name of the inline file.
@@ -315,7 +313,7 @@ namespace CXX
AND SHELL QUOTING section below."
};
- Cult::Types::NarrowString --cxx-regex
+ NarrowString --cxx-regex
{
"<regex>",
"Use the provided expression to construct the name of the source file.
@@ -326,7 +324,7 @@ namespace CXX
AND SHELL QUOTING section below."
};
- Cult::Types::NarrowString --fwd-regex
+ NarrowString --fwd-regex
{
"<regex>",
"Use the provided expression to construct the name of the forward
@@ -337,7 +335,7 @@ namespace CXX
// Prologues/epilogues.
//
- std::vector<Cult::Types::NarrowString> --hxx-prologue
+ NarrowStrings --hxx-prologue
{
"<text>",
"Insert <text> at the beginning of the header file.
@@ -351,7 +349,7 @@ namespace CXX
object model files only."
};
- std::vector<Cult::Types::NarrowString> --ixx-prologue
+ NarrowStrings --ixx-prologue
{
"<text>",
"Insert <text> at the beginning of the inline file. For the C++/Hybrid
@@ -359,7 +357,7 @@ namespace CXX
key. See the \cb{--hxx-prologue} option for details."
};
- std::vector<Cult::Types::NarrowString> --cxx-prologue
+ NarrowStrings --cxx-prologue
{
"<text>",
"Insert <text> at the beginning of the source file. For the C++/Hybrid
@@ -367,13 +365,13 @@ namespace CXX
key. See the \cb{--hxx-prologue} option for details."
};
- std::vector<Cult::Types::NarrowString> --fwd-prologue
+ NarrowStrings --fwd-prologue
{
"<text>",
"Insert <text> at the beginning of the forward declaration file."
};
- std::vector<Cult::Types::NarrowString> --prologue
+ NarrowStrings --prologue
{
"<text>",
"Insert <text> at the beginning of each generated file for which
@@ -382,7 +380,7 @@ namespace CXX
\cb{--hxx-prologue} option for details."
};
- std::vector<Cult::Types::NarrowString> --hxx-epilogue
+ NarrowStrings --hxx-epilogue
{
"<text>",
"Insert <text> at the end of the header file. For the C++/Hybrid
@@ -390,7 +388,7 @@ namespace CXX
key. See the \cb{--hxx-prologue} option for details."
};
- std::vector<Cult::Types::NarrowString> --ixx-epilogue
+ NarrowStrings --ixx-epilogue
{
"<text>",
"Insert <text> at the end of the inline file. For the C++/Hybrid
@@ -398,7 +396,7 @@ namespace CXX
key. See the \cb{--hxx-prologue} option for details."
};
- std::vector<Cult::Types::NarrowString> --cxx-epilogue
+ NarrowStrings --cxx-epilogue
{
"<text>",
"Insert <text> at the end of the source file. For the C++/Hybrid
@@ -406,13 +404,13 @@ namespace CXX
key. See the \cb{--hxx-prologue} option for details."
};
- std::vector<Cult::Types::NarrowString> --fwd-epilogue
+ NarrowStrings --fwd-epilogue
{
"<text>",
"Insert <text> at the end of the forward declaration file."
};
- std::vector<Cult::Types::NarrowString> --epilogue
+ NarrowStrings --epilogue
{
"<text>",
"Insert <text> at the end of each generated file for which there
@@ -421,7 +419,7 @@ namespace CXX
\cb{--hxx-prologue} option for details."
};
- Cult::Types::NarrowString --hxx-prologue-file
+ NarrowString --hxx-prologue-file
{
"<file>",
"Insert the content of the <file> at the beginning of the header file.
@@ -435,7 +433,7 @@ namespace CXX
object model files only."
};
- Cult::Types::NarrowString --ixx-prologue-file
+ NarrowString --ixx-prologue-file
{
"<file>",
"Insert the content of the <file> at the beginning of the inline file.
@@ -444,7 +442,7 @@ namespace CXX
for details."
};
- Cult::Types::NarrowString --cxx-prologue-file
+ NarrowString --cxx-prologue-file
{
"<file>",
"Insert the content of the <file> at the beginning of the source file.
@@ -453,14 +451,14 @@ namespace CXX
for details."
};
- Cult::Types::NarrowString --fwd-prologue-file
+ NarrowString --fwd-prologue-file
{
"<file>",
"Insert the content of the <file> at the beginning of the forward
declaration file."
};
- Cult::Types::NarrowString --prologue-file
+ NarrowString --prologue-file
{
"<file>",
"Insert the content of the <file> at the beginning of each generated
@@ -469,7 +467,7 @@ namespace CXX
with a file key. See the \cb{--hxx-prologue-file} option for details."
};
- Cult::Types::NarrowString --hxx-epilogue-file
+ NarrowString --hxx-epilogue-file
{
"<file>",
"Insert the content of the <file> at the end of the header file.
@@ -478,7 +476,7 @@ namespace CXX
for details."
};
- Cult::Types::NarrowString --ixx-epilogue-file
+ NarrowString --ixx-epilogue-file
{
"<file>",
"Insert the content of the <file> at the end of the inline file.
@@ -487,7 +485,7 @@ namespace CXX
for details."
};
- Cult::Types::NarrowString --cxx-epilogue-file
+ NarrowString --cxx-epilogue-file
{
"<file>",
"Insert the content of the <file> at the end of the source file.
@@ -496,14 +494,14 @@ namespace CXX
for details."
};
- Cult::Types::NarrowString --fwd-epilogue-file
+ NarrowString --fwd-epilogue-file
{
"<file>",
"Insert the content of the <file> at the end of the forward declaration
file."
};
- Cult::Types::NarrowString --epilogue-file
+ NarrowString --epilogue-file
{
"<file>",
"Insert the content of the <file> at the end of each generated file