+struct RoutingEdgeWrapper : public RoutingEdge {
+public:
+ RoutingEdgeWrapper(RoutingEdge *re) : p_re(re){}
+ ~RoutingEdgeWrapper(){}
+ int getId() {return p_re->getId();}
+ int *getIdPtr() {return p_re->getIdPtr();}
+ void setId(int id) {p_re->setId(id);}
+ char *getName() {return p_re->getName();}
+ As *getRcComponent() {return p_re->getRcComponent();}
+ e_surf_network_element_type_t getRcType() {return p_re->getRcType();}
+private:
+ RoutingEdge *p_re;
+};
+
+/** @ingroup SURF_routing_interface
+ * @brief Link of lenght 1, alongside with its source and destination. This is mainly usefull in the ns3 bindings