A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test conversion
[simgrid.git]
/
src
/
s4u
/
s4u_storage.cpp
diff --git
a/src/s4u/s4u_storage.cpp
b/src/s4u/s4u_storage.cpp
index
fae9e32
..
7f52311
100644
(file)
--- a/
src/s4u/s4u_storage.cpp
+++ b/
src/s4u/s4u_storage.cpp
@@
-39,19
+39,34
@@
Storage &Storage::byName(const char*name) {
return *res;
}
return *res;
}
-const char*Storage::name() {
+const char* Storage::name()
+{
return name_.c_str();
}
return name_.c_str();
}
-sg_size_t Storage::sizeFree() {
+sg_size_t Storage::sizeFree()
+{
return simcall_storage_get_free_size(pimpl_);
}
return simcall_storage_get_free_size(pimpl_);
}
-sg_size_t Storage::sizeUsed() {
+
+sg_size_t Storage::sizeUsed()
+{
return simcall_storage_get_used_size(pimpl_);
}
return simcall_storage_get_used_size(pimpl_);
}
+
sg_size_t Storage::size() {
return size_;
}
sg_size_t Storage::size() {
return size_;
}
+xbt_dict_t Storage::properties()
+{
+ return simcall_storage_get_properties(pimpl_);
+}
+
+xbt_dict_t Storage::content()
+{
+ return simcall_storage_get_content(pimpl_);
+}
+
} /* namespace s4u */
} /* namespace simgrid */
} /* namespace s4u */
} /* namespace simgrid */