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
this file should be compilable in C
[simgrid.git]
/
include
/
simgrid
/
s4u
/
storage.hpp
diff --git
a/include/simgrid/s4u/storage.hpp
b/include/simgrid/s4u/storage.hpp
index
193a6d2
..
4b4d98a
100644
(file)
--- a/
include/simgrid/s4u/storage.hpp
+++ b/
include/simgrid/s4u/storage.hpp
@@
-23,8
+23,8
@@
public:
/** Retrieve a Storage by its name. It must exist in the platform file */
static Storage &byName(const char* name);
const char *name();
/** Retrieve a Storage by its name. It must exist in the platform file */
static Storage &byName(const char* name);
const char *name();
- sg_size_t size
_f
ree();
- sg_size_t size
_u
sed();
+ sg_size_t size
F
ree();
+ sg_size_t size
U
sed();
/** Retrieve the total amount of space of this storage element */
sg_size_t size();
/** Retrieve the total amount of space of this storage element */
sg_size_t size();
@@
-40,16
+40,16
@@
XBT_PUBLIC(const char *) MSG_storage_get_host(msg_storage_t storage);
protected:
smx_storage_t inferior();
private:
protected:
smx_storage_t inferior();
private:
- static boost::unordered_map<std::string, Storage *> *storages;
- std::string
p_name
;
- smx_storage_t
p_inferior
;
+ static boost::unordered_map<std::string, Storage *> *storages
_
;
+ std::string
name_
;
+ smx_storage_t
inferior_
;
public:
public:
- void set
_userdata(void *data) {p_userdata
= data;}
- void *userdata() {return
p_userdata
;}
+ void set
Userdata(void *data) {userdata_
= data;}
+ void *userdata() {return
userdata_
;}
private:
private:
- void *
p_userdata
= NULL;
+ void *
userdata_
= NULL;
};
};