-/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
Type* type_; /* Type of this container */
Container* father_;
std::map<std::string, Container*> children_;
- sg_netpoint_t netpoint_ = nullptr;
+ kernel::routing::NetPoint* netpoint_ = nullptr;
static Container* byNameOrNull(std::string name);
static Container* byName(std::string name);
- std::string getName() { return name_; }
- const char* getCname() { return name_.c_str(); }
- long long int getId() { return id_; }
+ std::string get_name() { return name_; }
+ const char* get_cname() { return name_.c_str(); }
+ long long int get_id() { return id_; }
void removeFromParent();
void logCreation();
void logDestruction();