Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further split File and Storage
[simgrid.git] / include / simgrid / s4u / File.hpp
index cdc9b97..1429d2c 100644 (file)
@@ -59,13 +59,12 @@ public:
   /** Remove a file from disk */
   int unlink();
 
-  std::string storage_type;
-  std::string storageId;
   std::string mount_point;
+  Storage* onStorage;
   int desc_id = 0;
 
 private:
-  surf_file_t pimpl_ = nullptr;
+  simgrid::surf::FileImpl* pimpl_ = nullptr;
   std::string path_;
   void* userdata_ = nullptr;
 };