#ifndef INCLUDE_SIMGRID_S4U_STORAGE_HPP_
#define INCLUDE_SIMGRID_S4U_STORAGE_HPP_
+#include <string>
+
#include <boost/unordered_map.hpp>
-#include "xbt/base.h"
-#include "simgrid/simix.h"
+
+#include <xbt/base.h>
+
+#include <simgrid/simix.h>
#include <simgrid/s4u/forward.hpp>
namespace simgrid {
XBT_PUBLIC_CLASS Storage {
friend s4u::Engine;
-private:
Storage(std::string name, smx_storage_t inferior);
virtual ~Storage();
static boost::unordered_map<std::string, Storage *> *storages_;
std::string name_;
+ size_t size_;
smx_storage_t pimpl_ = nullptr;
void *userdata_ = nullptr;
};