X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f2c9678ae1fbcdc391c1aa62ca7f6ea7aa8b4bdd..96c00b83efee36af986777b823c79938297ca17d:/src/smpi/smpi_keyvals.hpp diff --git a/src/smpi/smpi_keyvals.hpp b/src/smpi/smpi_keyvals.hpp index 7f461ba621..92f3384df0 100644 --- a/src/smpi/smpi_keyvals.hpp +++ b/src/smpi/smpi_keyvals.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2010, 2013-2017. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2010-2017. 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. */ @@ -7,13 +6,10 @@ #ifndef SMPI_KEYVALS_HPP_INCLUDED #define SMPI_KEYVALS_HPP_INCLUDED -#include "private.h" -#include -#include - -namespace simgrid{ -namespace smpi{ +#include "smpi/smpi.h" +#include "xbt/ex.hpp" +#include typedef struct smpi_delete_fn{ MPI_Comm_delete_attr_function *comm_delete_fn; @@ -32,8 +28,12 @@ typedef struct s_smpi_key_elem { smpi_delete_fn delete_fn; int refcount; } s_smpi_mpi_key_elem_t; + typedef struct s_smpi_key_elem *smpi_key_elem; +namespace simgrid{ +namespace smpi{ + class Keyval{ private: std::unordered_map attributes_;