]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/sg_path.hxx
Fix BTG writer for non-included index arrays.
[simgear.git] / simgear / misc / sg_path.hxx
index 6f8968b7d5ffb2db6c66423f7f6225b112e1f367..0684d5701927b5f7b0bb320218a1b6dd06280ec3 100644 (file)
@@ -141,6 +141,11 @@ public:
      */
     const char* c_str() const { return path.c_str(); }
 
+    /**
+     * Get the path string in OS native form
+     */
+    std::string str_native() const;
+
     /**
      * Determine if file exists by attempting to fopen it.
      * @return true if file exists, otherwise returns false.
@@ -166,6 +171,11 @@ public:
      * I.e starts with a directory seperator, or a single character + colon
      */
     bool isAbsolute() const;
+    
+    /**
+     * check for default constructed path
+     */
+    bool isNull() const;
 private:
 
     void fix();