GpgResultAnalyse.h
#ifndef GPGFRONTEND_GPGRESULTANALYSE_H
#define GPGFRONTEND_GPGRESULTANALYSE_H
#include <sstream>
#include <string>
#include "core/GpgConstants.h"
namespace GpgFrontend {
class GPGFRONTEND_CORE_EXPORT GpgResultAnalyse {
public:
GpgResultAnalyse() = default;
[[nodiscard]] const std::string GetResultReport() const;
[[nodiscard]] int GetStatus() const;
void Analyse();
protected:
virtual void do_analyse() = 0;
void set_status(int m_status);
std::stringstream stream_;
int status_ = 1;
bool analysed_ = false;
};
} // namespace GpgFrontend
#endif // GPGFRONTEND_GPGRESULTANALYSE_H
GpgFrontend::GpgResultAnalyse::GetStatus
int GetStatus() const
Get the Status object.
Definition: GpgResultAnalyse.cpp:35
GpgFrontend
Definition: CoreCommonUtil.cpp:29
GpgFrontend::GpgResultAnalyse::GetResultReport
const std::string GetResultReport() const
Get the Result Report object.
Definition: GpgResultAnalyse.cpp:31
GpgFrontend::GpgResultAnalyse::set_status
void set_status(int m_status)
Set the status object.
Definition: GpgResultAnalyse.cpp:37
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37