From 54110801525371740298d5cae378bfc778749935 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Jun 2012 11:50:03 +0200 Subject: Get rid of dependency on libcult --- xsd/cxx/options.cli | 82 ++++++++++++++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 42 deletions(-) (limited to 'xsd/cxx/options.cli') diff --git a/xsd/cxx/options.cli b/xsd/cxx/options.cli index fc73c1e..4f8aeb9 100644 --- a/xsd/cxx/options.cli +++ b/xsd/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 ; -include ; include ; // std::size_t -include ; // NarrowString +include ; // NarrowString, NarrowStrings include ; @@ -17,14 +15,14 @@ namespace CXX { // Character type and encoding. // - Cult::Types::NarrowString --char-type = "char" + NarrowString --char-type = "char" { "", "Generate code using the provided character instead of the default \cb{char}. Valid values are \cb{char} and \cb{wchar_t}." }; - Cult::Types::NarrowString --char-encoding + NarrowString --char-encoding { "", "Specify the character encoding that should be used in the generated @@ -42,7 +40,7 @@ namespace CXX // Output options. // - Cult::Types::NarrowString --output-dir + NarrowString --output-dir { "", "Write generated files to instead of the current directory." @@ -71,7 +69,7 @@ namespace CXX generated files for other schemas." }; - Cult::Types::NarrowString --extern-xml-schema + NarrowString --extern-xml-schema { "", "Include a header file derived from instead of generating the @@ -83,7 +81,7 @@ namespace CXX // Namespace mapping. // - std::vector --namespace-map + NarrowStrings --namespace-map { "=", "Map XML Schema namespace to C++ namespace . Repeat @@ -96,7 +94,7 @@ namespace CXX the \cb{foo::bar} C++ namespace." }; - std::vector --namespace-regex + NarrowStrings --namespace-regex { "", "Add to the list of regular expressions used to translate XML @@ -153,7 +151,7 @@ namespace CXX // Reserved names. // - std::vector --reserved-name + NarrowStrings --reserved-name { "[=]", "Add name to the list of names that should not be used as @@ -170,7 +168,7 @@ namespace CXX \cb{#include} directives." }; - Cult::Types::NarrowString --include-prefix + NarrowString --include-prefix { "", "Add to generated \cb{#include} directive paths. @@ -185,7 +183,7 @@ namespace CXX \cb{#include \"schemas/base.hxx\"}" }; - std::vector --include-regex + NarrowStrings --include-regex { "", "Add to the list of regular expressions used to transform @@ -214,7 +212,7 @@ namespace CXX regular expressions don't do what you expected them to do." }; - Cult::Types::NarrowString --guard-prefix + NarrowString --guard-prefix { "", "Add to generated header inclusion guards. The prefix is @@ -226,7 +224,7 @@ namespace CXX // File suffixes. // - Cult::Types::NarrowString --hxx-suffix = ".hxx" + NarrowString --hxx-suffix = ".hxx" { "", "Use the provided instead of the default \cb{.hxx} to @@ -235,28 +233,28 @@ namespace CXX included/imported schemas." }; - Cult::Types::NarrowString --ixx-suffix = ".ixx" + NarrowString --ixx-suffix = ".ixx" { "", "Use the provided instead of the default \cb{.ixx} to construct the name of the inline file." }; - Cult::Types::NarrowString --cxx-suffix = ".cxx" + NarrowString --cxx-suffix = ".cxx" { "", "Use the provided 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" { "", "Use the provided instead of the default \cb{-fwd.hxx} to construct the name of the forward declaration file." }; - Cult::Types::NarrowString --hxx-regex + NarrowString --hxx-regex { "", "Use the provided expression to construct the name of the header file. @@ -267,7 +265,7 @@ namespace CXX AND SHELL QUOTING section below." }; - Cult::Types::NarrowString --ixx-regex + NarrowString --ixx-regex { "", "Use the provided expression to construct the name of the inline file. @@ -276,7 +274,7 @@ namespace CXX SHELL QUOTING section below." }; - Cult::Types::NarrowString --cxx-regex + NarrowString --cxx-regex { "", "Use the provided expression to construct the name of the source file. @@ -285,7 +283,7 @@ namespace CXX SHELL QUOTING section below." }; - Cult::Types::NarrowString --fwd-regex + NarrowString --fwd-regex { "", "Use the provided expression to construct the name of the forward @@ -296,126 +294,126 @@ namespace CXX // Prologues/epilogues. // - std::vector --hxx-prologue + NarrowStrings --hxx-prologue { "", "Insert at the beginning of the header file." }; - std::vector --ixx-prologue + NarrowStrings --ixx-prologue { "", "Insert at the beginning of the inline file." }; - std::vector --cxx-prologue + NarrowStrings --cxx-prologue { "", "Insert at the beginning of the source file." }; - std::vector --fwd-prologue + NarrowStrings --fwd-prologue { "", "Insert at the beginning of the forward declaration file." }; - std::vector --prologue + NarrowStrings --prologue { "", "Insert at the beginning of each generated file for which there is no file-specific prologue." }; - std::vector --hxx-epilogue + NarrowStrings --hxx-epilogue { "", "Insert at the end of the header file." }; - std::vector --ixx-epilogue + NarrowStrings --ixx-epilogue { "", "Insert at the end of the inline file." }; - std::vector --cxx-epilogue + NarrowStrings --cxx-epilogue { "", "Insert at the end of the source file." }; - std::vector --fwd-epilogue + NarrowStrings --fwd-epilogue { "", "Insert at the end of the forward declaration file." }; - std::vector --epilogue + NarrowStrings --epilogue { "", "Insert at the end of each generated file for which there is no file-specific epilogue." }; - Cult::Types::NarrowString --hxx-prologue-file + NarrowString --hxx-prologue-file { "", "Insert the content of the at the beginning of the header file." }; - Cult::Types::NarrowString --ixx-prologue-file + NarrowString --ixx-prologue-file { "", "Insert the content of the at the beginning of the inline file." }; - Cult::Types::NarrowString --cxx-prologue-file + NarrowString --cxx-prologue-file { "", "Insert the content of the at the beginning of the source file." }; - Cult::Types::NarrowString --fwd-prologue-file + NarrowString --fwd-prologue-file { "", "Insert the content of the at the beginning of the forward declaration file." }; - Cult::Types::NarrowString --prologue-file + NarrowString --prologue-file { "", "Insert the content of the at the beginning of each generated file for which there is no file-specific prologue file." }; - Cult::Types::NarrowString --hxx-epilogue-file + NarrowString --hxx-epilogue-file { "", "Insert the content of the at the end of the header file." }; - Cult::Types::NarrowString --ixx-epilogue-file + NarrowString --ixx-epilogue-file { "", "Insert the content of the at the end of the inline file." }; - Cult::Types::NarrowString --cxx-epilogue-file + NarrowString --cxx-epilogue-file { "", "Insert the content of the at the end of the source file." }; - Cult::Types::NarrowString --fwd-epilogue-file + NarrowString --fwd-epilogue-file { "", "Insert the content of the at the end of the forward declaration file." }; - Cult::Types::NarrowString --epilogue-file + NarrowString --epilogue-file { "", "Insert the content of the at the end of each generated file @@ -424,7 +422,7 @@ namespace CXX // Export options. // - Cult::Types::NarrowString --export-symbol + NarrowString --export-symbol { "", "Insert in places where DLL export/import control statements -- cgit v1.1