Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish removing simix.h from C files, and avoid the use of Ptr when not needed
[simgrid.git] / src / smpi / smpi_status.hpp
1 /* Copyright (c) 2009-2010, 2012-2017. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SMPI_STATUS_HPP
8 #define SMPI_STATUS_HPP
9
10 #include "smpi/smpi.h"
11
12 namespace simgrid{
13 namespace smpi{
14
15 //Status has to stay in C, as its fields are public.
16 //So status class only defines static methods to handle the C struct.
17 class Status{
18 public:
19 static void empty(MPI_Status * status);
20 static int get_count(MPI_Status * status, MPI_Datatype datatype);
21 };
22
23
24 }
25 }
26 #endif