Program Listing for File unparser_opt.h

Program Listing for File unparser_opt.h#

Return to documentation for file (src/backend/unparser/languageIndependenceSupport/unparser_opt.h)

#ifndef UNPARSER_OPT_H
#define UNPARSER_OPT_H

#include <stdio.h>

class Unparser_Opt
   {
     public:

       // constructors
          Unparser_Opt();    // all options are set to false by default
          Unparser_Opt(bool, bool, bool, bool, bool, bool, bool, bool, bool, bool);

       // destructor
         ~Unparser_Opt();

       // access functions
          bool get_auto_opt();
          void set_auto_opt(bool opt);
          bool get_linefile_opt();
          void set_linefile_opt(bool opt);
          bool get_overload_opt();
          void set_overload_opt(bool opt);
          bool get_num_opt();
          void set_num_opt(bool opt);
          bool get_this_opt();
          void set_this_opt(bool opt);
          bool get_caststring_opt();
          void set_caststring_opt(bool opt);
          bool get_debug_opt();
          void set_debug_opt(bool opt);
          bool get_class_opt();
          void set_class_opt(bool opt);
          bool get_forced_transformation_opt();
          void set_forced_transformation_opt(bool opt);
          bool get_unparse_includes_opt();
          void set_unparse_includes_opt(bool opt);

          void display ( const std::string& label );

     private:
          bool auto_opt;
          bool linefile_opt;
          bool overload_opt;
          bool boolnum_opt;
          bool this_opt;
          bool caststring_opt;
          bool debug_opt;
          bool class_opt;
          bool forced_transformation_format;
          bool unparse_includes_opt;
   };

#endif