From 9b3c2d9d25d9c0213ef0af58c285d2713a020c8b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Aug 2010 14:07:56 +0200 Subject: Generated code infrastructure Add prologue/epilogue support, version check, and pre/post inclusion. --- odb/options.hxx | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) (limited to 'odb/options.hxx') diff --git a/odb/options.hxx b/odb/options.hxx index 21cc496..036b96a 100644 --- a/odb/options.hxx +++ b/odb/options.hxx @@ -369,6 +369,102 @@ class options bool sql_suffix_specified () const; + const std::vector& + hxx_prologue () const; + + bool + hxx_prologue_specified () const; + + const std::vector& + ixx_prologue () const; + + bool + ixx_prologue_specified () const; + + const std::vector& + cxx_prologue () const; + + bool + cxx_prologue_specified () const; + + const std::vector& + sql_prologue () const; + + bool + sql_prologue_specified () const; + + const std::vector& + hxx_epilogue () const; + + bool + hxx_epilogue_specified () const; + + const std::vector& + ixx_epilogue () const; + + bool + ixx_epilogue_specified () const; + + const std::vector& + cxx_epilogue () const; + + bool + cxx_epilogue_specified () const; + + const std::vector& + sql_epilogue () const; + + bool + sql_epilogue_specified () const; + + const std::string& + hxx_prologue_file () const; + + bool + hxx_prologue_file_specified () const; + + const std::string& + ixx_prologue_file () const; + + bool + ixx_prologue_file_specified () const; + + const std::string& + cxx_prologue_file () const; + + bool + cxx_prologue_file_specified () const; + + const std::string& + sql_prologue_file () const; + + bool + sql_prologue_file_specified () const; + + const std::string& + hxx_epilogue_file () const; + + bool + hxx_epilogue_file_specified () const; + + const std::string& + ixx_epilogue_file () const; + + bool + ixx_epilogue_file_specified () const; + + const std::string& + cxx_epilogue_file () const; + + bool + cxx_epilogue_file_specified () const; + + const std::string& + sql_epilogue_file () const; + + bool + sql_epilogue_file_specified () const; + const bool& include_with_brackets () const; @@ -428,6 +524,38 @@ class options bool cxx_suffix_specified_; std::string sql_suffix_; bool sql_suffix_specified_; + std::vector hxx_prologue_; + bool hxx_prologue_specified_; + std::vector ixx_prologue_; + bool ixx_prologue_specified_; + std::vector cxx_prologue_; + bool cxx_prologue_specified_; + std::vector sql_prologue_; + bool sql_prologue_specified_; + std::vector hxx_epilogue_; + bool hxx_epilogue_specified_; + std::vector ixx_epilogue_; + bool ixx_epilogue_specified_; + std::vector cxx_epilogue_; + bool cxx_epilogue_specified_; + std::vector sql_epilogue_; + bool sql_epilogue_specified_; + std::string hxx_prologue_file_; + bool hxx_prologue_file_specified_; + std::string ixx_prologue_file_; + bool ixx_prologue_file_specified_; + std::string cxx_prologue_file_; + bool cxx_prologue_file_specified_; + std::string sql_prologue_file_; + bool sql_prologue_file_specified_; + std::string hxx_epilogue_file_; + bool hxx_epilogue_file_specified_; + std::string ixx_epilogue_file_; + bool ixx_epilogue_file_specified_; + std::string cxx_epilogue_file_; + bool cxx_epilogue_file_specified_; + std::string sql_epilogue_file_; + bool sql_epilogue_file_specified_; bool include_with_brackets_; std::string include_prefix_; bool include_prefix_specified_; -- cgit v1.1