From 5a2da5767e796bcfdaf5ebf3b80b93c57d31d0aa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Nov 2015 11:43:19 +0200 Subject: Support specifying documentation variables on command line --- cli/options.hxx | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) (limited to 'cli/options.hxx') diff --git a/cli/options.hxx b/cli/options.hxx index 0328661..ecafb22 100644 --- a/cli/options.hxx +++ b/cli/options.hxx @@ -393,9 +393,24 @@ class options suppress_inline () const; const std::string& + cli_namespace () const; + + const std::string& ostream_type () const; const bool& + generate_cxx () const; + + const bool& + generate_man () const; + + const bool& + generate_html () const; + + const bool& + stdout_ () const; + + const bool& suppress_undocumented () const; const bool& @@ -413,17 +428,11 @@ class options const bool& exclude_base () const; - const std::string& - cli_namespace () const; - - const bool& - generate_cxx () const; - - const bool& - generate_man () const; + const std::vector& + class_ () const; - const bool& - generate_html () const; + const std::map& + docvar () const; const std::vector& hxx_prologue () const; @@ -485,12 +494,6 @@ class options const std::string& html_epilogue_file () const; - const std::vector& - class_ () const; - - const bool& - stdout_ () const; - const std::string& hxx_suffix () const; @@ -555,17 +558,20 @@ class options bool generate_description_; bool generate_file_scanner_; bool suppress_inline_; + std::string cli_namespace_; std::string ostream_type_; + bool generate_cxx_; + bool generate_man_; + bool generate_html_; + bool stdout__; bool suppress_undocumented_; bool suppress_usage_; bool long_usage_; bool short_usage_; std::size_t option_length_; bool exclude_base_; - std::string cli_namespace_; - bool generate_cxx_; - bool generate_man_; - bool generate_html_; + std::vector class__; + std::map docvar_; std::vector hxx_prologue_; std::vector ixx_prologue_; std::vector cxx_prologue_; @@ -586,8 +592,6 @@ class options std::string cxx_epilogue_file_; std::string man_epilogue_file_; std::string html_epilogue_file_; - std::vector class__; - bool stdout__; std::string hxx_suffix_; std::string ixx_suffix_; std::string cxx_suffix_; -- cgit v1.1