/***********
* Classes *
***********/
-class As;
+
+/* Note: As and RoutingEdge are declard as struct instead of class, to keep
+ compatibility with C files where they are mentioned. */
+struct As;
typedef As *AsPtr;
class RoutingModelDescription;
typedef RoutingModelDescription *RoutingModelDescriptionPtr;
-class RoutingEdge;
+struct RoutingEdge;
typedef RoutingEdge *RoutingEdgePtr;
class Onelink;
* @brief The Autonomous System (AS) routing interface
* @details [TODO]
*/
-class As {
+struct As {
public:
xbt_dynar_t p_indexNetworkElm;
xbt_dict_t p_bypassRoutes; /* store bypass routes */
* @brief A routing edge
* @details [long description]
*/
-class RoutingEdge {
+struct RoutingEdge {
public:
~RoutingEdge() { xbt_free(p_name);};
AsPtr p_rcComponent;