Author: wyoung
Date: Tue Mar  3 13:53:16 2009
New Revision: 2473

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2473&view=rev
Log:
Formatting and comment changes

Modified:
    trunk/lib/cmdline.h

Modified: trunk/lib/cmdline.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/cmdline.h?rev=2473&r1=2472&r2=2473&view=diff
==============================================================================
--- trunk/lib/cmdline.h (original)
+++ trunk/lib/cmdline.h Tue Mar  3 13:53:16 2009
@@ -77,13 +77,13 @@
                // parse_next() loop gets EOF.
                void finish_parse();
 
-               // Wrapper for getopt()
-               int parse_next() const;
-
                // Accessors for getopt() globals, so subclasses can ignore
                // getopt()'s interface entirely.
                const char* option_argument() const;
                int option_index() const;
+
+               // Wrapper for getopt()
+               int parse_next() const;
 
                // Get the program's executable name
                const char* program_name() const { return argv_[0]; }
@@ -96,6 +96,7 @@
                bool successful_;
                ArgumentList extra_args_;
        };
+
 
        // Stuff related to MySQL++ examples specifically
        namespace examples {
@@ -115,7 +116,7 @@
                        // Show a mesage explaining the program's proper usage
                        void print_usage(const char* extra) const;
 
-                       // Accessors
+                       // Read-only "get" accessors
                        bool dtest_mode() const { return dtest_mode_; }
                        const char* pass() const { return pass_; }
                        int run_mode() const { return run_mode_; }
@@ -124,6 +125,7 @@
 
                private:
                        //// Internal data
+                       // Examples-specific command line parse results
                        bool dtest_mode_;
                        int run_mode_;
                        const char* server_;


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to