NAGASH
0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
include
NAGASH
Tool.h
Go to the documentation of this file.
1
//***************************************************************************************
4
//***************************************************************************************
5
61
#pragma once
62
63
#include "
NAGASH/Global.h
"
64
#include "
NAGASH/MSGTool.h
"
65
66
namespace
NAGASH
67
{
71
class
Tool
72
{
73
protected
:
76
Tool
(std::shared_ptr<MSGTool> MSG) :
msg
(MSG) {}
77
Tool
() =
delete
;
78
Tool
(
const
Tool
&tool) =
delete
;
79
Tool
(
Tool
&&tool) =
delete
;
80
Tool
&
operator=
(
const
Tool
&tool) =
delete
;
81
Tool
&
operator=
(
Tool
&&tool) =
delete
;
82
virtual
~Tool
() =
default
;
83
85
std::shared_ptr<MSGTool>
MSGUser
();
86
87
private
:
88
std::shared_ptr<MSGTool>
msg
;
89
};
90
91
inline
std::shared_ptr<MSGTool>
Tool::MSGUser
() {
return
msg
; }
92
}
// namespace NAGASH
Global.h
Some global definitions.
MSGTool.h
NAGASH::Tool
Provide interface for all tools in NAGASH.
Definition
Tool.h:72
NAGASH::Tool::Tool
Tool(const Tool &tool)=delete
NAGASH::Tool::Tool
Tool()=delete
NAGASH::Tool::msg
std::shared_ptr< MSGTool > msg
Definition
Tool.h:88
NAGASH::Tool::~Tool
virtual ~Tool()=default
NAGASH::Tool::MSGUser
std::shared_ptr< MSGTool > MSGUser()
return the MSGTool inside.
Definition
Tool.h:91
NAGASH::Tool::Tool
Tool(std::shared_ptr< MSGTool > MSG)
Constructor.
Definition
Tool.h:76
NAGASH::Tool::operator=
Tool & operator=(const Tool &tool)=delete
NAGASH::Tool::Tool
Tool(Tool &&tool)=delete
NAGASH::Tool::operator=
Tool & operator=(Tool &&tool)=delete
NAGASH
Definition
Analysis.h:232
Generated on Mon Sep 2 2024 14:24:32 for NAGASH by
1.9.8