25 (void) MPI_Info_create(&newinfo);
30 MPI::Info::Delete(
const char* key)
32 (void)MPI_Info_delete(mpi_info, const_cast<char *>(key));
36 MPI::Info::Dup()
const
39 (void)MPI_Info_dup(mpi_info, &newinfo);
46 (void) MPI_Info_free(&mpi_info);
50 MPI::Info::Get(
const char* key,
int valuelen,
char* value)
const
53 (void)MPI_Info_get(mpi_info, const_cast<char *>(key), valuelen, value, &flag);
54 return OPAL_INT_TO_BOOL(flag);
58 MPI::Info::Get_nkeys()
const
61 MPI_Info_get_nkeys(mpi_info, &nkeys);
66 MPI::Info::Get_nthkey(
int n,
char* key)
const
68 (void) MPI_Info_get_nthkey(mpi_info, n, key);
72 MPI::Info::Get_valuelen(
const char* key,
int& valuelen)
const
75 (void) MPI_Info_get_valuelen(mpi_info, const_cast<char *>(key), &valuelen, &flag);
76 return OPAL_INT_TO_BOOL(flag);
80 MPI::Info::Set(
const char* key,
const char* value)
82 (void) MPI_Info_set(mpi_info, const_cast<char *>(key),
const_cast<char *
>(value));