Data:clone ported to minor

minor tweaks

--HG--
branch : minor
This commit is contained in:
Raidho
2017-02-10 06:19:53 +03:00
parent bc6a2db22f
commit 6ea1ebde9c
22 changed files with 203 additions and 0 deletions
+4
View File
@@ -45,6 +45,10 @@ public:
**/
virtual ~Data() {}
/**
* Creates a duplicate of Data derived class instance.
**/
virtual Data *clone() const = 0;
/**
* Gets a pointer to the data. This pointer will obviously not
* be valid if the Data object is destroyed.