Newer
Older
/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* ADIOSPy.h python binding to ADIOS class
*
* Created on: Mar 13, 2017
* Author: William F Godoy godoywf@ornl.gov
*/
#ifndef ADIOS2_BINDINGS_PYTHON_SOURCE_ADIOSPY_H_
#define ADIOS2_BINDINGS_PYTHON_SOURCE_ADIOSPY_H_
#include <string>
/// \endcond
Atkins, Charles Vernon
committed
#include <adios2.h>
{
class ADIOSPy
{
public:
ADIOSPy(const std::string configFile, MPI_Comm mpiComm,
const bool debugMode);
ADIOSPy(MPI_Comm mpiComm, const bool debugMode);
ADIOSPy(const std::string configFile, const bool debugMode);
ADIOSPy(const bool debugMode);
IOPy DeclareIO(const std::string name);
private:
const bool m_DebugMode;
std::shared_ptr<adios2::ADIOS> m_ADIOS;
};
} // end namespace adios
#endif /* BINDINGS_PYTHON_SOURCE_ADIOSPY_H_ */