changeset 8010:0e9b6af36559

style fixes
author John W. Eaton <jwe@octave.org>
date Tue, 05 Aug 2008 12:14:33 -0400
parents d936b21b3a6b
children 3100283874d7
files liboctave/pathsearch.h
diffstat 1 files changed, 31 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/pathsearch.h	Tue Aug 05 12:14:16 2008 -0400
+++ b/liboctave/pathsearch.h	Tue Aug 05 12:14:33 2008 -0400
@@ -83,8 +83,39 @@
       init ();
     }
 
+  static char path_sep_char (void)
+  {
+    return static_members::path_sep_char ();
+  }
+
+  static std::string path_sep_str (void)
+  {
+    return static_members::path_sep_str ();
+  }
+
+  static bool is_path_sep (char c) { return c == path_sep_char (); }
+
 private:
 
+  // The colon separated list that we were given.
+  std::string p_orig;
+
+  // The default path.  If specified, replaces leading, trailing, or
+  // doubled colons in p_orig.
+  std::string p_default;
+
+  // TRUE means we've unpacked p.
+  bool initialized;
+
+  // A version of the colon separate list on which we have performed
+  // tilde, variable, and possibly default path expansion.
+  std::string p;
+
+  // The elements of the list.
+  string_vector pv;
+
+  void init (void);
+
   // Use a singleton class for these data members instead of just
   // making them static members of the dir_path class so that we can
   // ensure proper initialization.
@@ -121,41 +152,6 @@
 
     std::string xpath_sep_str;
   };
-
-public:
-
-  static char path_sep_char (void)
-  {
-    return static_members::path_sep_char ();
-  }
-
-  static std::string path_sep_str (void)
-  {
-    return static_members::path_sep_str ();
-  }
-
-  static bool is_path_sep (char c) { return c == path_sep_char (); }
-
-private:
-
-  // The colon separated list that we were given.
-  std::string p_orig;
-
-  // The default path.  If specified, replaces leading, trailing, or
-  // doubled colons in p_orig.
-  std::string p_default;
-
-  // TRUE means we've unpacked p.
-  bool initialized;
-
-  // A version of the colon separate list on which we have performed
-  // tilde, variable, and possibly default path expansion.
-  std::string p;
-
-  // The elements of the list.
-  string_vector pv;
-
-  void init (void);
 };
 
 #endif