From a376ccf37122f0768fce8e3c5a16561e01ee2351 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 22 Nov 2009 16:58:56 +0200 Subject: Implement option value modifiers generation --- cli/options.ixx | 60 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 27 deletions(-) (limited to 'cli/options.ixx') diff --git a/cli/options.ixx b/cli/options.ixx index 1745d4a..60afbda 100644 --- a/cli/options.ixx +++ b/cli/options.ixx @@ -91,162 +91,168 @@ namespace cli inline const bool& options:: help () const { - return help_; + return this->help_; } inline const bool& options:: version () const { - return version_; + return this->version_; } inline const std::string& options:: output_dir () const { - return output_dir_; + return this->output_dir_; +} + +inline const bool& options:: +generate_modifier () const +{ + return this->generate_modifier_; } inline const bool& options:: suppress_inline () const { - return suppress_inline_; + return this->suppress_inline_; } inline const bool& options:: suppress_usage () const { - return suppress_usage_; + return this->suppress_usage_; } inline const bool& options:: long_usage () const { - return long_usage_; + return this->long_usage_; } inline const std::size_t& options:: option_length () const { - return option_length_; + return this->option_length_; } inline const bool& options:: generate_cxx () const { - return generate_cxx_; + return this->generate_cxx_; } inline const bool& options:: generate_man () const { - return generate_man_; + return this->generate_man_; } inline const bool& options:: generate_html () const { - return generate_html_; + return this->generate_html_; } inline const std::string& options:: man_prologue () const { - return man_prologue_; + return this->man_prologue_; } inline const std::string& options:: man_epilogue () const { - return man_epilogue_; + return this->man_epilogue_; } inline const std::string& options:: html_prologue () const { - return html_prologue_; + return this->html_prologue_; } inline const std::string& options:: html_epilogue () const { - return html_epilogue_; + return this->html_epilogue_; } inline const std::string& options:: class_ () const { - return class__; + return this->class__; } inline const bool& options:: stdout () const { - return stdout_; + return this->stdout_; } inline const std::string& options:: hxx_suffix () const { - return hxx_suffix_; + return this->hxx_suffix_; } inline const std::string& options:: ixx_suffix () const { - return ixx_suffix_; + return this->ixx_suffix_; } inline const std::string& options:: cxx_suffix () const { - return cxx_suffix_; + return this->cxx_suffix_; } inline const std::string& options:: man_suffix () const { - return man_suffix_; + return this->man_suffix_; } inline const std::string& options:: html_suffix () const { - return html_suffix_; + return this->html_suffix_; } inline const std::string& options:: option_prefix () const { - return option_prefix_; + return this->option_prefix_; } inline const std::string& options:: option_separator () const { - return option_separator_; + return this->option_separator_; } inline const bool& options:: include_with_brackets () const { - return include_with_brackets_; + return this->include_with_brackets_; } inline const std::string& options:: include_prefix () const { - return include_prefix_; + return this->include_prefix_; } inline const std::string& options:: guard_prefix () const { - return guard_prefix_; + return this->guard_prefix_; } inline const std::map& options:: reserved_name () const { - return reserved_name_; + return this->reserved_name_; } -- cgit v1.1