#include <Cloner.h>
|
virtual T & | getCloned () const =0 |
|
virtual entry_t | getClonerEntry () const =0 |
|
virtual T & | getCloned (index_t i) const =0 |
| Returns an instance at index i. More...
|
|
virtual const T & | getSource () const =0 |
| Returns a reference to an instance (possibly a static one?).
|
|
virtual T & | getSource ()=0 |
| Returns a reference to an instance.
|
|
virtual size_t | count () const =0 |
|
virtual bool | drop (index_t i) const =0 |
| Remove cloned entry (experimental) More...
|
|
template<class T>
struct drain::ClonerBase< T >
- Template Parameters
-
T | - base class (ie not to be used for derived class) |
◆ index_t
Each cloned entry has an index.
User of the cloned object can use it for deleting the object before the automatical destruction takes place
◆ drop()
virtual bool drop |
( |
index_t |
i | ) |
const |
|
pure virtual |
◆ getCloned()
virtual T& getCloned |
( |
index_t |
i | ) |
const |
|
pure virtual |
The documentation for this struct was generated from the following file: