source: proiecte/hpl/openmpi_compiled/include/openmpi/ompi/mpi/cxx/errhandler_inln.h @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 1.3 KB
Line 
1// -*- c++ -*-
2//
3// Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
4//                         University Research and Technology
5//                         Corporation.  All rights reserved.
6// Copyright (c) 2004-2005 The University of Tennessee and The University
7//                         of Tennessee Research Foundation.  All rights
8//                         reserved.
9// Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
10//                         University of Stuttgart.  All rights reserved.
11// Copyright (c) 2004-2005 The Regents of the University of California.
12//                         All rights reserved.
13// $COPYRIGHT$
14//
15// Additional copyrights may follow
16//
17// $HEADER$
18//
19
20#if 0 /* OMPI_ENABLE_MPI_PROFILING */
21
22inline PMPI::Errhandler::Errhandler(const PMPI::Errhandler& e)
23  : handler_fn(e.handler_fn), mpi_errhandler(e.mpi_errhandler) { }
24
25inline PMPI::Errhandler&
26PMPI::Errhandler::operator=(const PMPI::Errhandler& e)
27{
28  handler_fn = e.handler_fn;
29  mpi_errhandler = e.mpi_errhandler;
30  return *this;
31}
32
33inline bool
34PMPI::Errhandler::operator==(const PMPI::Errhandler &a)
35{
36  return (MPI2CPP_BOOL_T)(mpi_errhandler == a.mpi_errhandler);
37}
38
39#endif
40
41inline void
42MPI::Errhandler::Free()
43{
44  (void)MPI_Errhandler_free(&mpi_errhandler);
45}
46
47
48
49
Note: See TracBrowser for help on using the repository browser.