Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
59603d2831a30b0fdafb6a3b4f9a9e8767d389f3
[simgrid.git] / include / smpi / forward.hpp
1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMGRID_SMPI_FORWARD_HPP
7 #define SIMGRID_SMPI_FORWARD_HPP
8
9
10 #ifdef __cplusplus
11
12 #include <boost/intrusive_ptr.hpp>
13 namespace simgrid {
14 namespace smpi {
15
16 class Comm;
17 class Datatype;
18 class Group;
19 class Info;
20 class Op;
21 class Request;
22 class Topo;
23 class Topo_Cart;
24 class Topo_Graph;
25 class Topo_Dist_Graph;
26 class Type_Contiguous;
27 class Type_Hindexed;
28 class Type_Hvector;
29 class Type_Indexed;
30 class Type_Struct;
31 class Type_Vector;
32 class Win;
33
34 }
35 }
36
37 typedef simgrid::smpi::Comm SMPI_Comm;
38 typedef simgrid::smpi::Datatype SMPI_Datatype;
39 typedef simgrid::smpi::Group SMPI_Group;
40 typedef simgrid::smpi::Info SMPI_Info;
41 typedef simgrid::smpi::Op SMPI_Op;
42 typedef simgrid::smpi::Request SMPI_Request;
43 typedef simgrid::smpi::Topo SMPI_Topology;
44 typedef simgrid::smpi::Topo_Cart SMPI_Cart_topology;
45 typedef simgrid::smpi::Topo_Dist_Graph SMPI_Dist_Graph_topology;
46 typedef simgrid::smpi::Topo_Graph SMPI_Graph_topology;
47 typedef simgrid::smpi::Win SMPI_Win;
48 typedef simgrid::smpi::Type_Contiguous SMPI_Type_Contiguous;
49 typedef simgrid::smpi::Type_Hindexed SMPI_Type_Hindexed;
50 typedef simgrid::smpi::Type_Hvector SMPI_Type_Hvector;
51 typedef simgrid::smpi::Type_Indexed SMPI_Type_Indexed;
52 typedef simgrid::smpi::Type_Struct SMPI_Type_Struct;
53 typedef simgrid::smpi::Type_Vector SMPI_Type_Vector;
54
55 #else
56
57 typedef struct SMPI_Comm SMPI_Comm;
58 typedef struct SMPI_Datatype SMPI_Datatype;
59 typedef struct SMPI_Group SMPI_Group;
60 typedef struct SMPI_Info SMPI_Info;
61 typedef struct SMPI_Op SMPI_Op;
62 typedef struct SMPI_Request SMPI_Request;
63 typedef struct SMPI_Topology SMPI_Topology;
64 typedef struct SMPI_Win SMPI_Win;
65 typedef struct SMPI_Graph_topology SMPI_Graph_topology;
66 typedef struct SMPI_Cart_topology SMPI_Cart_topology;
67 typedef struct SMPI_Dist_Graph_topology SMPI_Dist_Graph_topology;
68 typedef struct SMPI_Type_Contiguous SMPI_Type_Contiguous;
69 typedef struct SMPI_Type_Hindexed SMPI_Type_Hindexed;
70 typedef struct SMPI_Type_Hvector SMPI_Type_Hvector;
71 typedef struct SMPI_Type_Indexed SMPI_Type_Indexed;
72 typedef struct SMPI_Type_Struct SMPI_Type_Struct;
73 typedef struct SMPI_Type_Vector SMPI_Type_Vector;
74
75 #endif
76
77 #endif