/* * GzipPostProcessing.hh * * Created on: 25 sept. 2013 * Author: CS */ #ifndef GZIPPOSTPROCESSING_HH_ #define GZIPPOSTPROCESSING_HH_ #include #include "PostProcessing.hh" namespace postprocessing { class GzipPostProcessing: public PostProcessing { public: GzipPostProcessing(); virtual ~GzipPostProcessing(); /** * Applies post-processing. */ void apply(PostProcessingAble* pOutput); /** * Compresses a file. */ static std::string gzip(std::string& pFileName, const std::string& pOutDir = std::string()); /** * Registers related node and process. */ void registerChildList( std::map>& childList); private: /** * Artificial attribute to force self-registering to post-processing factory */ static std::string _key; /** * Output file extension. */ static const std::string EXTENSION; }; } /* namespace postprocessing */ #endif /* GZIPPOSTPROCESSING_HH_ */