Skip to content
Snippets Groups Projects
Transform.h 958 B
Newer Older
 * Distributed under the OSI-approved Apache License, Version 2.0.  See
 * accompanying file Copyright.txt for details.
 *
 *
 *  Created on: Oct 17, 2016
 *      Author: wfg
 */

#ifndef TRANSFORM_H_
#define TRANSFORM_H_
/// \cond EXCLUDE_FROM_DOXYGEN
#include <string>
#include <vector>
/// \endcond

 * Parent class that defines data variable transformations. Used as a member of
 * CVariable
    const std::string m_Method;
    /**
     * Initialize parent method
     * @param method zlib, bzip2, szip
     */
    Transform(std::string method);
    virtual ~Transform() = default;
    virtual void Compress(const std::vector<char> &bufferIn,
                          std::vector<char> &bufferOut);

    virtual void Decompress(const std::vector<char> &bufferIn,
                            std::vector<char> &bufferOut);
} // end namespace adios
#endif /* TRANSFORM_H_ */