From c61f197baddcd2e048a106a2026c72cadc452bcd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Jun 2012 11:56:54 +0200 Subject: Add ability to specify prologues/epilogues for generated C++ files Also add options to specify text prologues/epilogues in addition to files for generated man and html files. --- cli/options.ixx | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 100 insertions(+), 4 deletions(-) (limited to 'cli/options.ixx') diff --git a/cli/options.ixx b/cli/options.ixx index e095b95..a361898 100644 --- a/cli/options.ixx +++ b/cli/options.ixx @@ -310,16 +310,88 @@ generate_html () const return this->generate_html_; } +inline const std::vector& options:: +hxx_prologue () const +{ + return this->hxx_prologue_; +} + +inline const std::vector& options:: +ixx_prologue () const +{ + return this->ixx_prologue_; +} + +inline const std::vector& options:: +cxx_prologue () const +{ + return this->cxx_prologue_; +} + +inline const std::vector& options:: +man_prologue () const +{ + return this->man_prologue_; +} + +inline const std::vector& options:: +html_prologue () const +{ + return this->html_prologue_; +} + +inline const std::vector& options:: +hxx_epilogue () const +{ + return this->hxx_epilogue_; +} + +inline const std::vector& options:: +ixx_epilogue () const +{ + return this->ixx_epilogue_; +} + +inline const std::vector& options:: +cxx_epilogue () const +{ + return this->cxx_epilogue_; +} + +inline const std::vector& options:: +man_epilogue () const +{ + return this->man_epilogue_; +} + +inline const std::vector& options:: +html_epilogue () const +{ + return this->html_epilogue_; +} + inline const std::string& options:: -man_prologue_file () const +hxx_prologue_file () const { - return this->man_prologue_file_; + return this->hxx_prologue_file_; } inline const std::string& options:: -man_epilogue_file () const +ixx_prologue_file () const { - return this->man_epilogue_file_; + return this->ixx_prologue_file_; +} + +inline const std::string& options:: +cxx_prologue_file () const +{ + return this->cxx_prologue_file_; +} + +inline const std::string& options:: +man_prologue_file () const +{ + return this->man_prologue_file_; } inline const std::string& options:: @@ -329,6 +401,30 @@ html_prologue_file () const } inline const std::string& options:: +hxx_epilogue_file () const +{ + return this->hxx_epilogue_file_; +} + +inline const std::string& options:: +ixx_epilogue_file () const +{ + return this->ixx_epilogue_file_; +} + +inline const std::string& options:: +cxx_epilogue_file () const +{ + return this->cxx_epilogue_file_; +} + +inline const std::string& options:: +man_epilogue_file () const +{ + return this->man_epilogue_file_; +} + +inline const std::string& options:: html_epilogue_file () const { return this->html_epilogue_file_; -- cgit v1.1