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
naming consistency (+snake_casing)
[simgrid.git]
/
src
/
s4u
/
s4u_Netzone.cpp
diff --git
a/src/s4u/s4u_Netzone.cpp
b/src/s4u/s4u_Netzone.cpp
index
a01bd94
..
d361ce0
100644
(file)
--- a/
src/s4u/s4u_Netzone.cpp
+++ b/
src/s4u/s4u_Netzone.cpp
@@
-57,7
+57,7
@@
void NetZone::set_property(const char* key, const char* value)
*
* This function returns the internal copy of the children, not a copy. Don't mess with it!
*/
*
* This function returns the internal copy of the children, not a copy. Don't mess with it!
*/
-std::vector<NetZone*>* NetZone::get
C
hildren()
+std::vector<NetZone*>* NetZone::get
_c
hildren()
{
return children_;
}
{
return children_;
}
@@
-96,7
+96,7
@@
void NetZone::getHosts(std::vector<s4u::Host*>* whereto)
}
}
}
}
-int NetZone::get
HostC
ount()
+int NetZone::get
_host_c
ount()
{
int count = 0;
for (auto const& card : vertices_) {
{
int count = 0;
for (auto const& card : vertices_) {
@@
-142,7
+142,7
@@
sg_netzone_t sg_zone_get_by_name(const char* name)
void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto)
{
void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto)
{
- for (auto const& elem : *netzone->get
C
hildren()) {
+ for (auto const& elem : *netzone->get
_c
hildren()) {
xbt_dict_set(whereto, elem->get_cname(), static_cast<void*>(elem), nullptr);
}
}
xbt_dict_set(whereto, elem->get_cname(), static_cast<void*>(elem), nullptr);
}
}