![]() |
|
#include <Cloner.h>

Public Types | |
| typedef size_t | index_t |
| Each cloned entry has an index. | |
| typedef std::pair< index_t, T * > | entry_t |
Public Member Functions | |
| 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. | |
| 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) | |
| T | - base class (ie not to be used for derived class) |
| typedef size_t 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
|
pure virtual |
Remove cloned entry (experimental)
Implemented in Cloner< B, S >, Cloner< ImageOp, BinaryFunctorOp< F > >, Cloner< ImageOp, T >, and Cloner< ImageOp, UnaryFunctorOp< F > >.
|
pure virtual |
|
pure virtual |
Returns an instance at index i.
Returns an instance at index i.
Implemented in Cloner< B, S >, Cloner< ImageOp, BinaryFunctorOp< F > >, Cloner< ImageOp, T >, and Cloner< ImageOp, UnaryFunctorOp< F > >.
|
pure virtual |
Returns a reference to an instance (possibly a static one?).
Implemented in Cloner< B, S >, Cloner< ImageOp, BinaryFunctorOp< F > >, Cloner< ImageOp, T >, and Cloner< ImageOp, UnaryFunctorOp< F > >.
|
pure virtual |
Returns a reference to an instance.
Implemented in Cloner< B, S >, Cloner< ImageOp, BinaryFunctorOp< F > >, Cloner< ImageOp, T >, and Cloner< ImageOp, UnaryFunctorOp< F > >.
1.9.8