73 virtual void Combine(std::shared_ptr<Result> result) {}
82 Result(std::shared_ptr<MSGTool> MSG, std::shared_ptr<ConfigTool> c,
const TString &rname,
const TString &fname =
"")
92 std::shared_ptr<MSGTool>
MSGUser();
99 std::shared_ptr<MSGTool>
msg;
Provide virtual interface to manipulate all the results inside NAGASH.
Result & operator=(Result &&result)=delete
const TString & GetOutputFileName()
Return the name of the result.
Result & operator=(const Result &result)=delete
std::shared_ptr< MSGTool > msg
void SetOutputFileName(const TString &fileName)
Set the output file name of the result.
virtual ~Result()=default
const TString & GetResultName()
virtual void WriteToFile()
std::shared_ptr< ConfigTool > ConfigUser()
Return the internal ConfigTool.>
Toolkit * ToolkitUser()
Return the internal Toolkit.
Result(const Result &result)=delete
Result(Result &&result)=delete
std::shared_ptr< MSGTool > MSGUser()
Return the internal MSGTool.
std::shared_ptr< ConfigTool > config
virtual void Combine(std::shared_ptr< Result > result)
Return the name of the output file.
Result(std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &rname, const TString &fname="")
virtual interface to write the result to a file.