bpp-core3
3.0.0
Clonable.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: The Bio++ Development Group
2
//
3
// SPDX-License-Identifier: CECILL-2.1
4
5
#ifndef BPP_CLONABLE_H
6
#define BPP_CLONABLE_H
7
8
53
namespace
bpp
54
{
63
class
Clonable
64
{
65
public
:
66
virtual
~Clonable
() =
default
;
67
71
virtual
Clonable
*
clone
()
const
= 0;
72
};
73
}
// namespace bpp
74
#endif // BPP_CLONABLE_H
bpp
Definition:
ApplicationTools.h:22
bpp::Clonable::~Clonable
virtual ~Clonable()=default
bpp::Clonable::clone
virtual Clonable * clone() const =0
Create a copy of this object and send a pointer to it.
bpp::Clonable
The Clonable interface (allow an object to be cloned).
Definition:
Clonable.h:63
Bpp
Clonable.h
Generated on Wed Jul 3 2024 10:53:55 for bpp-core3 by
1.8.13