]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/strutils.hxx
Back out convertToLowerCase function
[simgear.git] / simgear / misc / strutils.hxx
index 05c559980357145d1a14d9d3bc84f7595b77b228..162cdb280438f09b23992f9daa08265c91512d0f 100644 (file)
 
 #include <simgear/compiler.h>
 
-#include STL_STRING
-
+#include <string>
 #include <vector>
-SG_USING_STD(vector);
-
-#ifdef SG_HAVE_STD_INCLUDES
-#  include <cstdlib>
-#else
-#  include <stdlib.h>
-#endif
+#include <cstdlib>
 
-SG_USING_STD(string);
 
 namespace simgear {
-    namespace strutils {
+  namespace strutils {
 
 //     /** 
 //      * atof() wrapper for "string" type
@@ -68,9 +60,9 @@ namespace simgear {
         * @param s String to strip.
         * @return The stripped string.
         */
-       string lstrip( const string& s );
-       string rstrip( const string& s );
-       string strip( const string& s );
+       std::string lstrip( const std::string& s );
+       std::string rstrip( const std::string& s );
+       std::string strip( const std::string& s );
 
        /**
         * Split a string into a words using 'sep' as the delimiter string.
@@ -83,12 +75,12 @@ namespace simgear {
         * resulting in at most maxsplit+1 words.
         * @return Array of words.
         */
-       vector<string>
-       split( const string& s,
+       std::vector<std::string>
+       split( const std::string& s,
               const char* sep = 0,
               int maxsplit = 0 );
-
-    } // end namespace strutils
+  
+  } // end namespace strutils
 } // end namespace simgear
 
 #endif // STRUTILS_H