]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/sg_dir.hxx
Fix BTG writer for non-included index arrays.
[simgear.git] / simgear / misc / sg_dir.hxx
index 5ff51c9cb85fdd6272938412da95b8b4d689d2d1..0ebc2bf7a3cb005b68902f1fe97576d376dde251 100644 (file)
@@ -52,6 +52,11 @@ namespace simgear
     PathList children(int types = 0, const std::string& nameGlob = "") const;
     
     SGPath file(const std::string& name) const;
+    
+    /**
+     * Check that the directory at the path exists (and is a directory!)
+     */
+    bool exists() const;
   private:
     mutable SGPath _path;
   };